--- Begin Message ---
Subject: |
(forward-comment -1) sometimes fails (C Mode). |
Date: |
Sat, 16 Jul 2011 12:54:06 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
(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).
--- End Message ---
--- Begin Message ---
Subject: |
Re: (forward-comment -1) sometimes fails (C Mode). |
Date: |
Sun, 17 Jul 2011 09:29:47 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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).
--- End Message ---