From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67010 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Small change to message-tab to allow completion of mail aliases Date: Sat, 31 May 2008 11:17:56 +0200 Message-ID: References: <84k5hb76k0.fsf@incoming.verizon.net> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212225604 16496 80.91.229.12 (31 May 2008 09:20:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2008 09:20:04 +0000 (UTC) Cc: ding@gnus.org, Stephen Eglen To: Dave Goldberg Original-X-From: ding-owner+M15481@lists.math.uh.edu Sat May 31 11:20:45 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1K2NGU-0006yc-OJ for ding-account@gmane.org; Sat, 31 May 2008 11:20:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1K2NEZ-0004yy-IP; Sat, 31 May 2008 04:18:43 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1K2NEX-0004yk-By for ding@lists.math.uh.edu; Sat, 31 May 2008 04:18:41 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1K2NER-00046t-3V for ding@lists.math.uh.edu; Sat, 31 May 2008 04:18:41 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1K2NEh-0002H1-00 for ; Sat, 31 May 2008 11:18:51 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m4V9IVdu004406; Sat, 31 May 2008 11:18:31 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 5E7AF1C3FC; Sat, 31 May 2008 11:18:31 +0200 (CEST) X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s, ding@gnus.org, Stephen Eglen In-Reply-To: <84k5hb76k0.fsf@incoming.verizon.net> (Dave Goldberg's message of "Fri, 30 May 2008 18:47:43 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.50 (gnu/linux) X-DCC-SIHOPE-DCC-3-Metrics: poseidon 1085; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67010 Archived-At: On Sat, May 31 2008, Dave Goldberg wrote: >>>>>> On Fri, 30 May 2008 19:14:50 +0200, Reiner Steib said: > >> Does this change have any drawbacks? I always use the bbdb code path, >> so I'm not familiar with the current and proposed behavior. We need to update message.texi (info "(message)Mail Aliases") as well. Stephen, could you provide a patch, please? >>> (defun message-expand-name () [...] >>> (t >>> (mail-abbrev-complete-alias)))) >>> ;;(expand-abbrev)))) > > Unless my packages are out of date (entirely possible), > mail-abbrev-complete-alias is not available in XEmacs 21.4.21. If it's not available in the current packages, you can ask the XEmacs package maintainer to update it (in Emacs it is in `mail/mailabbrev.el'). But we can use test if it is available so that it still works with (your) current XEmacs: --- message.el 29 May 2008 20:10:06 +0200 7.263 +++ message.el 31 May 2008 11:04:08 +0200 @@ -7650,6 +7650,9 @@ ((and (memq 'bbdb message-expand-name-databases) (fboundp 'bbdb-complete-name)) (bbdb-complete-name)) + ((fboundp 'mail-abbrev-complete-alias) + ;; Complete partial mail aliases as well. (Not available in XEmacs?) + (mail-abbrev-complete-alias)) (t (expand-abbrev)))) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/