GNU bug report logs - #46438
27.1; wdired bug and suggestion

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: Francesco Potortì <pot@HIDDEN>; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 29.1, send any further explanations to 46438 <at> debbugs.gnu.org and Francesco Potortì <pot@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 46438) by debbugs.gnu.org; 17 Jun 2022 12:48:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 17 08:48:41 2022
Received: from localhost ([127.0.0.1]:44232 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o2BOl-00085r-5l
	for submit <at> debbugs.gnu.org; Fri, 17 Jun 2022 08:48:41 -0400
Received: from quimby.gnus.org ([95.216.78.240]:55174)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1o2BOj-00085a-7t
 for 46438 <at> debbugs.gnu.org; Fri, 17 Jun 2022 08:48:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=a3DtojCHspbuGrw8XBihqIYbvSdIZDh/G7PJTnhux8E=; b=Q2Hi9JcLV4zojo/yLENXBI2mQW
 H48qwIagkZaIokeHbqZlKMnB1wGmuAWA850Crit05UlO4ijmYZfL2iJSRnx/gIJG5ab5Je0Lls3JK
 +7RdguKlJfTXHgHMV+u8wCgw7UxtT/5tgvnrM/hH6LGwp15pJEy0nQyK6JPb10wP606g=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1o2BOZ-00033o-Vf; Fri, 17 Jun 2022 14:48:18 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Francesco =?utf-8?Q?Potort=C3=AC?= <pot@HIDDEN>
Subject: Re: bug#46438: 27.1; wdired bug and suggestion
References: <E1lAC8U-001euD-4h@HIDDEN>
X-Now-Playing: Sevdaliza's _Shabrang_: "Darkest Hour"
Date: Fri, 17 Jun 2022 14:48:15 +0200
In-Reply-To: <E1lAC8U-001euD-4h@HIDDEN> ("Francesco
 =?utf-8?Q?Potort=C3=AC=22's?=
 message of "Thu, 11 Feb 2021 14:35:57 +0100")
Message-ID: <87y1xv8nhs.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Francesco Potortì <pot@HIDDEN> writes: > The bug: > > After
    (setq wdired-keep-marker-rename ?w), if I rename a file to an > already existing
    fle name and then answer no to overwriting it, the > other file is marked
    with w, while it should [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 46438
Cc: 46438 <at> debbugs.gnu.org
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: -1.0 (-)

Francesco Potort=C3=AC <pot@HIDDEN> writes:

> The bug:
>
> After (setq wdired-keep-marker-rename ?w), if I rename a file to an
> already existing fle name and then answer no to overwriting it, the
> other file is marked with w, while it should not.

I've now fixed this in Emacs 29.

> The suggestion:
>
> For some reason, once I finish editing in wdired mode, I istinctively
> press RET to finish, only to discover that it does nothing.  I would
> bind RET to wdired-exit or wdired-finish-edit

I think many people may be hitting RET by mistake in that buffer, not
wanting to end the editing session, so I think that would make things
more confusing.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46438; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 11 Feb 2021 13:36:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 11 08:36:15 2021
Received: from localhost ([127.0.0.1]:57991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lAC8k-0005vv-QB
	for submit <at> debbugs.gnu.org; Thu, 11 Feb 2021 08:36:15 -0500
Received: from lists.gnu.org ([209.51.188.17]:55168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pot@HIDDEN>) id 1lAC8e-0005vf-7t
 for submit <at> debbugs.gnu.org; Thu, 11 Feb 2021 08:36:13 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:42396)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pot@HIDDEN>) id 1lAC8Z-0001hV-6m
 for bug-gnu-emacs@HIDDEN; Thu, 11 Feb 2021 08:36:07 -0500
Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:57398)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pot@HIDDEN>) id 1lAC8X-0006Fr-Gc
 for bug-gnu-emacs@HIDDEN; Thu, 11 Feb 2021 08:36:02 -0500
Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102])
 (Authenticated sender: pot)
 by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 9E516B0827
 for <bug-gnu-emacs@HIDDEN>; Thu, 11 Feb 2021 14:35:58 +0100 (CET)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.0 at smtp-out.isti.cnr.it
Received: from pot by tucano.isti.cnr.it with local (Exim 4.94)
 (envelope-from <pot@HIDDEN>) id 1lAC8U-001euD-4h
 for bug-gnu-emacs@HIDDEN; Thu, 11 Feb 2021 14:35:58 +0100
From: =?utf-8?Q?Francesco_Potort=C3=AC?= <pot@HIDDEN>
Date: Thu, 11 Feb 2021 14:35:57 +0100
To: bug-gnu-emacs@HIDDEN
Subject: 27.1; wdired bug and suggestion
Organization: 
X-fingerprint: 4B02 6187 5C03 D6B1 2E31  7666 09DF 2DC9 BE21 6115
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-Id: <E1lAC8U-001euD-4h@HIDDEN>
Received-SPF: softfail client-ip=146.48.28.36; envelope-from=pot@HIDDEN;
 helo=smtp-clients1.isti.cnr.it
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
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: -3.3 (---)

The bug:

After (setq wdired-keep-marker-rename ?w), if I rename a file to an
already existing fle name and then answer no to overwriting it, the
other file is marked with w, while it should not.

The suggestion:

For some reason, once I finish editing in wdired mode, I istinctively
press RET to finish, only to discover that it does nothing.  I would
bind RET to wdired-exit or wdired-finish-edit

--
fp




Acknowledgement sent to Francesco Potortì <pot@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#46438; 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: Fri, 17 Jun 2022 13:00:02 UTC

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