emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: C indentation (problem)]


From: Richard Stallman
Subject: address@hidden: C indentation (problem)]
Date: 2007年3月13日 23:23:46 -0400

Would someone please DTRT and ack?
------- Start of forwarded message -------
X-Spam-Status: No, score=1.4 required=5.0 tests=SPF_NEUTRAL,UNPARSEABLE_RELAY 
 autolearn=no version=3.1.0
From: Thomas Christensen <address@hidden>
To: address@hidden
Date: 2007年3月13日 07:19:11 +0100 (CET)
Subject: C indentation (problem)
Hi emacs-pretest-bug,
In the emacs pretest I have indentation problems running php-mode.
The indentation breaks if I put in a php opening tag, otherwise it works
fine. I have tracked the source of the problem to the new c-mode
which php-mode inherits.
I am not sure if it's a bug or the ancient php-mode just needs to
accommodate for the new emacs.
This is the indentation in c-mode (it is the same in php-mode):
<? php
void foo() {
 bar();
 }
?>
the closing bracket aligns with the text in the php tag.
If this is not a bug, I would appreciate any information of how to
tweak c-mode settings to eliminate this closing indentation.
Sincerely
 Thomas
In GNU Emacs 22.0.95.6 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007年03月12日 on toshiba
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--without-toolkit-scroll-bars''
Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: en_DK.UTF-8
 locale-coding-system: utf-8
 default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
 show-paren-mode: t
 iswitchb-mode: t
 tooltip-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 auto-compression-mode: t
 line-number-mode: t
 transient-mark-mode: t
 abbrev-mode: t
Recent input:
<backspace> d SPC f o o ( ) SPC { <return> } <right> 
<up> <left> <up> <left> <left> <left> <down> <up> SPC 
SPC SPC <down> <tab> <down> <tab> <up> C-e <return> 
<tab> b a t r <backspace> <backspace> r ( ) ; <up> 
<tab> <down> <tab> <down> <tab> <down> C-x C-s <up> 
<up> <up> <up> C-a C-SPC C-SPC <down> <down> <down> 
<down> <down> <down> <down> M-w M-x e m a <tab> - <backspace> 
r <backspace> p <tab> <backspace> b <tab> C-g <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Loading paren...done
Loading advice...done
end
For information about the GNU Project and its goals, type C-h C-p.
(New file) [2 times]
Wrote /home/thomasc/test.c
Mark set
Mark activated
Quit [2 times]
Loading emacsbug...done
_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

reply via email to

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

AltStyle によって変換されたページ (->オリジナル) /