all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: charles@aurox.ch (Charles A. Roelli)
To: tim.nielens@gmail.com, 18611@debbugs.gnu.org
Subject: bug#18611: 24.3; macre step edit and use of registers
Date: Mon, 23 Oct 2017 12:13:42 +0200	[thread overview]
Message-ID: <m28tg2b295.fsf@aurox.ch> (raw)
In-Reply-To: <m2377fnafb.fsf@aurox.ch> (charles@aurox.ch)

> Date: Thu, 21 Sep 2017 21:01:12 +0200
> From: charles@aurox.ch (Charles A. Roelli)
> CC: 18611@debbugs.gnu.org
> 
> > Date: Thu, 2 Oct 2014 09:45:19 +0200
> > From: Tim Nielens <tim.nielens@gmail.com>
> > 
> > Hello, I get an unwanted behavior when I use the step edit through macros
> > on a macro involving insertions of register content.
> > 
> > Step to reproduce: Create a macro involving a string insert from a macro
> > (C-x r i i). Start the step edit through it. When you arrive to that
> > step press yes to perform the action and go to the next edit step,
> > you'll see that the register key will disapear. If you finish the step
> > edit and save it, the macro will no longer be valid since the register
> > key disappeared. Other scenario to bump into a problem: when you arrive
> > at the insertion, press "r" to replace that operation and try to repeat
> > the insertion action (C-x r i i). It will fail with this error message:
> > Error in post-command-hook (kmacro-step-edit-post-command):
> > (void-variable kmacro-step-edit-active).
> 
> Something similar still affects emacs-26.  Thanks for the report.
> 
> To reproduce from emacs -q:
> C-x b RET
> C-x h
> C-x r s i
> M->
> F3
> C-x r i i
> F4
> C-x C-k SPC
> y
> Error in post-command-hook (kmacro-step-edit-post-command):
> (void-variable kmacro-step-edit-active)
> C-x C-k SPC
> (observe that the last "i" in "C-x r i i" is gone)
> 
> Actually, the following is enough to trigger the error from emacs -q:
> C-x b RET
> C-x C-k SPC
> (i.e., when the last kbd macro doesn't exist)

As of the fix for Bug#28818, the (void-variable
kmacro-step-edit-active) errors should be gone, but the buggy register
behavior remains.





  reply	other threads:[~2017-10-23 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02  7:45 bug#18611: 24.3; macre step edit and use of registers Tim Nielens
2017-09-21 19:01 ` Charles A. Roelli
2017-10-23 10:13   ` Charles A. Roelli [this message]
2021-07-13 22:08     ` Lars Ingebrigtsen
2021-08-11 20:41       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28tg2b295.fsf@aurox.ch \
    --to=charles@aurox.ch \
    --cc=18611@debbugs.gnu.org \
    --cc=tim.nielens@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.