unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Abbrev expansion after @?
@ 2014-02-21 14:17 Loris Bennett
  2014-02-21 15:58 ` K.P. Huang
       [not found] ` <mailman.15703.1393000705.10748.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Loris Bennett @ 2014-02-21 14:17 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Cheers,

Loris

-- 
This signature is currently under construction.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Abbrev expansion after @?
  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>
  1 sibling, 0 replies; 3+ messages in thread
From: K.P. Huang @ 2014-02-21 15:58 UTC (permalink / raw)
  To: Loris Bennett; +Cc: help-gnu-emacs

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.



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?
>
> Cheers,
>
> Loris
>
> --
> This signature is currently under construction.
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Abbrev expansion after @?
       [not found] ` <mailman.15703.1393000705.10748.help-gnu-emacs@gnu.org>
@ 2014-02-24 11:36   ` Loris Bennett
  0 siblings, 0 replies; 3+ messages in thread
From: Loris Bennett @ 2014-02-24 11:36 UTC (permalink / raw)
  To: help-gnu-emacs

"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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-24 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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 read-only IMAP folder(s) and NNTP newsgroup(s).