From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34315 Path: main.gmane.org!not-for-mail From: NAGY Andras Newsgroups: gmane.emacs.gnus.general Subject: Re: bbdb-complete-name in to:, cc:, bcc: fields only Date: 18 Jan 2001 16:44:08 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87u26wkgqf.fsf@lovi.inf.elte.hu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170264 29785 80.91.224.250 (21 Oct 2002 03:17:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:17:44 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 2360FD049D for ; Thu, 18 Jan 2001 10:45:13 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id JAC19364; Thu, 18 Jan 2001 09:44:37 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 18 Jan 2001 09:43:59 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA13149 for ; Thu, 18 Jan 2001 09:43:49 -0600 (CST) Original-Received: from mail.elte.hu (mail.elte.hu [157.181.151.13]) by mailhost.sclp.com (Postfix) with ESMTP id 3B4BDD049D for ; Thu, 18 Jan 2001 10:44:10 -0500 (EST) Original-Received: from lovi.inf.elte.hu (proxy.inf.elte.hu [157.181.161.14]) by mail.elte.hu (Postfix) with ESMTP id AFE796D996 for ; Thu, 18 Jan 2001 16:44:08 +0100 (CET) Original-Received: from nagya by lovi.inf.elte.hu with local (Exim 3.12 #1 (Debian)) id 14JHEO-0005Ku-00 for ; Thu, 18 Jan 2001 16:44:08 +0100 Original-To: ding@gnus.org In-Reply-To: User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Capitol Reef) Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:34315 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34315 Ian Swainson 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