Emacs character syntax of @

[email protected] (Antonio Martínez)
Newsgroups gmane.lisp.ilisp.devel
Message-ID <[email protected]>
Hello all,

ILisp doesn't seem to define the Emacs character syntax of "@".  I've
set it to be a "prefix character" (Emacs terminology), so that M-(
doesn't insert an extra space.  This is the syntax class used in Elisp
mode, and I find it useful when typing backquote templates.

I've done this by adding

    (modify-syntax-entry ?@ ". p" lisp-mode-syntax-table)

to ilisp-ext.el and it seems to work OK.  Is this reasonable?

Hope this is of some use to someone,

                                        --Tony

P.S. While I'm here, apart from the reason noted in ilisp-ext.el as to
why changing "." syntax is a tradeoff, I think it may also work badly
with M-(, since using M-( to type #.(...) adds a possibly extraneous
space.  This effect also shows up in Elisp modes, but then Elisp
doesn't have read expressions.


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.