[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ;;; anything.el --- open anything

From: Tassilo Horn
Subject: Re: ;;; anything.el --- open anything
Date: Sun, 19 Aug 2007 19:50:16 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

"address@hidden" <address@hidden> writes:

Hi Tamas,

>> I just love the idea and the way it is currently working. I will try
>> to hack on it too to add my own sources.
>> By the way, do you thing it is doable to add a contact just by
>> entering his name.
>> Say for example, I am typing this after M-x anything RET:
>> John Doe RET
>> If John DOe is not in my contact base, I would like to be offered to
>> add it.
> Tassilo's solution is good, but I also fixed anything.el, so that
> filtered candidate transformer is run also if the candidate list is
> empty. This is is alternative solution.
> So with the filtered-candidate-transformer attribute you can add an
> "Add contact" candidate to the list of candidates if it is empty and
> use the action-transformer attribute to change the action list if this
> special candidate is the current selection.

Hey, that's a very elegant solution.  I'll implement that in

          "Emacs is not a development tool but a way of life."
                - David Kastrup in alt.religion.emacs -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]