From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63949: 30.0.50; =?UTF-8?Q?`vc-print-log=C2=B4?= does not erase buffer when called from *vc-change-log* buffer, at least for CVS logs Date: Thu, 29 Jun 2023 23:37:58 +0200 Message-ID: <441fca98-d15e-4286-d7a2-3050b3fabdba@vodafonemail.de> References: <8c62dd9a-3cad-b992-bfc4-64b2f1db4485@vodafonemail.de> <87fs729jxu.fsf@ledu-giraud.fr> <7bc0c78e-e4b5-0edc-0e9f-2f8fbafc352f@vodafonemail.de> <83y1kt180v.fsf@gnu.org> <8477db3b-b237-aa4b-b4aa-41d31cb77ac1@vodafonemail.de> <834jnf26v2.fsf@gnu.org> <83ilbvz0xx.fsf@gnu.org> <7fe39b49-8319-d7ab-99b3-afe10dc62177@vodafonemail.de> <1c00eecf-9285-3b9e-cf9f-4eba56461ae7@gutov.dev> <83jzw1pc2h.fsf@gnu.org> <1e7358a7-5446-6a89-3556-57e779b545ee@vodafonemail.de> <5b25044e-5d5c-fe15-4b87-b49bfe548daf@vodafonemail.de> <56434485-eaff-0e57-c464-37d14aa201c4@gutov.dev> <83ilbg4yuw.fsf@gnu.org> <72a22541-ba77-11b5-5bb6-3a5cd85586c6@gutov.dev> Reply-To: Jens Schmidt Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23452"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cc: 63949@debbugs.gnu.org, Eli Zaretskii To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 29 23:39:30 2023 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 1qEzMP-0005u6-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Jun 2023 23:39:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEzM1-0002AV-OC; Thu, 29 Jun 2023 17:39:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEzLz-0002A6-Cw for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2023 17:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEzLy-0003nh-TK for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2023 17:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qEzLy-0007d5-9D for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2023 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Jun 2023 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63949 X-GNU-PR-Package: emacs Original-Received: via spool by 63949-submit@debbugs.gnu.org id=B63949.168807470129278 (code B ref 63949); Thu, 29 Jun 2023 21:39:02 +0000 Original-Received: (at 63949) by debbugs.gnu.org; 29 Jun 2023 21:38:21 +0000 Original-Received: from localhost ([127.0.0.1]:54175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEzLJ-0007cA-3Y for submit@debbugs.gnu.org; Thu, 29 Jun 2023 17:38:21 -0400 Original-Received: from mr3.vodafonemail.de ([145.253.228.163]:37480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEzLG-0007bu-B2 for 63949@debbugs.gnu.org; Thu, 29 Jun 2023 17:38:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1688074692; bh=03oWURzHwpGAJ8dI7UhBm67VbOVt2LjQGs08bxnxiCI=; h=Message-ID:Date:User-Agent:Subject:Content-Language:To:References: From:In-Reply-To:Content-Type:From; b=iHrGllFJALHaiHDittqzoShgANe+2wcEcZ2omofcctIHeiy4aGHQA9rzMzyZGCAUA 4sbNoCQFnimcdQ+/sqzS2KnLIz71EO7Yyd6RXrD75wg4HfThIfbIDN3qZV01mzZYhk vZVavOm7FNrmVy23nUIHIqTRC5l4jhhyuNEljCNU= Original-Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr3.vodafonemail.de (Postfix) with ESMTPS id 4QsWyr2BCpz29JD; Thu, 29 Jun 2023 21:38:12 +0000 (UTC) Original-Received: from [192.168.178.41] (port-83-236-59-70.dynamic.as20676.net [83.236.59.70]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4QsWyd4fYNzHnfp; Thu, 29 Jun 2023 21:37:58 +0000 (UTC) Content-Language: de-DE-frami, en-US In-Reply-To: <72a22541-ba77-11b5-5bb6-3a5cd85586c6@gutov.dev> X-purgate-type: clean X-purgate: clean X-purgate-size: 660 X-purgate-ID: 155817::1688074688-12FFF0CB-F7E3F28B/0/0 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264299 Archived-At: On 2023-06-24 05:08, Dmitry Gutov wrote: > And done. Thanks. > I'm attaching a patch which should work fine, though could be a tad > risky for 29. I like the patch - I think it is more in line with what the function does/seems to do originally. > Jens (and possibly others), could you try it out? And it works, too. It covers my test cases. I also tried to run some tests with indirect buffers, and they came out as I would have expected them to come out. It would have been nice to have the opinion of the original author of commit d494833d47968fcd97ba549654a259d6fb6c2eee on this, but he doesn't seem to be active any longer.