From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#30285: dired-do-chmod vs. top line of dired Date: Sun, 04 Feb 2018 11:02:17 +0100 Message-ID: <5A76DA29.8030305@gmx.at> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1517738546 17661 195.159.176.226 (4 Feb 2018 10:02:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2018 10:02:26 +0000 (UTC) Cc: 30285@debbugs.gnu.org, Tino Calancha , jidanni@jidanni.org To: Juri Linkov , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 04 11:02:21 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 1eiH7S-0002j4-Sd for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Feb 2018 11:01:54 +0100 Original-Received: from localhost ([::1]:57263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiH9U-0002vD-8N for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Feb 2018 05:04:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiH8d-0002IP-59 for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2018 05:03:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiH8Z-0003qV-5d for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2018 05:03:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiH8Y-0003qN-RI for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2018 05:03:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eiH8Y-0005ww-J4 for bug-gnu-emacs@gnu.org; Sun, 04 Feb 2018 05:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Feb 2018 10:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30285 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30285-submit@debbugs.gnu.org id=B30285.151773855922841 (code B ref 30285); Sun, 04 Feb 2018 10:03:02 +0000 Original-Received: (at 30285) by debbugs.gnu.org; 4 Feb 2018 10:02:39 +0000 Original-Received: from localhost ([127.0.0.1]:56208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiH8B-0005wL-89 for submit@debbugs.gnu.org; Sun, 04 Feb 2018 05:02:39 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:61815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiH89-0005w9-UO for 30285@debbugs.gnu.org; Sun, 04 Feb 2018 05:02:38 -0500 Original-Received: from [192.168.1.100] ([212.95.5.118]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lpxdr-1fBY0Q0oFj-00fkwR; Sun, 04 Feb 2018 11:02:21 +0100 In-Reply-To: <87mv0pk7m5.fsf@mail.linkov.net> X-Provags-ID: V03:K0:xyL2szgXNaQ/WTJSZKVkTPm/6TpjgncTWGmzVsQzJEl6OTxvoY2 tYPgn6CybvUvPPiaNiambuc6CSimnuV4C4i0JSAHY/A5ZUyuf1C4lkx0bpVfA6nGF8YzxTW 5qXxUfNLnHAaX9pmdATcQMuKJv6Kk07jSy9d2psG19Svtz01/qRL+Hk63LAswx4PHgsHrkM KLbS9kB7sJRhxxyXMoBGg== X-UI-Out-Filterresults: notjunk:1;V01:K0:d7g65XteAfE=:8vkb2x9QEQfeaZfKOgOtd6 PtvP26rxM25d1ysrNyzHLDCk0CdoXTRzB5tRwGipgN+KkPRstBVBQHSz+NGrjrV1rXY8o3t+O +TsTZQN5jaJDJHjwTQDvmGgD7WMTk6yqaCKF/LxsmqwtAB/eN1qwlLDoMakvKrbiheGUMZDwu oPTYJIP9Lew63p5FlCLXbMV/H+Y1bqN3kC0oTFVgACpzgmEpKZVEnaYgwjf8ypnnXjbgUBIew wxUm3oBqp2w9ufWNq7iWa3n+CGobctmeciycYHCuvjvpU57gg4nj+DDes2GQ15YqG51J/B3al LBvvOMmOgE0aUZaMO5jeo6QIgT7MEXNiwKkKOgX3F3sER9Ek7IGupg//BLpjbpfSqvYMF3wOf 8dX5C+BAKPN9h4fWbQyNHUM+nnS2PsnVOI59fMCpa1EriV5x0QRQgjOVbUuIFyY1og0+9a7in b8PKm85mmohpfOTBweTaAI++QG7UkrtRJWmraCgx/BfiPLmIK71LJKPtNCv5xeBwiUHz2MbrJ BKPuzaLAXtPyUqMySMz7LocjAd4EaFi66k/3xPUB3MFWfzovSaantliSJMKUJoANdK9IRKucR ivfQIK/YAogZBa0o1lxg7popDLWQPUMyWlUPlsDi+ngZLb15fQpt8fUZJc51ebKRutoQDKB2p f9a/Pl+/2svhToC7aGUinA8ig4OVe5NQEEK4p52GRW94J+ENQdcYGKUAgob/lymyaF3CT2Axu Mz0angAOGZk3L1RY/A9UFKtWsRgE+zNPLtjeJi8/F5FllhAzazYhpOzlATzlwPyxAiGJVdkM 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:142881 Archived-At: > Agreed. Simplicity is the hallmark of Emacs. 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. martin