[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs abbreviation mode
From: |
Nikolaj Schumacher |
Subject: |
Re: emacs abbreviation mode |
Date: |
Mon, 11 Jun 2007 01:27:54 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) |
Fabrizio Sidoli <fs@star.ucl.ac.uk> wrote:
> Emacs appears not to like the abbreviation to have the special
> character '\'.
I was bothered by this recently as well. It appears Emacs just uses
characters with word-syntax (see `char-syntax') for abbreviations.
There are some advantages to this, for instance a closing ")" will also
trigger an expansion, because only the word before is looked up.
(Don't know how XEmacs handles that ...)
I currently defadvice expand-abbrev with a custom syntax-table to allow
more characters. If anybody knows a cleaner way to tweak this, I'm
interested ...
regards,
Nikolaj Schumacher