Subject: bug#22716: closed (Re: 25.0.91; describe-key causes an error for lambda functions after loading mode-local)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 05 Apr 2016 21:59:02 +0000

Your bug report

#22716: 25.0.91; describe-key causes an error for lambda functions after loading mode-local

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
22716: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22716
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: 25.0.91; describe-key causes an error for lambda functions after loading mode-local
From: Paul Eggert <[email-masked]>
To: [email-masked], Sho Takemori <[email-masked]>
Cc: Kaushal Modi <[email-masked]>
Date: Tue, 5 Apr 2016 14:58:22 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

I installed the attached patch, which should fix the problem. Thanks for 
reporting it.

Subject: 25.0.91; describe-key causes an error for lambda functions after loading mode-local
From: Sho Takemori <[email-masked]>
To: [email-masked]
Date: Wed, 17 Feb 2016 21:00:33 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

After loading "mode-local.el", describe-key causes an error for anonymous
commands.
To reproduce it, please evaluate the following code in the scratch buffer:

(progn
  (require 'mode-local)
  (global-set-key [up] (lambda () (interactive)))
  (describe-key [up]))

Best regards,
Sho Takemori

In GNU Emacs 25.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7)
 of 2016-02-17 built on K430-Ubuntu
Repository revision: 132dbf089ffdc6c77c9383f225f2458d21c869a5
Windowing system distributor 'The X.Org Foundation', version 11.0.11702000
System Description: Ubuntu 15.10

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_MONETARY: ja_JP.UTF-8
  value of $LC_NUMERIC: ja_JP.UTF-8
  value of $LC_TIME: ja_JP.UTF-8
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: @im=fcitx
  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
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
Mark set
Entering debugger...
Back to top level
Quit

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils debug help-fns
help-mode easymenu cl-loaddefs pcase cl-lib mode-local find-func
time-date mule-util japan-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
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 cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 91710 9142)
 (symbols 48 20041 0)
 (miscs 40 328 196)
 (strings 32 15383 4581)
 (string-bytes 1 450391)
 (vectors 16 12878)
 (vector-slots 8 509828 11245)
 (floats 8 166 75)
 (intervals 56 223 2)
 (buffers 976 13)
 (heap 1024 22127 862))