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

Dany Page page at astro.unam.mx
Sat Mar 6 22:28:17 EST 2021


Thanx !

> On 6 Mar 2021, at 21:08, Nathaniel Cunningham <nathaniel.cunningham at gmail.com> wrote:
> 
> 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!
> 
> Nathaniel
> 
> On Sat, Mar 6, 2021 at 7:31 PM Dany Page <page at astro.unam.mx <mailto: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 <mailto:MacOSX-Emacs at email.esm.psu.edu>
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs <https://email.esm.psu.edu/mailman/listinfo/macosx-emacs>
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx <http://dir.gmane.org/gmane.emacs.macintosh.osx>
> 
> _____________________________________________________________
> 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/b32894ce/attachment.htm>


More information about the MacOSX-Emacs mailing list