From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76143 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gcc tab completion strangeness Date: Sun, 30 Jan 2011 18:18:03 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <87fws9hl44.fsf@gnus.org> References: <871v4kio15.fsf@micropit.couberia.bzh> <87lj2sbidu.fsf@member.fsf.org> <87pqs4jx2a.fsf@ericabrahamsen.net> <87ipxwwg22.fsf@topper.koldfront.dk> <87sjwa5wod.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1296440423 26377 80.91.229.12 (31 Jan 2011 02:20:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 02:20:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24495@lists.math.uh.edu Mon Jan 31 03:20:19 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PjjNJ-0002qm-Oh for ding-account@gmane.org; Mon, 31 Jan 2011 03:20:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PjjND-0005Lc-KO; Sun, 30 Jan 2011 20:20:11 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PjjNC-0005LX-KX for ding@lists.math.uh.edu; Sun, 30 Jan 2011 20:20:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PjjN8-000771-F5 for ding@lists.math.uh.edu; Sun, 30 Jan 2011 20:20:10 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PjjN7-0005Un-H8 for ding@gnus.org; Mon, 31 Jan 2011 03:20:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PjjN6-0002oE-F2 for ding@gnus.org; Mon, 31 Jan 2011 03:20:04 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Jan 2011 03:20:04 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Jan 2011 03:20:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:wXKjHahro0ksO1fWn9zmRaZoqf0= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76143 Archived-At: asjo@koldfront.dk (Adam Sjøgren) writes: > + (let ((bbdb-complete-did-succeed nil) > + (bbdb-complete-name-hooks '(lambda () (setq bbdb-complete-did-succeed t)))) > + (bbdb-complete-name) > + bbdb-complete-did-succeed)) > (t > (expand-abbrev)))) > > I looks quite ugly. > > But it calls expand-abbrev if bbdb-complete-name doesn't complete. > > And then the annoying whitespace is added. The patch looks OK to me, if that's the only way to get the bbdb stuff working. But I don't use bbdb, so I can't really tell. Should I apply the patch? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen