From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2528 Path: news.gmane.org!not-for-mail From: Jason Dufair Newsgroups: gmane.emacs.gnus.user Subject: Re: BBDB completion keystroke Date: Wed, 21 May 2003 16:40:46 -0500 Organization: The Dufair Family Message-ID: References: <8ak7ckjjpa.fsf@sm.intel.com> <8aznlgourc.fsf@sm.intel.com> Reply-To: jase@dufair.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668929 15466 80.91.229.2 (31 Jan 2006 00:55:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:55:29 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:50 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsfeed.media.kyoto-u.ac.jp!CALA-MUZIK!news.moat.net!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!mozo.cc.purdue.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: dyn-66-109.admin.purdue.edu Original-X-Trace: mozo.cc.purdue.edu 1053553244 11074 128.210.66.109 (21 May 2003 21:40:44 GMT) Original-X-Complaints-To: news@news.purdue.edu Original-NNTP-Posting-Date: Wed, 21 May 2003 21:40:44 +0000 (UTC) X-Face: %qYO(9,]2*s~3N%\J,B=XT(z}[XaISI2%wB~6pjlDD?eDZgn\^S9jx[j1db/7E{umgx.GyN'wf/*4}lk3h9(h:[)d(?<[7~#x+zbn495h?E[>\HVwW|jGgLW9x^k\Kn,uc4{?-T'/=EW!/nE'e_Jf5pP3|DVn$ydYOr]n6Dk7!Ojgt{%(P.$j}u;EyrN{YVPxVc+EWeo?,I*PnW$;U%{@Lqh-OU`o2 User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (cygwin) Cancel-Lock: sha1:/nJdmTI++mR+THGYCNFmjzp97g4= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2668 Original-Lines: 28 X-Gnus-Article-Number: 2668 Tue Jan 17 17:30:50 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2528 Archived-At: Balaji Venkataraman writes: > What I told you above should do it for you. Make sure you have the other > variables set (as pointed out by some others). I guess I'm not being very clear. I already have BBDB integration working perfectly and have the variables set the way I want them. By default, BBDB binds 'bbdb-complete-name to M-tab, but I wish to bind it to tab instead. The solution above works nearly perfectly, with the exception that I don't want tab to be bound to 'bbdb-complete-name in the body of my message. Is there some way to make this binding stateful, based on what part of the message I'm editing, i.e. the headers or the body? In an ideal world, I would type a part of someone's name in the To: field, then hit tab, and Emacs would first search my ~/.mailrc, then the BBDB and finally my LDAP directory (via EUDC). I have all three of these already but have to use tab, then M-tab, then C-c tab. Does anyone have a setup similar to this? Again, thanks for everyone's help thus far. -- Jason Dufair - jase@dufair.org http://www.dufair.org/ "I love the idea of a school in which people come to get educated and stay in the state in which they're educated." -- George W. Bush, Milwaukee, Wis., Aug. 14, 2002