GNU bug report logs - #22716
25.0.91; describe-key causes an error for lambda functions after loading mode-local

Previous Next

Package: emacs;

Reported by: Sho Takemori <stakemorii <at> gmail.com>

Date: Wed, 17 Feb 2016 12:02:02 UTC

Severity: normal

Found in version 25.0.91

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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: Sho Takemori <stakemorii <at> gmail.com>
Subject: bug#22716: closed (Re: 25.0.91; describe-key causes an error for
 lambda functions after loading mode-local)
Date: Tue, 05 Apr 2016 21:59:02 +0000
[Message part 1 (text/plain, inline)]
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 22716 <at> debbugs.gnu.org.

-- 
22716: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22716
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 22716-done <at> debbugs.gnu.org, Sho Takemori <stakemorii <at> gmail.com>
Cc: Kaushal Modi <kaushal.modi <at> gmail.com>
Subject: Re: 25.0.91; describe-key causes an error for lambda functions after
 loading mode-local
Date: Tue, 5 Apr 2016 14:58:22 -0700
[Message part 3 (text/plain, inline)]
I installed the attached patch, which should fix the problem. Thanks for 
reporting it.
[0001-Avoid-describe-key-error-with-lambdas.patch (application/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Sho Takemori <stakemorii <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.91; describe-key causes an error for lambda functions after
 loading mode-local
Date: Wed, 17 Feb 2016 21:00:33 +0900
[Message part 6 (text/plain, inline)]
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))
[Message part 7 (text/html, inline)]

This bug report was last modified 9 years and 49 days ago.

Previous Next


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