bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#20732: in-string-p fails


From: Dmitry Gutov
Subject: bug#20732: in-string-p fails
Date: Fri, 5 Jun 2015 00:06:16 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/04/2015 02:50 PM, Andreas Röhler wrote:

In question slow is better than false.

Then (setq open-paren-in-column-0-is-defun-start nil) in your Emacs config.

There is no way to know reliably if inside a string than scanning the
whole buffer. All other is woodoo.

There's a whole package dedicated to doing is faster and in easier fashion: lisp/emacs-lisp/syntax.el.

You're welcome to suggest improvements that don't sacrifice performance to this extent.

In result, it needs to consider these requests with care, re-use the
result rather then salting la code with in-string-p calls. :)

What is "it"?





reply via email to

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