GNU bug report logs - #9099
(forward-comment -1) sometimes fails (C Mode).

Previous Next

Packages: emacs, cc-mode;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sat, 16 Jul 2011 13:04:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9099 in the body.
You can then email your comments to 9099 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9099; Package emacs. (Sat, 16 Jul 2011 13:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 16 Jul 2011 13:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: (forward-comment -1) sometimes fails (C Mode).
Date: Sat, 16 Jul 2011 12:54:06 +0000
(i) emacs -Q
(ii) C-x C-f /path/to/emacs/src/gnutls.h
(iii) Place point at 730, i.e. immediately after the opening comment.
(iv) M-: (forward-comment -1)

Point doesn't move.  It ought to move to BOB.

-- 
Alan Mackenzie (Nuremberg, Germany).




Reply sent to Alan Mackenzie <acm <at> muc.de>:
You have taken responsibility. (Sun, 17 Jul 2011 09:33:02 GMT) Full text and rfc822 format available.

Notification sent to Alan Mackenzie <acm <at> muc.de>:
bug acknowledged by developer. (Sun, 17 Jul 2011 09:33:02 GMT) Full text and rfc822 format available.

Message #10 received at 9099-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: 9099-done <at> debbugs.gnu.org
Subject: Re: (forward-comment -1) sometimes fails (C Mode).
Date: Sun, 17 Jul 2011 09:29:47 +0000
On Sat, Jul 16, 2011 at 12:54:06PM +0000, Alan Mackenzie wrote:
> (i) emacs -Q
> (ii) C-x C-f /path/to/emacs/src/gnutls.h
> (iii) Place point at 730, i.e. immediately after the opening comment.
> (iv) M-: (forward-comment -1)

> Point doesn't move.  It ought to move to BOB.

The problem was caused by open-paren-in-column-0-is-defun-start and a
paren in column 0.

-- 
Alan Mackenzie (Nuremberg, Germany).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Aug 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.