From: Nikolaj Schumacher <n_schumacher@web.de>
To: help-gnu-emacs@gnu.org
Cc: Fabrizio Sidoli <fs@star.ucl.ac.uk>
Subject: Re: emacs abbreviation mode
Date: Mon, 11 Jun 2007 01:27:54 +0200 [thread overview]
Message-ID: <m2k5ub5r0l.fsf@nschum.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0706101208300.25056@zuserver1.star.ucl.ac.uk> (Fabrizio Sidoli's message of "Sun\, 10 Jun 2007 17\:02\:07 +0100 \(BST\)")
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
prev parent reply other threads:[~2007-06-10 23:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-10 16:02 emacs abbreviation mode Fabrizio Sidoli
2007-06-10 23:27 ` Nikolaj Schumacher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2k5ub5r0l.fsf@nschum.de \
--to=n_schumacher@web.de \
--cc=fs@star.ucl.ac.uk \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.