Would it be worth making the following small change to
message-expand-name, so that TAB on a To: field will allow for
completion of mail aliases, rather than just expansion of complete mail
aliases.  All that has changed is expand-abbrev has been changed to
mail-abbrev-complete-alias

(e.g. if you have the alias "moderator", and no other alias starting
"mo", then "mo TAB" would complete to moderator)

(defun message-expand-name ()
  (cond ((and (memq 'eudc message-expand-name-databases)
                    (boundp 'eudc-protocol)
                    eudc-protocol)
         (eudc-expand-inline))
        ((and (memq 'bbdb message-expand-name-databases)
              (fboundp 'bbdb-complete-name))
         (bbdb-complete-name))
        (t
         (mail-abbrev-complete-alias))))
         ;;(expand-abbrev))))

Stephen

(emacs-version)
"GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4)
 of 2008-04-24 on notch.damtp.cam.ac.uk"

(gnus-version)
"Gnus v5.13"
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to