emacs-devel
[Top][All Lists]
Advanced

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

Syntax tables and multi-escape characters


From: Tobias C. Rittweiler
Subject: Syntax tables and multi-escape characters
Date: Fri, 13 Feb 2009 22:02:15 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

At the moment `|' in lisp-mode has a string syntax-class (`"'). This
makes forward-sexp work on

  |foobar|

correctly. It, however, fails on

  foo|bar|,  or

  pkg:|funky-symbol|

because it mistakes the `|' to be the begin of a new token.


I'd like to fix this; and I'd do it by hacking src/syntax.{h,c} and
introducing a new syntax class for multi-escape characters.

Or would you prefer something else?

  -T.





reply via email to

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