Re: [dev] dmenu patch to return all matching items (for a new dmenu-powered music player interface)

From: markus schnalke <meillo_AT_marmaro.de>
Date: Thu, 11 Nov 2010 14:12:59 +0100

[2010-11-11 12:47] Dieter Plaetinck <dieter_AT_plaetinck.be>
> On Thu, 11 Nov 2010 12:36:23 +0100
> stanio_AT_cs.tu-berlin.de wrote:
>
> > * Anselm R Garbe <garbeam_AT_gmail.com> [2010-11-11 12:19]:
> > > On 11 November 2010 06:25, Dan Brown <danbrown_AT_gmail.com> wrote:
> > > > As part of a project to create a simple and fast music player
> > > > interface, I patched dmenu to allow it to return all matching
> > > > items instead of just the one at the cursor. dmenu is the browsing
> > >
> > > This patch looks kinda useful to me and I'll think about probably
> > > supporting this in mainstream dmenu.

> > Can be very useful bound to some modkey + enter
>
> you mean you want to choose between "return current result" vs "return
> all current matches" at run-time? What's a use case for that?
> I think this should be configured with a commandline argument, because
> the script that calls dmenu needs to know in advance what kind of
> output it will get anyway and it depends on what task the script will
> do. Or am I missing something?

Note that the user might not be able to know in which mode dmenu acts
at run-time. The mode should be made visible then. (I don't say that
this is the right way to go, though.)

meillo
Received on Thu Nov 11 2010 - 14:12:59 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 11 2010 - 14:36:02 CET