emacs-devel
[Top][All Lists]
Advanced

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

Re: Lisp mode syntax table


From: Stefan Monnier
Subject: Re: Lisp mode syntax table
Date: Mon, 17 Feb 2014 15:19:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Is there a good reason why:
> (with-syntax-table lisp-mode-syntax-table
>   (string (char-syntax ?\|)))
> "\""

IIRC some Lisps use that for symbols.

> |rdf|:|someClass| and smartparen can't behave well in this case,

If it hurts don't do that.  Really, it seems like a particularly bad idea.

> Would that switch imply any drawbacks I can't think of?

I'm not sure what lisp-mode-syntax-table should use, but so far
emacs-lisp-mode-syntax-table should use "_" for the syntax of ?|

OTOH, someone might want to make |...| into a new syntax for symbols, in
which case your |rdf|:|someClass| might break in the future.


        Stefan



reply via email to

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