all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: xemacs-beta@xemacs.org, Stefan Monnier <monnier@IRO.UMontreal.CA>,
	emacs-devel@gnu.org
Subject: Re: C Mode possibility: optionally disabling K&R function headers. WDYT?
Date: Fri, 9 Dec 2011 14:00:12 +0000	[thread overview]
Message-ID: <20111209140012.GB4146@acm.acm> (raw)
In-Reply-To: <8762hq1h0a.fsf@uwakimon.sk.tsukuba.ac.jp>

On Fri, Dec 09, 2011 at 01:55:01PM +0900, Stephen J. Turnbull wrote:
> Stefan Monnier writes:
>  > > Solving this bug is difficult.  One way would be just to disable K&R in
>  > > C Mode, except when explicitly enabled by the user.  After all, K&R
>  > > parameters have been obsolete for over 10 years now.

>  > > The key sequnce to toggle it would be C-c C-k.

>  > And I'd rather keep it ON by default for 24.1.

> XEmacs will make its own judgment on defaults for XEmacs. :-)  I don't
> have an opinion at the moment.

:-)

> I don't understand why this is a problem though.  Does K&R allow
> typedef declarations in parameter lists?

No, but that's a poor criterion for detecting the absence of K&R.  That
typedef could just as well be a variable declaration.

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2011-12-09 14:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-08 11:25 C Mode possibility: optionally disabling K&R function headers. WDYT? Alan Mackenzie
2011-12-08 13:40 ` Stefan Monnier
2011-12-09  4:55   ` Stephen J. Turnbull
2011-12-09 14:00     ` Alan Mackenzie [this message]
2011-12-09 13:53   ` Alan Mackenzie
2011-12-09 21:11     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111209140012.GB4146@acm.acm \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=stephen@xemacs.org \
    --cc=xemacs-beta@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.