all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lisp/progmodes/cc-styles.el indentation broken in ellemtel mode
@ 2008-07-15 12:44 Joachim Nilsson
  2008-07-16 15:25 ` Andrew W. Nosenko
  0 siblings, 1 reply; 12+ messages in thread
From: Joachim Nilsson @ 2008-07-15 12:44 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Hi!

The Ellemtel C/C++ indentation engine has been broken on trunk since 
around March[1].  This is a followup notice.

It fails to indent function arguments that are on a new line. Like this:

	printf ("foo %d\n",
	arg);

instead of lining them up under the first argument, like this:

	printf ("foo %d\n",
	        arg);

The attached patch solves the problem and I have, since March, not found
any other problems with using this patch.

Regards
 /Jocke

[1] - http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg02332.html

--  
Joachim Nilsson :: <joachim AT vmlinux DOT org>
+46(0)21-123348 :: <http://vmlinux.org/joachim>

[-- Attachment #2: cc-styles.diff --]
[-- Type: text/plain, Size: 662 bytes --]

Index: lisp/progmodes/cc-styles.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-styles.el,v
retrieving revision 1.51
diff -u -r1.51 cc-styles.el
--- lisp/progmodes/cc-styles.el	6 May 2008 07:18:15 -0000	1.51
+++ lisp/progmodes/cc-styles.el	12 Jul 2008 18:04:23 -0000
@@ -169,8 +169,7 @@
                          (case-label           . +)
                          (access-label         . -)
                          (inclass              . ++)
-			 (inline-open          . 0)
-			 (arglist-cont-nonempty))))
+			 (inline-open          . 0))))
 
     ("linux"
      (c-basic-offset  . 8)

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

end of thread, other threads:[~2008-08-01 10:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 12:44 lisp/progmodes/cc-styles.el indentation broken in ellemtel mode Joachim Nilsson
2008-07-16 15:25 ` Andrew W. Nosenko
2008-07-17  0:53   ` Joachim Nilsson
2008-07-27 17:37     ` For 23.1 release ... please. (Was: Re: lisp/progmodes/cc-styles.el indentation broken in ellemtel mode) Joachim Nilsson
2008-07-31 14:02       ` For 23.1 release ... please Chong Yidong
2008-04-04 16:47         ` cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed? Joachim Nilsson
2008-07-31 14:10           ` bug#113: marked as done (cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed?) Emacs bug Tracking System
2008-07-31 14:08         ` For 23.1 release ... please Eric Lilja
2008-07-31 14:24           ` Chong Yidong
2008-08-01  5:19             ` Joachim Nilsson
2008-08-01 10:07               ` Eric Lilja
2008-08-01 10:38       ` For 23.1 release ... please. (Was: Re: lisp/progmodes/cc-styles.el indentation broken in ellemtel mode) Andrew W. Nosenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.