all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed?
@ 2008-04-04 16:47 Joachim Nilsson
  0 siblings, 0 replies; 3+ messages in thread
From: Joachim Nilsson @ 2008-04-04 16:47 UTC (permalink / raw)
  To: bug-gnu-emacs

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

Hi!

The bug still exists on CVS HEAD.  I'm making another plead,
this time including a patch to fix the problem (described in
detail below).  Please note that this fix only affects the
Ellemtel style of cc-mode, so it is quite safe to apply.

--- lisp/progmodes/cc-styles.el 24 Feb 2008 10:08:50 -0000      1.49
+++ lisp/progmodes/cc-styles.el 4 Apr 2008 16:42:09 -0000
@@ -171,8 +171,7 @@
                          (case-label           . +)
                          (access-label         . -)
                          (inclass              . ++)
-                        (inline-open          . 0)
-                        (arglist-cont-nonempty))))
+                         (inline-open          . 0))))
 
     ("linux"
      (c-basic-offset  . 8)

Regards
 /Jocke

-------- Original Message --------

Subject: 	

cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed?

Date: 	

Wed, 26 Mar 2008 09:05:42 +0100

From: 	

Joachim Nilsson <joachim.nilsson@vmlinux.org>

To: 	

bug-gnu-emacs@gnu.org


Hi,

I have found that the cc-mode Ellemtel indentation has become broken in recent CVS head builds.

It gives:

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

instead of:

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

Either cc-mode has changed or (arglist-cont-nonempty) in Emacs has.  I found that if I remove (arglist-cont-nonempty)
from the definition of ellemtel in lisp/progmodes/cc-styles.el it works again.

Regards
 /Jocke




[-- Attachment #2: joachim_nilsson.vcf --]
[-- Type: text/x-vcard, Size: 167 bytes --]

begin:vcard
fn:Joachim Nilsson
n:Nilsson;Joachim
email;internet:joachim.nilsson@vmlinux.org
x-mozilla-html:TRUE
url:http://vmlinux.org/joachim/
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 3+ messages in thread
* cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed?
@ 2008-03-26  8:05 Joachim Nilsson
  0 siblings, 0 replies; 3+ messages in thread
From: Joachim Nilsson @ 2008-03-26  8:05 UTC (permalink / raw)
  To: bug-gnu-emacs

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

Hi,

I have found that the cc-mode Ellemtel indentation has become broken in recent CVS head builds.

It gives:

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

instead of:

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

Either cc-mode has changed or (arglist-cont-nonempty) in Emacs has.  I found that if I remove (arglist-cont-nonempty)
from the definition of ellemtel in lisp/progmodes/cc-styles.el it works again.

Regards
 /Jocke


[-- Attachment #2: joachim_nilsson.vcf --]
[-- Type: text/x-vcard, Size: 167 bytes --]

begin:vcard
fn:Joachim Nilsson
n:Nilsson;Joachim
email;internet:joachim.nilsson@vmlinux.org
x-mozilla-html:TRUE
url:http://vmlinux.org/joachim/
version:2.1
end:vcard


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

end of thread, other threads:[~2008-04-22 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9993.1207327680.18990.bug-gnu-emacs@gnu.org>
2008-04-22 23:51 ` cc-mode in Emacs CVS head: Ellemtel indent broken or (arglist-cont-nonempty) recently changed? yoshinori.kawahara
2008-04-04 16:47 Joachim Nilsson
  -- strict thread matches above, loose matches on Subject: below --
2008-03-26  8:05 Joachim Nilsson

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.