Discussion:
Latest Emacs and calc
James Engel
2018-11-15 20:52:28 UTC
Permalink
I am using Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.23)
on linux and when I attempt to enter number into calc I get the following error

Key sequence M-y starts with a non-prefix key ESC

The same version on mac does not show the error and works fine.
What does this error mean? Any way to fix it. Do I have use any special compile option?
I also tried version 24, 25, and 27 all give the same error.

Thanks
Jim Engel
HASM
2018-11-16 01:23:38 UTC
Permalink
I am using Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
2.24.23) on linux and when I attempt to enter number into calc I get
the following error
I don't think I've ever had problems with calc. Now running GNU Emacs
26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2).

-- HASM
James Engel
2018-11-16 04:18:54 UTC
Permalink
I found out what is causing the issue. Code in my .emacs
I grabbed some code to make cut/paste from X clipboard work like it use to
in emacs 24.

(defun my/paste-in-minibuffer ()
(local-set-key (kbd "M-y") 'paste-from-x-clipboard)
)
(add-hook 'minibuffer-setup-hook 'my/paste-in-minibuffer)

The above code is what caused the problem.
Removing the add-hook solved the problem.
Thanks for looking at this.

Jim
Post by HASM
I am using Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
2.24.23) on linux and when I attempt to enter number into calc I get
the following error
I don't think I've ever had problems with calc. Now running GNU Emacs
26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2).
-- HASM
Loading...