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

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

syntax-table property loses at start of buffer


From: Dave Love
Subject: syntax-table property loses at start of buffer
Date: Mon, 05 Jan 2004 14:56:08 +0000
User-agent: Gnus/5.1005 (Gnus v5.10.5) Emacs/21.2 (gnu/linux)

This gives a scan error:

(with-temp-buffer
  (let ((parse-sexp-lookup-properties t))
    (insert (propertize "\"\"" 'syntax-table (string-to-syntax "|")))
    (backward-sexp)))

c.f. this:

(with-temp-buffer
  (let ((parse-sexp-lookup-properties t))
    (insert ? (propertize "\"\"" 'syntax-table (string-to-syntax "|")))
    (backward-sexp)))

It causes trouble in common cases for proper support of Python, for
instance.




reply via email to

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