Subject: bug#18708: 24.4.50; kmacro-step-edit-macro: Error in post-command-hook

From: Andreas Politz <[email-masked]>
Date: Mon, 13 Oct 2014 16:34:48 +0200

emacs -Q
(setq-local post-command-hook '(t)) C-x C-e ;; or M-x eldoc-mode RET
C-x ( RET C-x )
C-x C-k SPC SPC

Error in post-command-hook (kmacro-step-edit-post-command): (void-variable kmacro-step-edit-active)

A. Politz

In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2014-08-23 on luca
Repository revision: 114440 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux 7.6 (wheezy)

Configured using:
 `configure -C'

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

Important settings:
  value of $LC_COLLATE: C
  value of $LC_MESSAGES: C
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Messages

Minor modes in effect:
  tooltip-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
  buffer-read-only: t
  line-number-mode: t

Recent input:
M-x e l d o c - m o d e <return> C-x ( <return> C-x 
) C-x C-k SPC SPC C-x b m e <backspace> <backspace> 
<return> C-p C-p C-SPC C-e M-w M-x r e p o r t - e 
m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Eldoc mode enabled
Defining kbd macro...
Keyboard macro defined
Error in post-command-hook (kmacro-step-edit-post-command): (void-variable kmacro-step-edit-active)

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml easymenu 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 edmacro kmacro eldoc
cl-loaddefs cl-lib help-fns time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment 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 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 gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 79196 7520)
 (symbols 48 18568 0)
 (miscs 40 45 125)
 (strings 32 11956 4815)
 (string-bytes 1 348232)
 (vectors 16 9985)
 (vector-slots 8 390262 11528)
 (floats 8 72 156)
 (intervals 56 190 24)
 (buffers 976 11)
 (heap 1024 34875 678))