[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Completing with anything
From: |
Julien Danjou |
Subject: |
Re: Completing with anything |
Date: |
Mon, 21 Mar 2011 14:36:50 +0100 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
On Mon, Mar 21 2011, Tassilo Horn wrote:
> Sorry, but I totally missed the point of the example. :-)
Damn it! I tried hard. :-)
> Isn't completion of "L" to "Lionel" at the beginning of a line exactly
> what your completion function should enable?
No. To give a even more concrete application of my example: I'd like
org-contacts to give completion for email addresses or nicknames. If you
have a contact entry like:
- Name: Emmett Brown
- Nickname: doc
- Email address: address@hidden
What I'd like to do is that if the user enters:
doc<TAB>
is that it can be completed to
"Emmett Brown <address@hidden>"
But if I return such an item in COLLECTION, it just gets ignored because
"Emmett Brown <address@hidden>" does not match "doc".
This was the point of my example in the my previous email. To just prove
that completion-at-point is being too much picky about which collection
item are valid candidate for completion. I'd like it to just trust what
my function returns. :-)
--
Julien Danjou
❱ http://julien.danjou.info
pgppSNbvDqk4E.pgp
Description: PGP signature
- Completing with anything (was: [Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org), Julien Danjou, 2011/03/18
- Re: Completing with anything, Stefan Monnier, 2011/03/18
- Re: Completing with anything, Julien Danjou, 2011/03/21
- Re: Completing with anything, Tassilo Horn, 2011/03/21
- Re: Completing with anything,
Julien Danjou <=
- Re: Completing with anything, Tassilo Horn, 2011/03/21
- Re: Completing with anything, Stefan Monnier, 2011/03/21
- Re: Completing with anything, Dimitri Fontaine, 2011/03/21
- Re: Completing with anything, Julien Danjou, 2011/03/21
- Re: Completing with anything, Stefan Monnier, 2011/03/21
- Re: [O] Re: Completing with anything, Aankhen, 2011/03/22
- Re: [O] Re: Completing with anything, Tassilo Horn, 2011/03/22
- Re: [O] Re: Completing with anything, Julien Danjou, 2011/03/22
- Re: [O] Re: Completing with anything, Tassilo Horn, 2011/03/22
- Re: Completing with anything, Stefan Monnier, 2011/03/21