emacs-devel
[Top][All Lists]
Advanced

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

Re: Beyond release


From: Andreas Röhler
Subject: Re: Beyond release
Date: Mon, 27 Jun 2016 18:25:15 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0



On 27.06.2016 18:10, Dmitry Gutov wrote:
On 06/27/2016 06:52 PM, Clément Pit--Claudel wrote:

The
introduction of circular dependencies WRT syntax-ppss probably
deserves being mentioned in this context. Propertize functions are
encouraged to call syntax-ppss while syntax-ppss itself propertizes.

Interesting. I don't know about these things, but I never saw them them mentioned (especially the last ones) outside of emacs-devel.

Until someone presents concrete evidence, this is just FUD. You can pay it no attention.


syntax-propertize-function:

" ...
The specified function may call ‘syntax-ppss’ on any position
before END, but it should not call ‘syntax-ppss-flush-cache’,
which means that it should not call ‘syntax-ppss’ on some
position and later modify the buffer on some earlier position."

Source of

(defun syntax-ppss (&optional pos)
  " [ ... ]"
  ;; Default values.
  (unless pos (setq pos (point)))
  (syntax-propertize pos)
  ...











reply via email to

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