Subject: bug#14303: closed (Re: bug#14303: 24.3; Bug in comment-search-backward)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 17 May 2013 22:56:03 +0000

Your bug report

#14303: 24.3; Bug in comment-search-backward

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14303
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#14303: 24.3; Bug in comment-search-backward
From: Leo Liu <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: [email-masked]
Date: Sat, 18 May 2013 06:54:46 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: 24.3; Bug in comment-search-backward
From: Leo Liu <[email-masked]>
To: [email-masked]
Date: Mon, 29 Apr 2013 21:27:35 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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