From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.bugs Subject: bug#26287: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490731996 32245 195.159.176.226 (28 Mar 2017 20:13:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Mar 2017 20:13:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 26287@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 28 22:13:08 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 1csxUK-0007Uy-Lj for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Mar 2017 22:13:08 +0200 Original-Received: from localhost ([::1]:55114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csxUQ-0004aM-KL for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Mar 2017 16:13:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csxUI-0004Yg-6Y for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csxUE-0004mO-48 for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:13:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csxUE-0004mK-0m for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1csxUD-0005OF-RV for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Mar 2017 20:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26287 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149073194420653 (code B ref -1); Tue, 28 Mar 2017 20:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Mar 2017 20:12:24 +0000 Original-Received: from localhost ([127.0.0.1]:49685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csxTc-0005N3-8R for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:12:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csxTa-0005Mq-3V for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:12:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csxTU-0004AR-Bn for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:12:17 -0400 Original-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 ) id 1csxTU-0004AN-8P for submit@debbugs.gnu.org; Tue, 28 Mar 2017 16:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csxTT-00046N-8J for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:12:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csxTP-00047p-6u for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:12:15 -0400 Original-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 ) id 1csxTO-00046L-Sz for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2017 16:12:11 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-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 ; 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= 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-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:131038 Archived-At: 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(((# nil))) ...