From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30938: 27.0; `dired-do-create-files' etc.: do NOT always raise error if no files Date: Fri, 30 Mar 2018 18:30:10 +0300 Message-ID: <83k1tt8ttp.fsf@gnu.org> References: <<7ea429b5-b12e-4639-9d77-11db71504d9c@default> <87605g7xpj.fsf@mail.linkov.net> <70149736-0c90-4059-91d0-155144bf4abd@default> <87o9j6k5qx.fsf@mail.linkov.net>> <<8111e8b0-a7fb-4de4-9371-fd69c74c46e5@default>> <<83lgeac7xs.fsf@gnu.org>> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522423754 32380 195.159.176.226 (30 Mar 2018 15:29:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2018 15:29:14 +0000 (UTC) Cc: 30938@debbugs.gnu.org, juri@linkov.net To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 17:29:09 2018 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 1f1vxk-0008M7-U9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2018 17:29:09 +0200 Original-Received: from localhost ([::1]:46736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1vzo-0006xa-IE for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2018 11:31:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1vzc-0006wB-UE for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 11:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1vza-0002hD-8D for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 11:31:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1vza-0002gy-3h for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 11:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1vzZ-0001y9-U4 for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 11:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2018 15:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30938 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30938-submit@debbugs.gnu.org id=B30938.15224238247520 (code B ref 30938); Fri, 30 Mar 2018 15:31:01 +0000 Original-Received: (at 30938) by debbugs.gnu.org; 30 Mar 2018 15:30:24 +0000 Original-Received: from localhost ([127.0.0.1]:60364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1vyy-0001xE-6M for submit@debbugs.gnu.org; Fri, 30 Mar 2018 11:30:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1vyv-0001wx-Di for 30938@debbugs.gnu.org; Fri, 30 Mar 2018 11:30:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1vyn-0001P5-Hv for 30938@debbugs.gnu.org; Fri, 30 Mar 2018 11:30:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1vyn-0001P1-E0; Fri, 30 Mar 2018 11:30:13 -0400 Original-Received: from [176.228.60.248] (port=2103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f1vym-00033i-Ow; Fri, 30 Mar 2018 11:30:13 -0400 In-reply-to: (message from Drew Adams on Fri, 30 Mar 2018 08:01:42 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:144744 Archived-At: > Date: Fri, 30 Mar 2018 08:01:42 -0700 (PDT) > From: Drew Adams > Cc: juri@linkov.net, 30938@debbugs.gnu.org > > > Please provide at least one example (preferably more than one) of a > > real-life use case where these changes get in the way. > > > > Without an answer to that, I cannot see why we have to do anything > > about this issue, because up front I see no problem here at all, not > > one that has been spelled out. > > I answered your question, pointing to the example of calling > `dired-do-isearch' (or any of the other such commands) > non-interactively - e.g., by creating a command that uses it. I don't see how I was supposed to understand that this as an answer to my question: my question was not cited, and the text you posted had no immediate relation to the issue at hand, it just says that dired-get-marked-files could be called non-interactively, and intended to do nothing when no files were marked, which is already possible. I don't want to guess what that has to do with the issue you raised, and why. Please spell that out. > If you don't believe that a user or another library could > or would define such a command (or in any other way would > call an existing function that calls the workhorse function > `dired-get-marked-files', then too bad. Such uses can always call dired-get-marked-files with the last argument nil or omitted. Where's the problem?