emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11165: closed (24.0.95; c-indent-new-comment-line bug or feature?)


From: GNU bug Tracking System
Subject: bug#11165: closed (24.0.95; c-indent-new-comment-line bug or feature?)
Date: Fri, 25 Oct 2019 20:35:02 +0000

Your message dated Fri, 25 Oct 2019 20:34:05 +0000
with message-id <20191025203405.GA24064@ACM>
and subject line Re: bug#11165: 24.0.95; c-indent-new-comment-line bug or 
feature?
has caused the debbugs.gnu.org bug report #11165,
regarding 24.0.95; c-indent-new-comment-line bug or feature?
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
11165: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11165
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.95; c-indent-new-comment-line bug or feature? Date: Wed, 04 Apr 2012 02:30:32 +0800
1. Emacs -q
2. M-x c-mode
3. customise the indentation for syntactic symbol c to 4
4. Enter /* and then M-j (c-indent-new-comment-line)

you should see point located at column 2 instead of 4, which is a wrong
indentation position for that line and unlike indent-new-comment-line or
newline-and-indent.

Is this a bug or feature? Thanks.

Leo



--- End Message ---
--- Begin Message --- Subject: Re: bug#11165: 24.0.95; c-indent-new-comment-line bug or feature? Date: Fri, 25 Oct 2019 20:34:05 +0000 User-agent: Mutt/1.10.1 (2018-07-13)
Hello, Leo.

On Wed, Apr 04, 2012 at 02:30:32 +0800, Leo wrote:
> 1. Emacs -q
> 2. M-x c-mode
> 3. customise the indentation for syntactic symbol c to 4
> 4. Enter /* and then M-j (c-indent-new-comment-line)

> you should see point located at column 2 instead of 4, which is a wrong
> indentation position for that line and unlike indent-new-comment-line
> or newline-and-indent.

> Is this a bug or feature? Thanks.

It was a bug.  Now, at long last, it has been fixed, specifically in
commit 25ed447b7bec3af66cf0322239cfabbaf71bef26 of today, "CC Mode: Fix
positioning of point whilst inserting comments without non-ws".

The fix is also in the head of the default branch of stand alone CC Mode
at Sourceforge.

I am closing the bug with this post.  Sorry it was ignored for so long.

> Leo

-- 
Alan Mackenzie (Nuremberg, Germany).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]