Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: info-gnus-english@gnu.org
Subject: Re: Abbrev expansion after @?
Date: Mon, 24 Feb 2014 12:36:55 +0100	[thread overview]
Message-ID: <87fvn8hhd4.fsf__10894.2257510082$1393253471$gmane$org@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.

           reply	other threads:[~2014-02-24 11:36 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <mailman.15703.1393000705.10748.help-gnu-emacs@gnu.org>]

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__10894.2257510082$1393253471$gmane$org@hornfels.zedat.fu-berlin.de' \
    --to=loris.bennett@fu-berlin.de \
    --cc=info-gnus-english@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).