GNU bug report logs - #26287
26.0.50; Using atomic-change-group right after an undo does not work

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Andreas Politz <politza@HIDDEN>; merged with #34405; dated Tue, 28 Mar 2017 20:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 26287 34405. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Mar 2017 20:12:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 16:12:24 2017
Received: from localhost ([127.0.0.1]:49685 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1csxTc-0005N3-8R
	for submit <at> debbugs.gnu.org; Tue, 28 Mar 2017 16:12:24 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41191)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <politza@HIDDEN>) id 1csxTa-0005Mq-3V
 for submit <at> debbugs.gnu.org; Tue, 28 Mar 2017 16:12:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <politza@HIDDEN>) id 1csxTU-0004AR-Bn
 for submit <at> debbugs.gnu.org; Tue, 28 Mar 2017 16:12:17 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54973)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <politza@HIDDEN>)
 id 1csxTU-0004AN-8P
 for submit <at> debbugs.gnu.org; Tue, 28 Mar 2017 16:12:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60381)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <politza@HIDDEN>) id 1csxTT-00046N-8J
 for bug-gnu-emacs@HIDDEN; Tue, 28 Mar 2017 16:12:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <politza@HIDDEN>) id 1csxTP-00047p-6u
 for bug-gnu-emacs@HIDDEN; Tue, 28 Mar 2017 16:12:15 -0400
Received: from gateway-a.fh-trier.de ([143.93.54.181]:49427)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <politza@HIDDEN>)
 id 1csxTO-00046L-Sz
 for bug-gnu-emacs@HIDDEN; Tue, 28 Mar 2017 16:12:11 -0400
X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum
 Hochschule Trier (RZ/HT)]
Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de
 [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested) (Authenticated sender: politza)
 by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 021BF179AB0E
 for <bug-gnu-emacs@HIDDEN>; Tue, 28 Mar 2017 22:11:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de;
 s=default; t=1490731915; bh=jK0wWfboR9KpftSF0MlSVToqmAw=;
 h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type;
 b=aBzCN/OSuXTjyKNl6Bg9atQHsfWXdXG0KEfgbCffigSwit/irAZgawgduLiCFgr1q
 MPq7bUWXiFFm/7ku7GrwYRew/Rs5Czy3SErWMM4c6Wb8sx96WDAjwDsXD/v9BHcHXH
 lCeablIcp0getH2XR/kcv5eZBAdRzDQNZRyVjFAk=
From: Andreas Politz <politza@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.0.50; Using atomic-change-group right after an undo does not work
Date: Tue, 28 Mar 2017 22:11:54 +0200
Message-ID: <87poh1ma9h.fsf@luca>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


I seems that atomic-change-group has problems in case its used while in
the middle of an undo sequence.
 
Have this function defined:

(defun undo-bug ()
  (interactive)
  (catch 'done
    (atomic-change-group
      (insert "a b c")
      (throw 'done nil))))

$ emacs -Q

C-x b xxx RET
xxx
C-/
M-x undo-bug RET

Debugger entered--Lisp error: (error "Undoing to some unrelated state")
  signal(error ("Undoing to some unrelated state"))
  error("Undoing to some unrelated state")
  cancel-change-group(((#<buffer xxx> nil)))
  ...




Acknowledgement sent to Andreas Politz <politza@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26287; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 9 Feb 2019 20:00:01 UTC

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