From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#41624: 28.0.50; wdired-change-to-wdired-mode sometimes infloops Date: Fri, 23 Oct 2020 13:38:06 +0200 Message-ID: <878sbxi34x.fsf@web.de> References: <87v9kcd83c.fsf@web.de> <87tuuml6jy.fsf@gnus.org> <87sga55kel.fsf@web.de> <87imb1gpar.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41624@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 23 13:39:15 2020 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 1kVvPe-0003Fj-PN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Oct 2020 13:39:14 +0200 Original-Received: from localhost ([::1]:34684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVvPd-0000be-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Oct 2020 07:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVvPS-0000Up-LP for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 07:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVvPS-0002V7-BX for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 07:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVvPS-0003NE-5f for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 07:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Oct 2020 11:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41624 X-GNU-PR-Package: emacs Original-Received: via spool by 41624-submit@debbugs.gnu.org id=B41624.160345309912905 (code B ref 41624); Fri, 23 Oct 2020 11:39:02 +0000 Original-Received: (at 41624) by debbugs.gnu.org; 23 Oct 2020 11:38:19 +0000 Original-Received: from localhost ([127.0.0.1]:56112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVvOk-0003M4-P8 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 07:38:18 -0400 Original-Received: from mout.web.de ([212.227.15.4]:49405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVvOg-0003Lk-R1 for 41624@debbugs.gnu.org; Fri, 23 Oct 2020 07:38:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1603453088; bh=dxKlaNvC4UfAa/0c6NciVvHgVuO7SSXop4/h1nSpaEc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=nZ3KjgQKxGZvRPg64zqvES8jetJcoCEsGrjts2PoKz4nuSnMEIKZ2dsH8xB32wn3S SHrfxBMdLWTLMTTeZeH8BP05qT70dajIUvz+IYNadN2/AzgJgHU6eyX12XDPhma+JY 226uxoeYg0RpfX4mHOlc38rRNudq59g+kkeHz/MY= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([188.98.110.121]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MFJjZ-1kcrPq3Xz7-00FmGt; Fri, 23 Oct 2020 13:38:08 +0200 In-Reply-To: <87imb1gpar.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 23 Oct 2020 13:22:20 +0200") X-Provags-ID: V03:K1:rZdYcFSctWy1jziwvozlY+YRmXmXskKiBp2hmgMXdJpyVfazq3M YSaFqwbG8k+XU5HTpYJYhqbZ8VlCsgv5oKLnYa809EE4Mo2EPMW8L4lUjfYRdIiICORmJuH CsZ5oqGp24hGyC48astXBMHNcXy/qZk4RywCjcrW3VN0ASoBeyAPIY7cFVqir/rxiP2zUMW OazzdJWp0iVFNdzE4ginA== X-UI-Out-Filterresults: notjunk:1;V03:K0:4+6gLrMqARA=:2lZ/i99zuXaEJd9WeIUoqH u6ltzMo4Pagrf4LihCO/WHoCt5jc58aTS+n5t2VfGvzEdJAwixhkubnd1dxuc1U0jz94DU88V gMQEyWvtJ0gUzHNm46Dk/yetXto+nKf5r3gmQj1jztgpImjJV1pzFytDllNZYVO/5JyvTtUJf 0ukibDndyPtYPdtONdKqRmZ0SNyOsRpCHKeA/Y46b0uJWKMR5w9BmhfUo6TsnzByqyMPc4UXA KQpx1DJfxgfZzn0ivoKBZpq45uC5ERvpL0L9PBIkGai2ARU5qESXBbBQY3bOhv/jf1vBbeKxF JVc/Dd4dOr+XZnUV3wgXbmh5HDhri54J4c9EsEa61qW1yzZhNRSwnJu0mN+Q6FAXiDbteTxfB Rv9mj7S9etwEiiLtarv7C/o5FeN/FqbF2umiQ2St6eleBXod4KSn3/lv/ke9RYwgP3+NPz+pm WKnO3N3oLwfFpCE9NIkRA61LtGnQBIHh31OvjK7DlU0EJWmekKWIVc58GPAFZlOX65WmN8lqd 7QuK3l6/pcOslIQpIUtIuo8v7CwkjSFsYoB3xPrl0q9f1VAy0q0mln1jFQzXT8Qmb30qdfzF5 rFqtEkEp6eHeeZK5zKe3J2ujacELm84iISl74PKXPV2tacgLHzxTiwGxifBbtvW43+zLDB0gS +aNZzTmsxh5vtGJlgunMB2sS+efZXbGNowHlc6BDlCaXbNb9LFjzuLV+I927kbJdQqHYEleWZ L8hIclFHom7PPiBbjrt7E9HvFDnn/Z4fVbvtoQNaPhSP989uKO5RHCnAkGq+NLoIuiJkxc/f 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:191358 Archived-At: Lars Ingebrigtsen writes: > > I can't answer that, but I can tell that when I manually delete the last > > lines of text and whitespace in such a buffer (saying "find finished > > ..."), it works as expected (though I'm getting a message saying that "1 > > rename actions failed"). But I'm definitely able to change permissions > > with wdired then. So it seems possible to make the feature work, the > > infloop results from the unsuitable termination condition of the loop in > > `wdired-preprocess-perms'. > > If even renaming doesn't work, then it does sound like this was never > supposed to be a command that's applicable to dired-find buffers, I > think? I didn't say renaming doesn't work, I only got that inappropriate message. Maybe just because I had edited the buffer by hand to make the loop terminate. I'm not convinced that this is not an intended use case. - on the contrary. Everything works, basically, it just seems that some details in the code are not prepared for some things that are slightly different, e.g. the final line in those buffers. Please don't just signal an error unless you are really sure that this never worked and was never intended to work, and is not easy to fix. Regards, Michael.