freenode/#stumpwm - IRC Chatlog
Search
18:47:08
Diagon
Formbi - that's the definition of undefine-key. eg, it's the same as (undefine-key *root-map* (kbd "s"))
19:04:18
Diagon
If I define one key over another, it works (eg for "-"), but just undefining, does not work.
19:07:34
PuercoPop
Diagon: another way to undefined would be to use remove-if on the (kmap-bindings *root-map*)
19:25:22
Diagon
PuercoPop - I get 'The symbol "kmap-bindings" is not external in the stumpwm package'
19:29:04
PuercoPop
Diagon: looking at the code of define key, it may be the that the delete function is lacking a :test keyword argument (Can't test it right now)
19:33:18
Diagon
PuercoPop - Ok, your codes is not working, though .stmumpwmrc returns no erros. (kbd "s") still returns the same and the key still does what it originally was programmed to do.
19:34:52
Diagon
Hm. Well I'm going to try, but that VM is having trouble with it's network so I'm not /quite/ sure how I'm going to get it out of there ...
19:35:46
Diagon
It is really very simple, though, as I'm just reading the info file. I could remove it and then logout, just using your code and nothing else.
19:39:22
Diagon
PuercoPop - ok, other than comments my .stumpwmrc only contains the code you gave me. It still fails.
19:45:40
MichaelRaskin
I think I have decided a few years ago that defining a binding to a command that does nothing is simpler than looking up the problem
19:50:43
Diagon
Unfortunately, while I hack around in emacs a little bit, I'm not particularly good at lisp - and I've never seen the use of types there ... So I'm out of my league.
20:00:13
Diagon
I may provoke outrage by asking on a stumpwm list, but CLFSWM is, after all, based on it. As I'm just learning stump, should I have a look at that too?
20:16:18
PuercoPop
Diagon: I used s was used as shorthand for CLFSWM's website. Sorry for not being clearer
20:17:53
Diagon
Ah. Well, I'm going to keep going with stump. I ended up here in lieu of RatPoison, though that's such a cool name it was hard to pass on.
20:19:23
PuercoPop
Diagon: Just finished w/ what I was doing, I'm going to dig a little bit into this. Basically the issue is you can't undefine the (kbd "s") mapping
20:20:12
Diagon
I'm just trying to define things as I have them in emacs and in tmux, so they are all similar.