I have this tester code:
(defvar dbg-vec nil) (defun foobar () (interactive) (message "%S" (setq dbg-vec (this-command-keys-vector)))) (set-transient-map '(keymap (left . foobar) (t . foobar) (97 . foobar)))
It works as expected in the GUI. But for
emacs -nw it gives strange behavior.
If I press left after evaling the last statement, I get:
- error "No previous locations for find-tag invocation"
, although the key code for left is 113.
Note that it still works as expected if I press a. What could be the source of this error and how can I fix it?