stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] Re: Tab searchable menus


From: Lionel Flandrin
Subject: Re: [STUMP] Re: Tab searchable menus
Date: Tue, 8 Mar 2011 21:57:37 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Mar 08, 2011 at 09:56:38PM +0000, Lionel Flandrin wrote:
> On Tue, Mar 08, 2011 at 10:37:20PM +0100, Chris Kelly wrote:
> > On Mon, Mar 7, 2011 at 11:47 PM, Chris Kelly <address@hidden> wrote:
> > > Hi all,
> > >
> > > I've added some code to the latest menu.lisp to do the following:
> > >
> > > - highlight the letters being searched for where they appear in the menu
> > > - tab cycles search results
> > > - backspace deletes characters from the search
> > >
> > > I've (temporarily?) disabled jJ kK keybindings in the patch although I
> > > really think it is better if there is a search feature at all not to
> > > have searchable letters reserved for navigation. However, the patch
> > > will still work with j/k keybindings at least as well it does now and
> > > otherwise all keys work exactly as they did. Perhaps requiring the
> > > user to type '/' before search could be a good compromise?
> > >
> > > This is my first contribution and I'm not the worlds greatest lisp
> > > programmer, so all comments/advice are welcome and please let me know
> > > of any style errors or bugs I should fix.
> > >
> > > Regards,
> > > /Chris Kelly
> > >
> > Oops, last patch I made in a silly way. This one should (hopefully ) work.
> 
> It seems to work fine, however I've attached a version of the patch
> with a more lispish style.
> 
> Well done,

Now with the patch.

-- 
Lionel Flandrin

Attachment: 0001-updated-menu-so-that-it-highlights-search-matches-wh.patch
Description: Text document

Attachment: pgps3o5dVmPSi.pgp
Description: PGP signature


reply via email to

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