[OS X Emacs] <enter> key in fortran mode

Nathaniel Cunningham nathaniel.cunningham at gmail.com
Sat Mar 6 22:08:56 EST 2021

Hi Dany,

In fortran-mode in Aquamacs, getting help on the <return> key -- via C-h k
<return> -- gives some details of what the key does including:

If ‘electric-indent-mode’ is enabled, this indents the final new line
that it adds, and reindents the preceding line.  To just insert
a newline, use M-x electric-indent-just-newline.

I hope that helps!


On Sat, Mar 6, 2021 at 7:31 PM Dany Page <page at astro.unam.mx> wrote:

> I just got a new mac in installed Aquamacs.
> It does something weird in fortran mode:
> when hitting the <enter> key it opens a new line
> AND introduce some tabs, both in the new lines and in the previous line.
> How do I get rid of this so that <enter> ONLY opens a new line and moves
> the cursor
> at the beginning of this line ?
> Thanx, Dany
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20210306/070517a1/attachment.htm>

More information about the MacOSX-Emacs mailing list