all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Damien Deville <damien.deville@netasq.com>
Cc: emacs-devel@gnu.org
Subject: Re: Strange indent of preprocessor lines in c-mode
Date: Mon, 13 Oct 2008 18:47:40 +0000	[thread overview]
Message-ID: <20081013184740.GA3148@muc.de> (raw)
In-Reply-To: <48EC6D01.5070600@netasq.com>

Hi, Damien,

On Wed, Oct 08, 2008 at 10:19:13AM +0200, Damien Deville wrote:
> Hi,

> I noticed the following weirdness on a checkout from todays emacs 23 cvs.

> - Consider the program given a the end of the mail
> - open it with emacs -q
> - activate c-mode
> - Select all lines
> - launch indent-region
> - noticed how the #ifdef and #endif are ended by a "\" as if 
> c-backslash-region was called.

> I never noticed it before, Is it normal or is it a bug ? If it is normal 
> how can it be disabled ?

It's a bug.  I've just committed a fix to the CVS at Savannah.  The
faulty file was ..../lisp/progmodes/cc-cmds.el.

Could you please try this out and confirm that the bug has been fixed.
Thanks!

And thanks indeed for such a concise, high-quality bug report.

> -- 
> Damien Deville

-- 
Alan Mackenzie (Nuremberg, Germany).




  reply	other threads:[~2008-10-13 18:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08  8:19 Strange indent of preprocessor lines in c-mode Damien Deville
2008-10-13 18:47 ` Alan Mackenzie [this message]
2008-10-16  8:41   ` Damien Deville

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=20081013184740.GA3148@muc.de \
    --to=acm@muc.de \
    --cc=damien.deville@netasq.com \
    --cc=emacs-devel@gnu.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.