[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (X)Emacs abbrev mode
From: |
Andreas Röhler |
Subject: |
Re: (X)Emacs abbrev mode |
Date: |
Wed, 24 Feb 2010 21:27:55 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Stefan Monnier wrote:
>> I was wondering if you could tell me why the following works in XEmacs and
>> not in Emacs.
>
> Because Emacs only accepts "words" as abbreviations by default.
> If you want to support something else (i.e. abbreviations that contains
> chars that are not marked as words in the syntax-table), then you need
> to tweak your abbreviation table by setting its :regexp property.
>
>
> Stefan
>
Hi Stefan,
as this question comes into my mind from time to time: is there any reason
to limit the chars usable as abbrevs at all?
Thought at security reasons, but as code is simply replaced, not executed,
don't see it.
Why not allow all chars available be part of an abbrev?
Best regards,
Andreas