bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17895: 24.3.91; electric-indent-mode not quite right with comments i


From: Stefan Monnier
Subject: bug#17895: 24.3.91; electric-indent-mode not quite right with comments in fortran-mode
Date: Tue, 01 Jul 2014 18:47:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

[ Don't know enough about Fortran to know what is "insert a multiline
  comment" in this context, neither do I know what is a "multiline
  statement" or why it would "require fortran-continuation-string", so
  I'll skip this part of your bug-report.  Presumably Glenn will be able
  to give you a more useful answer in this area.  ]

> PS: It seems to me that in fortran-mode the command
> indent-for-tab-command bound to TAB is better suited to provide the
> proper indentation *after* typing, say, fortran-comment-line-start
> or fortran-continuation-string in column 0 of a new line.

Maybe a way to fix this problem, then, would be to make fortran's
indent-line-function indent to column 0 when called on an empty line in
one of those contexts.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]