[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redundant space after run 'c-indent-new-comment-line'
From: |
Alan Mackenzie |
Subject: |
Re: redundant space after run 'c-indent-new-comment-line' |
Date: |
16 Feb 2007 08:16:46 +0100 |
Date: |
Fri, 16 Feb 2007 08:31:32 +0000 |
User-agent: |
Mutt/1.5.9i |
On Fri, Feb 16, 2007 at 10:37:07AM +0800, William Xue wrote:
> On Fri, 16 Feb 2007 06:37:34 +0800, Alan Mackenzie <address@hidden> wrote:
> >Hi, William!
> >On Wed, Feb 14, 2007 at 03:24:54PM +0800, William Xue wrote:
> >>First, 'M-;' make a c style comment in a new line in a .h file, it
> >>prints
> >>'/* */', and the cursor blinks at the 2nd space char.
> >>Then, 'M-J' to run 'c-indent-new-comment-line', and it gives
> >>'/*
> >> * */' and the cursor blinks at the last '*', but I think it should be
> >>blinks at the 2nd space in the second line.
> >I think the essence of this bug is that point ends up further to the
> >right after the M-j that where it started. An M-j should NEVER do this -
> >normally, of course, point ends up at the far left, just after the
> >comment prefix.
> >I've committed a fix to ..../progmodes/cc-cmds.el. Could you update your
> >Emacs and try it out, please.
> It seems not to work, even start emacs with -Q.
> When did you commit the fix? I made a update about 12 hours ago and now
> there is nothing newer.
Revision 1.54 of .../progmodes/cc-cmds.el, about 8 hours ago, at ~22:30
GMT. I've just had a look at http://savannah.gnu.org, and it's
definitely there now.
> William
--
Alan.