[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11165: 24.0.95; c-indent-new-comment-line bug or feature?
From: |
Alan Mackenzie |
Subject: |
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).
- bug#11165: 24.0.95; c-indent-new-comment-line bug or feature?,
Alan Mackenzie <=