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: Thu, 01 Feb 2018 23:35:50 +0200 Organization: LINKOV.NET Message-ID: <871si475qh.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1517521184 20397 195.159.176.226 (1 Feb 2018 21:39:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2018 21:39:44 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 30285@debbugs.gnu.org, Tino Calancha , jidanni@jidanni.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 01 22:39:39 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 1ehMZi-0003l6-3A for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Feb 2018 22:39:18 +0100 Original-Received: from localhost ([::1]:37081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehMbj-0005U3-2W for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Feb 2018 16:41:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehMaW-0004oZ-Ff for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 16:41:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehMZS-0007Ht-FA for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 16:40:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehMZS-0007Gt-7k for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 16:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ehMZR-000182-Q5 for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 16:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Feb 2018 21:39:01 +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.15175211044296 (code B ref 30285); Thu, 01 Feb 2018 21:39:01 +0000 Original-Received: (at 30285) by debbugs.gnu.org; 1 Feb 2018 21:38:24 +0000 Original-Received: from localhost ([127.0.0.1]:52862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehMYq-00017E-LM for submit@debbugs.gnu.org; Thu, 01 Feb 2018 16:38:24 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:50147 helo=homiemail-a20.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehMYp-000175-6D for 30285@debbugs.gnu.org; Thu, 01 Feb 2018 16:38:23 -0500 Original-Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id ACEDD7EC072; Thu, 1 Feb 2018 13:38:22 -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 29D247EC060; Thu, 1 Feb 2018 13:38:20 -0800 (PST) In-Reply-To: <5620cf82-9402-4895-bdd1-fdf5401c8172@default> (Drew Adams's message of "Thu, 1 Feb 2018 12:50:16 -0800 (PST)") X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 0.0 (/) 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:142783 Archived-At: >> Since `dired-mark' from the top line followed by the command in questi= on >> is not obvious for users, we could provide a hint in the error message= , >> i.e. mention the availability of =E2=80=98m=E2=80=99 on the top line w= ith such message: >> =E2=80=9CYou can type `m' here to mark all files for this operation=E2= =80=9D. > > Not sure how helpful or necessary that is. It's liable to > not be helpful (that use case needs no special advertising). > And it might even confuse things. I think it just gets in > the way of the message, which is, "You are not on a file line." This message is absolutely wrong, it doesn't describe the state that caus= es the error message. It has a bigger scope than just file lines, it works with marked files, etc. So more correct message would be like this: =E2=80=9CNo files selected.=E2=80=9D Oh, and I discovered that the current state is much worse than I thought: 1. load dired-x 2. type =E2=80=98M-<=E2=80=99 to go to the first line 3. type =E2=80=98!=E2=80=99 (dired-do-shell-command) =E2=80=9CWrong type argument: stringp, nil=E2=80=9D