emacs-devel
[Top][All Lists]
Advanced

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

A bad indentation made by C


From: Lennart Borgman (gmail)
Subject: A bad indentation made by C
Date: Sun, 22 Apr 2007 13:28:25 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666

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?






reply via email to

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