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: Tue, 13 Mar 2007 23:23:46 -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 1173842793 13624 80.91.229.12 (14 Mar 2007 03:26:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 03:26:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 14 04:26:26 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 1HRK89-0003Lm-DJ for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 04:26:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRK8z-0006BE-7L for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2007 22:27:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRK8H-0005tR-0D for emacs-devel@gnu.org; Tue, 13 Mar 2007 23:26:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRK8G-0005t5-Bp for emacs-devel@gnu.org; Tue, 13 Mar 2007 23:26:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRK8G-0005sx-5u for emacs-devel@gnu.org; Tue, 13 Mar 2007 22:26:32 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HRK7O-0004Lo-N6 for emacs-devel@gnu.org; Tue, 13 Mar 2007 23:25:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HRK5a-000751-8V; Tue, 13 Mar 2007 23:23:46 -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:67885 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 -------