unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14448: Wrong indentation in comment lines for F90 mode?
@ 2013-05-23 10:51 Angelo Graziosi
  2013-05-23 17:04 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2013-05-23 10:51 UTC (permalink / raw)
  To: 14448

Start Emacs with

$ emacs -Q &

then "C-x C-f foo.f90". Now type "!" to start a comment line and then 
type M-j to produce other comment lines. The result is as follow:


!
   !
   !
   !
   !

from the second line, the comment is indented. Repeating the same steps 
for a C++ mode file, "C-x C-f foo.cpp", the result is

//
//
//
//
//

without indentation. I would expect the same for F90 mode...

So, is the behavior in F90 mode to be expected (on purpose) or is it wrong?


Ciao,
  Angelo.





^ permalink raw reply	[flat|nested] 8+ messages in thread
* bug#5595: Commenting in F90
@ 2010-02-18 10:30 Angelo Graziosi
  2022-02-05 23:44 ` bug#14448: Wrong indentation in comment lines for F90 mode? Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2010-02-18 10:30 UTC (permalink / raw)
  To: 5595

I do not know if this is a bug but it looks strange to me.

Start Emacs with:

$ emacs -Q &

Then visit a new file:

C-x C-f foo.f90

Type '!' (it is at line 1, column 0 in Emacs).

Then continue to comment: C-M-j. The new '!' is at line 2, column 2 and 
not at line 2, column 0, i.e. below the previous '!', as one expects (at 
least me!). In other word the second '!' is indended.

Why this?

Ciao,
Angelo.







^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-05 23:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23 10:51 bug#14448: Wrong indentation in comment lines for F90 mode? Angelo Graziosi
2013-05-23 17:04 ` Glenn Morris
2013-05-23 20:00   ` Angelo Graziosi
2013-05-25  3:23     ` Stefan Monnier
2013-05-25 11:24       ` Angelo Graziosi
2013-05-26  3:09       ` Glenn Morris
2013-05-26 18:36         ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2010-02-18 10:30 bug#5595: Commenting in F90 Angelo Graziosi
2022-02-05 23:44 ` bug#14448: Wrong indentation in comment lines for F90 mode? Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).