Re: cwm: fix annoying bug with group_show()

2022-11-23 Thread Luís Henriques
On Tue, Nov 01, 2022 at 10:47:40PM +, Luís Henriques wrote: > Hi! > > I've been seeing a bug since... forever (?) in cwm, and I finally decided > to try to fix it. Here's how I reproduce it: > > 1. open emacs on group 1 > 2. start gnus, which will ask me a pas

cwm: fix annoying bug with group_show()

2022-11-01 Thread Luís Henriques
Hi! I've been seeing a bug since... forever (?) in cwm, and I finally decided to try to fix it. Here's how I reproduce it: 1. open emacs on group 1 2. start gnus, which will ask me a password 3. before emacs asks me the password, switch to group 2 4. go back to group 1 and... no emacs window 5.

Re: ksh: diff to add tab completion for '..'

2021-11-26 Thread Luís Henriques
On Sun, Nov 21, 2021 at 03:36:33PM +, Luís Henriques wrote: > Hi! > > I always found it annoying that, in ksh, doing: > > $ ls .. > > followed by TAB doesn't allow me to list the options (i.e. show files/dirs > in '..'). I need to do add a trailing

ksh: diff to add tab completion for '..'

2021-11-21 Thread Luís Henriques
Hi! I always found it annoying that, in ksh, doing: $ ls .. followed by TAB doesn't allow me to list the options (i.e. show files/dirs in '..'). I need to do add a trailing '/' to this 'ls' command in order to have the completions listed. This diff makes this work without the trailing '/', b

Re: cwm: fix invalid KeyCode in configuration

2021-11-19 Thread Luís Henriques
On Fri, Nov 19, 2021 at 08:18:45AM +0100, Jan Stary wrote: > On Nov 19 00:01:04, stef...@sdaoden.eu wrote: > > Jan Stary wrote in > > : > > |On Nov 18 20:13:03, h...@stare.cz wrote: > > |> On Nov 16 21:33:31, hen...@camandro.org wrote: > > |>> I've tried to setup a line like: > > |>> bind-key

cwm: fix invalid KeyCode in configuration

2021-11-16 Thread Luís Henriques
Hi! I've tried to setup a line like: bind-key XF86MonBrightnessDown "" in my .cwmrc and the result was that no key event was sent to my windows. Looking at the code, it looks like XKeysymToKeycode() is returning 0 for the XF86MonBrightnessDown keysym. And this means that XGrabKey() will get 'A