From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7744 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: New version of message-tab Date: 28 Aug 1996 08:50:15 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035148016 8386 80.91.224.250 (20 Oct 2002 21:06:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:06:56 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id OAA28160 for ; Wed, 28 Aug 1996 14:04:24 -0700 Original-Received: from ylfing.ifi.uio.no (ylfing.ifi.uio.no [129.240.94.25]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 28 Aug 1996 22:11:53 +0200 Original-Received: (from larsi@localhost) by ylfing.ifi.uio.no ; Wed, 28 Aug 1996 22:11:52 +0200 Original-To: ding@ifi.uio.no In-Reply-To: Kai Grossjohann's message of 09 Aug 1996 19:42:21 +0200 Original-Lines: 23 X-Mailer: Red Gnus v0.19/Emacs 19.29 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > there is message-tab which I like a lot, but I also think it could be > more general. So I tried to hack up something useful. > > You can set a variable message-x-body-function to a function that TAB > should execute when point is in the body of a message. > > You can set an alist message-x-completion-alist which tells for each > header which function should be invoked when TAB is typed. As I use > bbdb, the default says to invoke bbdb-complete-name in To and Cc > headers. Also, message-expand-group is invoked in a Newsgroups > header. Seems quite useful, but I'm not sure whether to include it in the distribution or not. This sort of thing should ideally be handled outside Message itself -- `mail-abbrev' does things nicely, and `bbdb' does other things nicely. I think the Newsgroups expansion should also be moved out to a separate package, perhaps. -- "Yes. The journey through the human heart would have to wait until some other time."