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 20:10:25 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0



On 27.06.2016 18:55, Dmitry Gutov wrote:
On 06/27/2016 07:25 PM, Andreas Röhler wrote:

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


syntax-propertize-function:

Quotes from Emacs's source code are not sufficient evidence of your claims.


Not if you snip a relevant part.

(defun syntax-propertize (pos)
  "Ensure that syntax-table properties are set until POS (a buffer point)."
  (when (< syntax-propertize--done pos)
    (if (null syntax-propertize-function)
        (setq syntax-propertize--done (max (point-max) pos))
      ;; (message "Needs to syntax-propertize from %s to %s"
      ;;          syntax-propertize--done pos)
      (set (make-local-variable 'parse-sexp-lookup-properties) t)
      (save-excursion
        (with-silent-modifications ...

where

(if (null syntax-propertize-function)

wouldn't pos a problem.

However, when called from syntax-propertize-function, this certainly wont be null, then the propertize-branch is entered. Might the branches be simple bound wrong, i.e. reverse?





reply via email to

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