[Top][All Lists]

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

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

From: address@hidden
Subject: Re: ;;; anything.el --- open anything
Date: Sat, 04 Aug 2007 08:03:15 -0700
User-agent: G2/1.0


On Aug 4, 4:48 pm, Tassilo Horn <address@hidden> wrote:
> Another thing: Could you provide a hook that is run after
> anything-pattern changes but before the candidates are calculated?

Can't you do that with a defadvice? I was tempted to add a hook for
adaptive sorting too, but I decided to use advice instead, because I
don't want to add stuff which only serves a particular purpose and can
be implemented with standard emacs methods.

I think you can simply defadvice anything-update or anything-check-
input to do what you want.

If it works for you then I'd rather not add the hook (as I didn't add
one for adaptive sorting either) until it's needed for other stuff

Let's keep it simple. :)


reply via email to

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