From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: bbdb-complete-name in to:, cc:, bcc: fields only
Date: 18 Jan 2001 10:41:11 -0500 [thread overview]
Message-ID: <5b1yu0c1go.fsf@avocet.cs.rochester.edu> (raw)
In-Reply-To: <u1yu0lvrq.fsf@clients.ie> (Ian Swainson's message of "18 Jan 2001 15:34:01 +0000")
Ian Swainson <ian.swainson@clients.ie> writes:
> Hi All,
>
> Long shot this one.
>
> 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?
mail-abbrev-in-expansion-header-p is the one. The code is,
(defun my-bbdb-tab-complete ()
(interactive)
(if (mail-abbrev-in-expansion-header-p)
(bbdb-complete-name)
(message-tab)))
(define-key message-mode-map [tab] 'my-bbdb-tab-complete)
ShengHuo
next prev parent reply other threads:[~2001-01-18 15:41 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 [this message]
2001-01-18 15:44 ` NAGY Andras
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=5b1yu0c1go.fsf@avocet.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
/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).