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

[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: Leo
Subject: bug#11165: 24.0.95; c-indent-new-comment-line bug or feature?
Date: Thu, 17 May 2012 15:19:56 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (Mac OS X 10.6.8)

On 2012-05-16 00:50 +0800, Alan Mackenzie wrote:
> I don't think this is a bug.  When you've read that manual page, would
> you please check exactly what you've done, and whether your buffer
> indents as we both would like.

I have read the manual before and I just read it again. Here is a
detailed recipe to reproduce:

1. Emacs -q
2. Make a new buffer named BUG and enable c-mode in it
3. C-c C-o and customise syntactic 'c' to 4 in BUG buffer
4. Now typing in the BUG buffer slash star /*, then press M-j
5. type TAB to indent

In step 4 the buffer looks like:

Attachment: bug1.png
Description: bug1.png

In step 5 the buffer looks like:

Attachment: bug2.png
Description: bug2.png

The bug is M-j (c-indent-new-comment-line) indents to the wrong column.

reply via email to

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