Gnus development mailing list
 help / color / mirror / Atom feed
From: NAGY Andras <nagya@inf.elte.hu>
Subject: Re: bbdb-complete-name in to:, cc:, bcc: fields only
Date: 18 Jan 2001 16:44:08 +0100	[thread overview]
Message-ID: <87u26wkgqf.fsf@lovi.inf.elte.hu> (raw)
In-Reply-To: <u1yu0lvrq.fsf@clients.ie>

Ian Swainson <ian.swainson@clients.ie> writes:

> I have bbdb complete name setup thusly in my .emacs:
> 
> (define-key message-mode-map [(tab)] 'bbdb-complete-name)
> 
> Is there any variable I can check so that the binding only applies when I am in
> an address field?


;; Name completion hack
(define-key message-mode-map "\t"
  (lambda ()
    (interactive)
    (if (mail-abbrev-in-expansion-header-p)
	(bbdb-complete-name)
      (message-tab))))



Andras



  parent reply	other threads:[~2001-01-18 15:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-18 15:34 Ian Swainson
2001-01-18 15:41 ` ShengHuo ZHU
2001-01-18 15:44 ` NAGY Andras [this message]
2001-01-18 17:33 ` Kai Großjohann

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=87u26wkgqf.fsf@lovi.inf.elte.hu \
    --to=nagya@inf.elte.hu \
    /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).