--- Begin Message ---
Subject: |
24.3; Bug in comment-search-backward |
Date: |
Mon, 29 Apr 2013 21:27:35 +0800 |
Open a new buffer in octave-mode and insert the following line:
x="#abc"
Move point to the end of the inserted line and
M-: (comment-search-backward)
this moves point inside the string.
Due to this bug octave-mode users are seeing mysterious comment char
such as % or # inserted by fill-paragraph or auto-fill-mode.
Leo
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#14303: 24.3; Bug in comment-search-backward |
Date: |
Sat, 18 May 2013 06:54:46 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3) |
Fixed in trunk.
On 2013-05-17 23:52 +0800, Stefan Monnier wrote:
> Ah, I see. That's easy to fix: just check the syntax-ppss state at the
> position about which you care, i.e. (or (match-end 1) (match-beginning 0)),
> rather than at the position at which re-search-backward puts you.
Thanks a lot.
Leo
--- End Message ---