From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [christensenthomas@gmail.com: C indentation (problem)] Date: Mon, 19 Mar 2007 01:14:54 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1174281448 10906 80.91.229.12 (19 Mar 2007 05:17:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2007 05:17:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: bug-cc-mode@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 19 06:17:20 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HTAFB-0000A5-Ve for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 06:17:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTAGc-0006Jq-Ov for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 00:18:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTAGF-0005hZ-IK for emacs-devel@gnu.org; Mon, 19 Mar 2007 01:18:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTAGE-0005gJ-Iw for emacs-devel@gnu.org; Mon, 19 Mar 2007 01:18:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTAGE-0005fW-95 for emacs-devel@gnu.org; Mon, 19 Mar 2007 00:18:22 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTAEn-0003ia-Q0 for emacs-devel@gnu.org; Mon, 19 Mar 2007 01:16:54 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HTACs-0003QX-6g; Mon, 19 Mar 2007 01:14:54 -0400 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68076 Archived-At: 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 To: emacs-pretest-bug@gnu.org Date: Tue, 13 Mar 2007 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): 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: d SPC f o o ( ) SPC { } SPC SPC SPC C-e b a t r r ( ) ; C-x C-s C-a C-SPC C-SPC M-w M-x e m a - r p b C-g 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 emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug ------- End of forwarded message -------