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: Thu, 21 Sep 2017 21:01:12 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1506020536 30422 195.159.176.226 (21 Sep 2017 19:02:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Sep 2017 19:02:16 +0000 (UTC) Cc: 18611@debbugs.gnu.org To: Tim Nielens Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 21 21:02:06 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 1dv6je-0007H8-01 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Sep 2017 21:02:06 +0200 Original-Received: from localhost ([::1]:55158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv6jl-0007uj-4x for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Sep 2017 15:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv6je-0007uX-W1 for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2017 15:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dv6ja-0008Qr-VJ for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2017 15:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dv6ja-0008Qc-JA for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2017 15:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dv6ja-0007VT-4j for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2017 15:02: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: Thu, 21 Sep 2017 19:02:02 +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.150602048728807 (code B ref 18611); Thu, 21 Sep 2017 19:02:02 +0000 Original-Received: (at 18611) by debbugs.gnu.org; 21 Sep 2017 19:01:27 +0000 Original-Received: from localhost ([127.0.0.1]:51876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dv6j0-0007UY-QZ for submit@debbugs.gnu.org; Thu, 21 Sep 2017 15:01:26 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:37197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dv6iy-0007UL-TP for 18611@debbugs.gnu.org; Thu, 21 Sep 2017 15:01:25 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 80F972254E for <18611@debbugs.gnu.org>; Thu, 21 Sep 2017 18:54:57 +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=1506020096; x=1506884097; bh=HMd1c5nUKw4IH sr9JO2hDTCp5VKxANvkjMEgOWAXWxo=; b=XPhkvaBlUhmEufAy+a7qeDN1k1y6L 4upc01Ouz4oJKutog/jSiMUiT3P6HEDZieLAF0mMaoNCykAGOY0iHvKZCzG5obFb /4NIC+6GR5OeDUeDtnJqkEm0Gns4NsgyQWY4KW9U4VODRxuh+p0rqRkhCt1efYE1 YqdK4Os5JdiPQY= 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 8AcUSqXl_v_I for <18611@debbugs.gnu.org>; Thu, 21 Sep 2017 18:54:56 +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 2462522534; Thu, 21 Sep 2017 18:54:56 +0000 (UTC) In-reply-to: (message from Tim Nielens on Thu, 2 Oct 2014 09:45:19 +0200) 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:137219 Archived-At: > 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)