unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A bad indentation made by C
@ 2007-04-22 11:28 Lennart Borgman (gmail)
  2007-04-22 12:02 ` Alan Mackenzie
  0 siblings, 1 reply; 8+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-22 11:28 UTC (permalink / raw)
  To: Emacs Devel; +Cc: Eric Lilja

but for php-mode.el. The php-mode I am using/distributing is derived 
from c-mode. It uses c-indent-line. That works in many circumstances but 
not all.

A rather annoying indentation is the following

   for (;;) {
    }

This happens only if the for-loop is on top level, but that happens all 
the time in PHP. Maybe that little thing could be changed in 
c-indent-line? Or maybe someone can help me a bit to fix this in 
php-mode.el?

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

end of thread, other threads:[~2007-04-23  5:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 11:28 A bad indentation made by C Lennart Borgman (gmail)
2007-04-22 12:02 ` Alan Mackenzie
2007-04-22 12:42   ` Lennart Borgman (gmail)
2007-04-22 14:17     ` Alan Mackenzie
2007-04-22 14:50       ` Lennart Borgman (gmail)
2007-04-22 17:50         ` Alan Mackenzie
2007-04-23  4:49         ` Stefan Monnier
2007-04-23  5:29           ` Lennart Borgman (gmail)

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).