From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#30285: dired-do-chmod vs. top line of dired Date: Tue, 06 Feb 2018 23:32:21 +0200 Organization: LINKOV.NET Message-ID: <87wozpx0re.fsf@mail.linkov.net> References: <87mv0wg80c.fsf@jidanni.org> <87efm8snnr.fsf@gmail.com> <83efm8irac.fsf@gnu.org> <87d11sl08v.fsf@gmail.com> <87fu6lwxxu.fsf@mail.linkov.net> <87k1vwcwy1.fsf@mail.linkov.net> <5620cf82-9402-4895-bdd1-fdf5401c8172@default> <871si475qh.fsf@mail.linkov.net> <87mv0pk7m5.fsf@mail.linkov.net> <5A76DA29.8030305@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1517952696 23475 195.159.176.226 (6 Feb 2018 21:31:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2018 21:31:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Tino Calancha , 30285-done@debbugs.gnu.org, jidanni@jidanni.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 06 22:31:31 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 1ejApb-0004gY-LH for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 22:31:11 +0100 Original-Received: from localhost ([::1]:37357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejArd-0002X5-2D for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 16:33:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejArS-0002Uf-M4 for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 16:33:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejArO-0002RB-Op for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 16:33:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejArO-0002R3-LG for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 16:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ejArO-0004tO-En for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 16:33:02 -0500 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Feb 2018 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 30285 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 30285@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org Original-Received: via spool by 30285-done@debbugs.gnu.org id=D30285.151795276618780 (code D ref 30285); Tue, 06 Feb 2018 21:33:02 +0000 Original-Received: (at 30285-done) by debbugs.gnu.org; 6 Feb 2018 21:32:46 +0000 Original-Received: from localhost ([127.0.0.1]:60637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejAr8-0004sq-7w for submit@debbugs.gnu.org; Tue, 06 Feb 2018 16:32:46 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:35458 helo=homiemail-a20.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejAr6-0004sj-TH for 30285-done@debbugs.gnu.org; Tue, 06 Feb 2018 16:32:45 -0500 Original-Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id 3987D7EC078; Tue, 6 Feb 2018 13:32:44 -0800 (PST) Original-Received: from localhost.linkov.net (m91-129-107-8.cust.tele2.ee [91.129.107.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPSA id B82217EC076; Tue, 6 Feb 2018 13:32:42 -0800 (PST) In-Reply-To: <5A76DA29.8030305@gmx.at> (martin rudalics's message of "Sun, 04 Feb 2018 11:02:17 +0100") 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:142989 Archived-At: > Wouldn't this > > - (let* ((files (dired-get-marked-files t arg)) > + (let* ((files (or (dired-get-marked-files t arg) > + (user-error "No files specified"))) > > call for an extra argument to 'dired-get-marked-files' to emit the > user error right there? If it's TRT in your cases, it might give > coders a heads-up that it's TRT in their cases as well. This is now pushed to master and closed.