Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: gcc tab completion strangeness
Date: Sun, 30 Jan 2011 18:18:03 -0800	[thread overview]
Message-ID: <87fws9hl44.fsf@gnus.org> (raw)
In-Reply-To: <87sjwa5wod.fsf@topper.koldfront.dk>

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




  reply	other threads:[~2011-01-31  2:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 18:58 Peter Münster
2011-01-10 20:42 ` Tassilo Horn
2011-01-10 20:58   ` Eric Abrahamsen
2011-01-10 22:27     ` Adam Sjøgren
2011-01-30 13:49       ` Adam Sjøgren
2011-01-31  2:18         ` Lars Ingebrigtsen [this message]
2011-01-31 21:47           ` Adam Sjøgren
     [not found]         ` <jwvlj21azom.fsf-monnier+emacs@gnu.org>
2011-01-31 19:44           ` Adam Sjøgren
2011-01-31 21:14             ` Stefan Monnier
2011-01-31 21:42               ` Adam Sjøgren
2011-02-01 14:09                 ` Stefan Monnier
2011-02-01  1:24               ` Lars Ingebrigtsen
2011-02-01 15:54                 ` Stefan Monnier
2011-01-11  8:26 ` Gijs Hillenius

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=87fws9hl44.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /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).