GNU bug report logs - #28818
kmacro stepping: void-variable kmacro-step-edit-active

Previous Next

Package: emacs;

Reported by: charles <at> aurox.ch (Charles A. Roelli)

Date: Fri, 13 Oct 2017 18:37:02 UTC

Severity: normal

Merged with 18708

Found in version 24.4.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: charles <at> aurox.ch (Charles A. Roelli)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 28818 <at> debbugs.gnu.org
Subject: bug#28818: kmacro stepping: void-variable kmacro-step-edit-active
Date: Sun, 15 Oct 2017 20:40:49 +0200
> Date: Fri, 13 Oct 2017 22:07:34 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Date: Fri, 13 Oct 2017 20:36:16 +0200
> > From: charles <at> aurox.ch (Charles A. Roelli)
> > 
> > From the pretest 26.0.90:
> > 
> > C-x b RET 			> switch to *scratch*
> > F3 abc F4			> define a simple kmacro
> > C-x C-k SPC			> edit it
> > SPC SPC SPC			> run through it
> > 
> > Error in post-command-hook (kmacro-step-edit-post-command):
> > (void-variable kmacro-step-edit-active)
> 
> Does the below fix this?
> 
> diff --git a/lisp/kmacro.el b/lisp/kmacro.el
> index 582a58e..4abc571 100644
> --- a/lisp/kmacro.el
> +++ b/lisp/kmacro.el
> @@ -937,7 +937,7 @@ kmacro-edit-lossage
>  
>  ;;; Single-step editing of keyboard macros
>  
> -(defvar kmacro-step-edit-active)  	 ;; step-editing active
> +(defvar kmacro-step-edit-active nil)  	 ;; step-editing active
>  (defvar kmacro-step-edit-new-macro)  	 ;; storage for new macro
>  (defvar kmacro-step-edit-inserting)  	 ;; inserting into macro
>  (defvar kmacro-step-edit-appending)  	 ;; append to end of macro

Yes it does.  Thanks.




This bug report was last modified 7 years and 215 days ago.

Previous Next


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