From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Abbrev expansion after @?
Date: Mon, 24 Feb 2014 12:36:55 +0100 [thread overview]
Message-ID: <87fvn8hhd4.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: mailman.15703.1393000705.10748.help-gnu-emacs@gnu.org
"K.P. Huang" <kphuanghk@gmail.com> writes:
>> 2014-02-21 22:17 GMT+08:00 Loris Bennett <loris.bennett@fu-berlin.de>:
>>
>> Hi,
>>
>> I would like, say, "meo" to expand to "my.email.org" after "@".
>>
>> So for any arbitrary "user"
>>
>> user@meo
>>
>> would expand to
>>
>> user@my.email.org
>>
>> Is this possible?
>>
> That's possible by M-' abbrev-prefix-mark
>
> Type user@ then M-' , it will become user@-, type meo follow by, it will
> expand in the way you want.
>
> It has been clearly stated in the documentation (info "(emacs) abbrevs"),
> at menu "Controlling Abbrev Expansion". HTH.
Thanks for the pointer to the documentation.
This works expect for expansion in the address fields in Gnus (which is
where I would like expansion following @ to work). In this case
expansion just doesn't happen, with or without a prefix.
Maybe someone on the in the Gnus newsgroup can enlighten me. I assume
it is some sort of conflict with the regular Gnus magic which expands
addresses out the BBDB.
Cheers,
Loris
--
This signature is currently under construction.
prev parent reply other threads:[~2014-02-24 11:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 14:17 Abbrev expansion after @? Loris Bennett
2014-02-21 15:58 ` K.P. Huang
[not found] ` <mailman.15703.1393000705.10748.help-gnu-emacs@gnu.org>
2014-02-24 11:36 ` Loris Bennett [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=87fvn8hhd4.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--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.