From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#35191: 27.0.50; undo of comment-region signals error (when comment-combine-change-calls=t) Date: Tue, 02 Feb 2021 15:43:00 +0100 Message-ID: <87r1lyledn.fsf_-_@gnus.org> References: <871s2absj3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2432"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 35191@debbugs.gnu.org, Stefan Monnier To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 02 16:05:48 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6xFU-0000U5-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Feb 2021 16:05:48 +0100 Original-Received: from localhost ([::1]:54324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6xFT-0005KE-J4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Feb 2021 10:05:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6wuQ-0004Yi-Lk for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 09:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6wuQ-0001zH-E6 for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 09:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6wuQ-0000IO-Ay for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 09:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Feb 2021 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35191 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 35191-submit@debbugs.gnu.org id=B35191.16122769981076 (code B ref 35191); Tue, 02 Feb 2021 14:44:02 +0000 Original-Received: (at 35191) by debbugs.gnu.org; 2 Feb 2021 14:43:18 +0000 Original-Received: from localhost ([127.0.0.1]:34419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wth-0000HH-Ke for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:43:17 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:33750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wta-0000Gx-EK for 35191@debbugs.gnu.org; Tue, 02 Feb 2021 09:43:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=N2yhJTaALObeTffnJtaW9yI41eLN8bS+V6SVo9z7Yyc=; b=jF6JmC+uA+O6rTPr4MXAw5td81 IdoFBbRB8gCWJJ+zI0MxMPFqRlWTO8yMLPqjDrp4NHDAkCRr2dbmoUBszYvmLs9DIZkqq/v5gMwrA qh5lg5yP5+Zgv7Go0pduHlLRBoGcSHCRGEE4/fFS4V6Pb/1jb9eXGCjYCL6h3K9c7kmc=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6wtR-0005Jt-0Q; Tue, 02 Feb 2021 15:43:03 +0100 X-Now-Playing: Sleater-Kinney's _The Center Won't Hold_: "Hurry on Home" In-Reply-To: <871s2absj3.fsf@gmail.com> (Noam Postavsky's message of "Tue, 09 Apr 2019 20:41:52 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199138 Archived-At: Noam Postavsky writes: >> Save the file below and then open it as follows: > > It's enough to use a single line > > foo ;; bar > > in emacs-lisp-mode. And the problem only happens with > comment-combine-change-calls set to t (the default). > >> % emacs -Q ..../zones.el >> C-M-f C-M-b ;; Move before first form >> C-M-SPC M-; ;; Comment out first form >> C-x u ;; Undo last change >> >> When I do that, I see an error message in the echo area that says: >> >> Changes to be undone by function different than announced I'm unable to reproduce this on the trunk (or in Emacs 27.1) -- because >> C-M-SPC M-; ;; Comment out first form doesn't comment anything out (it just moves point to the comment), and then there's nothing to undo. Is there something missing in the recipe? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no