Hi Rodrigo,

On Sat, Aug 27, 2011 at 11:03:40AM -0300, Rodrigo Lazo wrote:
> Now, windowlist command tries to match what I type with a window name,
> which is great, except that it has two problems:
> 
> * `j` and `k` move-up and move-down the list, which is confusing.

This has been discussed before.  I believe the bindings were added
before menus were made searchable, and left in for backward
compatibility.  You can disable them with:

(define-key *menu-map* (kbd "j") nil)
(define-key *menu-map* (kbd "k") nil)

We probably could remove them from the defaults: I haven't heard
anyone with a particularly strong opinion on the matter.


> * Pressing Backspace inserts a `?` char, instead of deleting the
>   preceding char.
> 
> Fix for the backspace is pretty simple, at least in the way I've done it
> (not sure if it's the right way, though).

There was a previous patch that did this in a slightly nicer way, by
making it a function that could be bound in *menu-map*:

http://lists.nongnu.org/archive/html/stumpwm-devel/2011-03/txtROpg6gZmvP.txt

ISTR there were some other issues with that patch, so it wasn't
applied, but that part seems ok and could be extracted.


Incidentally, the current-input slot should really use an adjustable
vector with a fill pointer (as in input.lisp) rather than copying
strings all over the place.  This should be an easy fix if anyone
feels like doing it.


Ben

_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to