Search
Thursday, 15th of October 2020, 5:28:18 UTC
14:05:06
Achylles
I have installed equake, but do not know how to bind it to, say, F12
14:05:14
Achylles
;; emacsclient -n -e '(equake-invoke)'
14:05:16
Achylles
;; after launching an Emacs daemon of course. I recommend binding this command to a key like F12 in your DE/WM. Executing this command will create a new equake console on your screen the first time, and subsequently toggle the console (i.e. hide or show it)
14:06:06
Achylles
how do I bind it in my stumpwm.d/init.lisp ?
14:06:26
Achylles
or should I bind it in .bashrc ?
14:14:47
Achylles
(define-key *root-map* (kbd "C-F12") " emacsclient -n -e '(equake-invoke)'")
14:15:19
Achylles
but it gives me an error :(
15:14:51
adlai
do you still have access to the installation that signalled the error?
15:16:06
adlai
does it respect the copy-unhandled-error command ?
15:16:53
adlai
e.g., try hitting your prefix key, then the semicolon, typing "copy-", and hit tab a few times
15:17:35
Achylles
adlai, I have commented everything.
15:18:18
adlai
... that's the error message !?
15:18:32
Achylles
adlai, firstly should I leave this (define-key *root-map* (kbd "C-F12") " emacsclient -n -e '(equake-invoke)'") in init.lisp?
15:18:59
adlai
well, there is an extra space at the start of your command string. I have no idea what magic that byte does.
15:23:43
Achylles
adlai, I think I have to logoff to get the error again
15:28:19
adlai
ACTION wonders whether any joker ever went as far as asking for a screenshot of the layout that caused the error
15:28:58
adlai
ACTION . o O ( what does the debugger need, the fine bits in the dark pixels? )
17:16:42
Achylles
adlai, I solved the issue with -> (define-key *root-map* (kbd "F12") "exec emacsclient -n -e '(equake-invoke)'")
17:17:05
Achylles
adlai, thx a lot for trying to help me :)
17:19:02
adlai
enjoy your game, Achylles !]
17:20:23
Achylles
adlai, that's a shell not a game. I am not into games...
17:20:43
adlai
and please consider incorporating #'stumpwm:run-or-raise so that you must explicitly request to open parallel sessions
17:24:08
Achylles
adlai, like so? (define-key *root-map* (kbd "F12") #"stumpwm:run-or-raise exec emacsclient -n -e '(equake-invoke)'")
Thursday, 15th of October 2020, 17:28:18 UTC