[dwm] dmenu filename tab-completion patch

2009-01-27 Thread Jeremy Jay
I always try to do this and get frustrated when I remember it doesn't work, but today I actually looked up the man pages and found out how easy it is to get dmenu to support filename tab-completion. This patch adds a small function that completes a filename argument as far as possible. If you'd

Re: [dwm] dmenu filename tab-completion patch

2009-01-27 Thread Antoni Grzymala
Jeremy Jay dixit (2009-01-27, 16:48): > I always try to do this and get frustrated when I remember it doesn't > work, but today I actually looked up the man pages and found out how > easy it is to get dmenu to support filename tab-completion. This patch > adds a small function that completes a fi

Re: [dwm] dmenu filename tab-completion patch

2009-01-27 Thread Ian Daniher
Great feature! Something I've been looking for in dmenu for a long time. Thanks, -- Ian On 1/27/09, Antoni Grzymala wrote: > Jeremy Jay dixit (2009-01-27, 16:48): > >> I always try to do this and get frustrated when I remember it doesn't >> work, but today I actually looked up the man pages and

Re: [dwm] dmenu filename tab-completion patch

2009-01-27 Thread bill lam
It is very useful! Can it be extended to handle ? -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩196 劉長卿 長沙過賈誼宅 三年謫宦此棲遲 萬古惟留楚客悲 秋草獨尋人去後 寒林空見日斜時 漢文有道恩猶薄 湘水無情弔豈知 寂寂江山搖落處 憐君何事到天

Re: [dwm] dmenu filename tab-completion patch

2009-01-28 Thread Jeremy Jay
On Wed 28 Jan 2009 - 12:38PM, bill lam wrote: > It is very useful! > Can it be extended to handle ? request granted =) first tab will do longest completion, subsequent tabs will cycle through all choices. I dont know if others tried or not, but my example didnt work... OpenOffice (and a few o

Re: [dwm] dmenu filename tab-completion patch

2009-01-28 Thread bill lam
On Wed, 28 Jan 2009, Jeremy Jay wrote: > request granted =) first tab will do longest > completion, subsequent tabs will cycle through > all choices. Thank you for prompt action! If you could consider another request. bash completion will list all available choices for in one step. Will it b

Re: [dwm] dmenu filename tab-completion patch

2009-01-29 Thread Jeremy Jay
You are welcome to try it yourself, the code is fairly simple right now, but I think this would be a little too complex for my tastes... Though it may be possible to have a secondary menu list for the files and keep it all in dmenu, but again this would be a lot more complicated than adding the si

Re: [dwm] dmenu filename tab-completion patch

2009-03-23 Thread Steven Blatchford
On 18:25 Wed 28 Jan, Jeremy Jay wrote: > >On Wed 28 Jan 2009 - 12:38PM, bill lam wrote: >> It is very useful! >> Can it be extended to handle ? > >request granted =) first tab will do longest >completion, subsequent tabs will cycle through >all choices. > >I dont know if others tried or not, but

Re: [dwm] dmenu filename tab-completion patch

2009-03-27 Thread Steven Blatchford
@Anselm I am curious, will you be committing this patch? -steve On 18:25 Wed 28 Jan, Jeremy Jay wrote: > >On Wed 28 Jan 2009 - 12:38PM, bill lam wrote: >> It is very useful! >> Can it be extended to handle ? > >request granted =) first tab will do longest >completion, subsequent tabs will cycl

Re: [dwm] dmenu filename tab-completion patch

2009-03-27 Thread Anselm R Garbe
Hi Steven, sorry for getting back so late, I think it might be worth considering it after the 4.0 release which I plan to do very soon. Kind regards, Anselm 2009/3/27 Steven Blatchford : > @Anselm > I am curious, will you be committing this patch? > > -steve > > > On 18:25 Wed 28 Jan, Jeremy Jay