|
From: | Fabrice Popineau |
Subject: | Re: Lisp mode syntax table |
Date: | Mon, 17 Feb 2014 23:10:04 +0100 |
> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |