help-gnu-emacs
[Top][All Lists]
Advanced

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

mode-specific sexps


From: Joe Corneli
Subject: mode-specific sexps
Date: Sat, 09 Oct 2004 18:34:31 -0500

Note that the syntax of sexps is not quite right for use in all
modes.  For example, <1000 is considered to be one sexp and you can
legitimately set it in lisp modes -- (setq <1000 10) -- however, in
LaTeX mode I think this should be regarded as two sexps, a `<'
together with a `1000'.  Advice on to change the definition of a
sexp for LaTeX mode would be appreciated.  My initial investigations
led to `scan-sexps' but this is in C code and I'm hesitant about
messing with that if I don't need to.

I'll probably have some followup questions on this topic related to
my austex.el minor mode

 http://www.ma.utexas.edu/~jcorneli/a/elisp/austex.el

(also in gnu.emacs.sources recently), but this seems like a good
place to start.




reply via email to

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