From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error Date: Thu, 12 Oct 2017 07:43:52 -0700 (PDT) Message-ID: <16dd5f8f-30db-4f31-bdbd-acd79f9f3777@default> References: <83zi8wld5l.fsf@gnu.org> 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 1507819524 7518 195.159.176.226 (12 Oct 2017 14:45:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 14:45:24 +0000 (UTC) Cc: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp , Kaushal Modi , Paul Eggert , 28792@debbugs.gnu.org To: Noam Postavsky , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 16:45:20 2017 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 1e2ejT-0008TL-So for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 16:45:08 +0200 Original-Received: from localhost ([::1]:45906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2ejb-0004Oc-4W for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 10:45:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2ejS-0004Ng-Ug for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2ejO-0007Vn-27 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:45:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2ejN-0007VZ-VP for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2ejN-0001Ht-LW for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 14:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28792-submit@debbugs.gnu.org id=B28792.15078194444848 (code B ref 28792); Thu, 12 Oct 2017 14:45:01 +0000 Original-Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 14:44:04 +0000 Original-Received: from localhost ([127.0.0.1]:36216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2eiS-0001G8-6j for submit@debbugs.gnu.org; Thu, 12 Oct 2017 10:44:04 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:43474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2eiQ-0001FW-Ha for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 10:44:02 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9CEhsB9013085 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2017 14:43:55 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v9CEhs7g004152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2017 14:43:54 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v9CEhrAB008631; Thu, 12 Oct 2017 14:43:53 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4588.0 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:138285 Archived-At: What Noam said. I think the problem with the error message is not that it was composed from multiple pieces. It is that after those pieces have been joined the result is not a normal message. In particular, there should be some punctuation or other separation between the piece that says that the thing is not a regular file ("Non-regular file" or whatever) and the piece that says what is not regular about it ("Is a directory" or whatever). This message is not normal (it is confusing): (file-error Non-regular file Is a directory /the/file/) This message is better (though not ideal): file-error: Non-regular file: Is a directory, /the/file/