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

From: Petr Sabata <psabata_AT_redhat.com>
Date: Thu, 11 Nov 2010 14:37:18 +0100

On Thu, Nov 11, 2010 at 02:12:59PM +0100, markus schnalke wrote:
> [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.)
>

It might also be useful to allow the user to change the mode while dmenu
is running.

-- 
Petr 'contyk' Sabata, Red Hat, Brno
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Received on Thu Nov 11 2010 - 14:37:18 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 11 2010 - 14:48:03 CET