unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* syntax-table property loses at start of buffer
@ 2004-01-05 14:56 Dave Love
  0 siblings, 0 replies; only message in thread
From: Dave Love @ 2004-01-05 14:56 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-05 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-05 14:56 syntax-table property loses at start of buffer Dave Love

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).