From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#18611: 24.3; macre step edit and use of registers Date: Mon, 23 Oct 2017 12:13:42 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1508753656 5697 195.159.176.226 (23 Oct 2017 10:14:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2017 10:14:16 +0000 (UTC) To: tim.nielens@gmail.com, 18611@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 23 12:14:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6ZkG-0000J4-Db for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Oct 2017 12:14:08 +0200 Original-Received: from localhost ([::1]:37835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6ZkM-0003tq-5j for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Oct 2017 06:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6ZkF-0003tX-G1 for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 06:14:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6ZkA-0008R6-G4 for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 06:14:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e6ZkA-0008Qt-C7 for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 06:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e6ZkA-0003Ye-0W for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2017 06:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Oct 2017 10:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18611-submit@debbugs.gnu.org id=B18611.150875360713618 (code B ref 18611); Mon, 23 Oct 2017 10:14:01 +0000 Original-Received: (at 18611) by debbugs.gnu.org; 23 Oct 2017 10:13:27 +0000 Original-Received: from localhost ([127.0.0.1]:56629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6Zja-0003XZ-VR for submit@debbugs.gnu.org; Mon, 23 Oct 2017 06:13:27 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:58899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6ZjX-0003XE-Cw for 18611@debbugs.gnu.org; Mon, 23 Oct 2017 06:13:25 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 61ECF22564 for <18611@debbugs.gnu.org>; Mon, 23 Oct 2017 10:06:26 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1508753184; x=1509617185; bh=hVzHsAqeMXMEF tR74Bq5Q/eWcGZ2/dALv1U0vMh7gC4=; b=lgzjSc5Er8wsh3pBNXaDXHiSXvGKi rwsW0QAJb6HEZUVSK/7NmtSlkUPT5wQizz5/2ENY741pE8tWns60hsMChCGfncm6 vamcclnIBoLKjrA42OXowOyRbLQtei3ZmMVRIsHyiwL20poFiQTjF+0riK/6w8MX K+r1IL1dd/LjTk= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XQcz59gukPCU for <18611@debbugs.gnu.org>; Mon, 23 Oct 2017 10:06:24 +0000 (UTC) Original-Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 1C76B22555; Mon, 23 Oct 2017 10:06:23 +0000 (UTC) In-reply-to: (charles@aurox.ch) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138883 Archived-At: > 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 > > > > 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.