From: Alan Mackenzie <acm@muc.de>
To: Leo <sdl.web@gmail.com>
Cc: bug-cc-mode@gnu.org, 11165-done@debbugs.gnu.org
Subject: bug#11165: 24.0.95; c-indent-new-comment-line bug or feature?
Date: Fri, 25 Oct 2019 20:34:05 +0000 [thread overview]
Message-ID: <20191025203405.GA24064__23524.9567589321$1572035846$gmane$org@ACM> (raw)
In-Reply-To: <m1ehs4sm5z.fsf@gmail.com>
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).
next prev parent reply other threads:[~2019-10-25 20:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 18:30 bug#11165: 24.0.95; c-indent-new-comment-line bug or feature? Leo
2012-04-17 10:53 ` Alan Mackenzie
2012-04-17 13:57 ` Leo
2012-05-15 16:50 ` Alan Mackenzie
2012-05-17 7:19 ` Leo
2012-05-17 10:12 ` Alan Mackenzie
2019-10-25 20:34 ` Alan Mackenzie [this message]
2019-10-26 13:08 ` Leo Liu
[not found] ` <20191025203405.GA24064@ACM>
2019-10-26 17:08 ` Glenn Morris
2019-10-27 11:32 ` Alan Mackenzie
2019-11-06 16:43 ` Glenn Morris
[not found] ` <dpv9rxez0a.fsf@fencepost.gnu.org>
2019-11-06 20:33 ` Alan Mackenzie
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='20191025203405.GA24064__23524.9567589321$1572035846$gmane$org@ACM' \
--to=acm@muc.de \
--cc=11165-done@debbugs.gnu.org \
--cc=bug-cc-mode@gnu.org \
--cc=sdl.web@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).