GNU bug report logs - #20286
25.0.50; Alias to undefined command

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Thu, 9 Apr 2015 18:13:02 UTC

Severity: normal

Merged with 20201

Found in version 25.0.50

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20286: closed (25.0.50; Alias to undefined command)
Date: Thu, 09 Apr 2015 18:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 09 Apr 2015 21:36:34 +0300
with message-id <83oamxdu8d.fsf <at> gnu.org>
and subject line Re: bug#20286: 25.0.50; Alias to undefined command
has caused the debbugs.gnu.org bug report #20286,
regarding 25.0.50; Alias to undefined command
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20286: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20286
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
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))


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20286-done <at> debbugs.gnu.org
Subject: Re: bug#20286: 25.0.50; Alias to undefined command
Date: Thu, 09 Apr 2015 21:36:34 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> 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.


This bug report was last modified 10 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.