From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.help Subject: Re: Abbrev expansion after @? Date: Mon, 24 Feb 2014 12:36:55 +0100 Organization: Freie Universitaet Berlin Message-ID: <87fvn8hhd4.fsf@hornfels.zedat.fu-berlin.de> References: <87sircim8p.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393242018 18411 80.91.229.3 (24 Feb 2014 11:40:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Feb 2014 11:40:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 24 12:40:26 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WHttU-0002jA-L2 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Feb 2014 12:40:20 +0100 Original-Received: from localhost ([::1]:56842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHttU-0003TI-78 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Feb 2014 06:40:20 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.gnus Original-Followup-To: gnu.emacs.gnus Original-Lines: 42 Original-X-Trace: news.uni-berlin.de 9bBIn8nRN2ew8W5AcVQ3qQuNKGFA/M7l/wSjwjizlIGZQj Cancel-Lock: sha1:YUXMP/t0lcOko75+DDVZVbay77E= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:203914 gnu.emacs.gnus:87839 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96183 Archived-At: "K.P. Huang" writes: >> 2014-02-21 22:17 GMT+08:00 Loris Bennett : >> >> 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.