Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Dave Goldberg <david.goldberg6@verizon.net>
Cc: ding@gnus.org, Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Re: Small change to message-tab to allow completion of mail aliases
Date: Sat, 31 May 2008 11:17:56 +0200	[thread overview]
Message-ID: <v9k5ha6ddn.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <84k5hb76k0.fsf@incoming.verizon.net> (Dave Goldberg's message of "Fri, 30 May 2008 18:47:43 -0400")

On Sat, May 31 2008, Dave Goldberg wrote:

>>>>>> On Fri, 30 May 2008 19:14:50 +0200, Reiner Steib <reinersteib+gmane@imap.cc> 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/



  reply	other threads:[~2008-05-31  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <t5x63svsvc4.fsf@notch.damtp.cam.ac.uk>
2008-05-30 17:14 ` Reiner Steib
2008-05-30 22:47   ` Dave Goldberg
2008-05-31  9:17     ` Reiner Steib [this message]
2008-05-31 16:19       ` Dave Goldberg
2008-06-02 18:29       ` Stephen Eglen

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=v9k5ha6ddn.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=S.J.Eglen@damtp.cam.ac.uk \
    --cc=david.goldberg6@verizon.net \
    --cc=ding@gnus.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).