Getting error when passing negative arguments to a function
When I tried doing M- -1 M-f, I got the below error in the mode-line.
Should that be reported as emacs bug or is it a bug in this package?
Error running timer `guide-key/polling-function': (wrong-type-argument sequencep #<EMACS BUG: INVALID DATATYPE (PVEC 0xfffffffffffffffe) Save your buffers immediately and please report this bug>)
I also meets this error.
Please tell me the version of your Emacs and guide-key.
How often does this error happen? How about other commands with universal-negative-argument?
Hi,
I am using the stable 24.4 version of GNU emacs and Version: 20141207.907 of guide-key (latest from Melpa as of now).
This error happens every time I hit ESC - 1, even before I continue entering a binding like M-f. C-u M-f works fine (no error).
The issue is repeatable when using any negative prefix: ESC - 2, ESC - 3
Hmm, I sometimes get this error but not always. I'll survey conditions to reproduce the error and report to Emacs developers.
BTW, does this error prevent a command behavior? For example, when you type ESC - 1 M-f, does the cursor move backward one word? Or doesn't the cursor move?
If this error prevents that command behavior, I'll revert this feature.
No, the command behavior is not altered, it works as expected. Just that I see that error in the minibuffer.
Thanks.
Kaushal Modi
On Thu, Dec 11, 2014 at 10:48 PM, Tsunenobu Kai [email protected] wrote:
Hmm, I sometimes get this error but not always. I'll survey conditions to reproduce the error and report to Emacs developers.
BTW, does this error prevent a command behavior? For example, when you type ESC - 1 M-f, does the cursor move backward one word? Or doesn't the cursor move?
If this error prevents that command behavior, I'll revert this feature.
Reply to this email directly or view it on GitHub https://github.com/kai2nenobu/guide-key/issues/32#issuecomment-66728992.
I'm seeing this error too, but only on Emacs 24.4.1 on Windows (7, 64 bit). I don't see the error on GNU/Linux or Mac OS X.
If I enter ESC - 1, see the error, and then enter ESC - 1 again it reliably crashes Emacs.
@johnmastro Thanks for your informatin. But in my envirinment, both in Windows and in Linux this error happens.
@kaushalmodi @johnmastro Are you using key-chord with guide-key? If you so, turn off key-chord-mode and try again.
In my case, key-chord-inut-method seems to conflict with guide-key.
You're correct! That error does not show up after disabling key-chord-mode.
Yep, confirmed for me too: no problem without key-chord-mode.
Funny enough, this error occurs only when using -1, -2 or -3 negative prefixes. -4 does not cause a problem.
It depends on your key-chord bindings.
You must define key-chord bindings including 1, 2 or 3 but not 4.
Because I define key-chord like @4 and @5, I got the error with negative prefiex -4 or `-5'.
Does this issue fixed with emacs' commit https://lists.gnu.org/archive/html/emacs-diffs/2015-02/msg00425.html ?
I don't have emacs-trunk environment :-(