Closed gamaralf closed 3 years ago
If you can get a backtrace, or a recipe on how to reproduce this error, I will fix this. Its an easy issue to fix, but tracking down where it comes from is more of a challenge. I have fixed the possible places where I see this may occur in one function.
I see this error message appear once, when I first start emacs (with ergoemacs-mode enabled in my init file), and press C-o. It does not appear after the first time.
Using emacs version GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) if that's relevant.
Thanks. I will see if I can reproduce under windows tomorrow.
On Mon, Nov 2, 2015, 8:25 PM wilsonywx notifications@github.com wrote:
I see this error message appear once, when I first start emacs (with ergoemacs-mode enabled in my init file), and press C-o. It does not appear after the first time.
Using emacs version GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) if that's relevant.
— Reply to this email directly or view it on GitHub https://github.com/ergoemacs/ergoemacs-mode/issues/378#issuecomment-153219659 .
One way to make the error message appear:
I am using GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian
.
My OS is Ubuntu 14.04.3.
Still can't reproduce it with a clean environment. Did removing the elc
files fix this issue for you @gamaralf
@mattfidler deleting the elc
files unfortunately did not make the error message go away.
On the other hand, despite been an "error" message, I did not notice any other problems. The only issue I have noticed is the message itself.
It seems the error message is related to the Emacs version available for Ubuntu 14.04.3.
I have just installed a newer version of Emacs from source and the error message is gone!
The new version is GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
.
Hm. I wonder what packages Ubuntu installs for Emacs. Thanks for following up on this.
I can trigger it simply. After emacs starts with ergoemacs, M-a term
, then press M-y
. In my case, doing this screws up search in non-term buffers, and I have to restart emacs. M-y
in the minibuffer becomes "paste" instead of isearch-forward-next
Sometimes when I hit a shortcut like "C-o" I get the error message:
Error in post-command-hook (ergoemacs-post-command-hook): (wrong-type-argument stringp nil)