emacs-devel
[Top][All Lists]
Advanced

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

Re: Lisp mode syntax table


From: Fabrice Popineau
Subject: Re: Lisp mode syntax table
Date: Tue, 18 Feb 2014 20:34:45 +0100




2014-02-18 15:00 GMT+01:00 Stefan Monnier <address@hidden>:
> The problem may not be the class of ?| per se, but the interaction with ?:
> The whole thing |rdf|:|someClass| should be considered as a symbol.

Right, that is something Emacs syntax tables can't currently express.


Ok, I think I got it.
 
As mentioned, it has string syntax for things like |)| and | |.


Something like this would fix my case
  (modify-syntax-entry ?\| "_ 23bn" lisp-mode-syntax-table)
but fail on the ones you mention.
Right paren is weird in an atom name, but it may be easy to put spaces in it.

Thanks,

Fabrice

reply via email to

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