From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: (X)Emacs abbrev mode
Date: Wed, 24 Feb 2010 21:27:55 +0100 [thread overview]
Message-ID: <4B858BCB.4060003@easy-emacs.de> (raw)
In-Reply-To: <jwvzl2yv358.fsf-monnier+gnu.emacs.help@gnu.org>
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
next prev parent reply other threads:[~2010-02-24 20:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1444.1266504194.14305.help-gnu-emacs@gnu.org>
2010-02-24 19:37 ` (X)Emacs abbrev mode Stefan Monnier
2010-02-24 20:27 ` Andreas Röhler [this message]
[not found] ` <mailman.1833.1267043154.14305.help-gnu-emacs@gnu.org>
2010-02-24 21:48 ` Stefan Monnier
2010-02-17 17:14 Fabrizio Sidoli
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=4B858BCB.4060003@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.