emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r116779: Restore compatibility with legacy comme


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] trunk r116779: Restore compatibility with legacy comment-start-skip values
Date: Mon, 17 Mar 2014 18:14:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 17.03.2014 17:50, Stefan wrote:
+                      ;; Some older modes use regexps that check the
+                      ;; char before the comment for quoting.  (Bug#16971)

In light of your latest message on #16971, I'll probably have to change this comment.

+                      (save-excursion
+                        (forward-char -1)
+                        (looking-at comment-start-skip)))

This needs to additionally check that (match-end 1) points to what we
thought was the comment start.

Can you think of a situation when that's not true?

And suppose it doesn't, then what?



reply via email to

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