--- Begin Message ---
Subject: |
25.0.50; Alias to undefined command |
Date: |
Thu, 09 Apr 2015 20:10:59 +0200 |
Start Emacs as an OS X GUI app. Then, evaluate
(global-set-key (kbd "s-i") #'foo)
where `foo' is undefined.
Then, press C-h k s-i. The help buffer explains:
s-i runs the command foo (found in global-map), which is an alias
for `foo', which is not defined. Please make a bug report.
In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.1.0, NS appkit-1344.72 Version
10.10.2 (Build 14C1514))
of 2015-04-08 on p
Repository revision: 1ea75a1ac2f65e50e9ac2dc9b3dcebaa9de55fa6
Windowing system distributor `Apple', version 10.3.1344
Configured using:
`configure --with-ns --prefix=/usr/local/emacs'
Configured features:
IMAGEMAGICK DBUS ACL GNUTLS LIBXML2 ZLIB
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
s-i is undefined
command-execute: Wrong type argument: commandp, foo
Type C-x 1 to delete the help window.
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-fns help-mode easymenu edmacro kmacro
cl-loaddefs pcase cl-lib time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind cocoa ns multi-tty emacs)
Memory information:
((conses 16 80538 4357)
(symbols 48 18822 1)
(miscs 40 44 191)
(strings 32 13562 4387)
(string-bytes 1 382394)
(vectors 16 10190)
(vector-slots 8 386927 5192)
(floats 8 84 220)
(intervals 56 197 22)
(buffers 976 13))
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20286: 25.0.50; Alias to undefined command |
Date: |
Thu, 09 Apr 2015 21:36:34 +0300 |
> From: Philipp Stephani <address@hidden>
> Date: Thu, 09 Apr 2015 20:10:59 +0200
>
>
> Start Emacs as an OS X GUI app. Then, evaluate
>
> (global-set-key (kbd "s-i") #'foo)
>
> where `foo' is undefined.
> Then, press C-h k s-i. The help buffer explains:
>
> s-i runs the command foo (found in global-map), which is an alias
> for `foo', which is not defined. Please make a bug report.
To solve this "bug", don't bind a key to a function that is undefined.
--- End Message ---