GNU bug report logs - #17895
24.3.91; electric-indent-mode not quite right with comments in fortran-mode

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Tue, 1 Jul 2014 21:32:01 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 17895 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Roland Winkler" <winkler <at> gnu.org>
Cc: 17895 <at> debbugs.gnu.org
Subject: Re: 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
[ 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




This bug report was last modified 9 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.