[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: |
Mon, 09 Jul 2007 10:57:38 -0700 |
User-agent: |
G2/1.0 |
On Jun 28, 4:55 pm, Mathias Dahl <address@hidden> wrote:
>
> > The only problem is I couldn't think of any practical example where
> > it would be useful to choose from several actions to execute. For
> > example, what else would one want to do with buffers besides
> > switching to them? Killing them? One usually kills the current
> > buffer, so it doesn't seem very useful. The same with files. What
> > else would one want to do with them than opening them?
>
> Maybe buffers isn't the best example, a better one could be friends,
> or colleagues. Say I want to send a chat message to my friend. Using
> `anything' I type in his name and get a match, then I get to choose
> whether I want to start to chat with him or send him an e-mail.
>
I added experimental support for multiple actions. Action attribute
can also be a list (see the doc) and using TAB any action can be
selected from this list instead of executing the default action. See
source Buffers as an example. The newest version is on emacs wiki.