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#27801: 26.0.50; Dired: Use relative file names when DIR-OR-LIST is a cons Date: Sun, 23 Jul 2017 20:47:51 -0700 (PDT) Message-ID: <30959d8c-d19a-457a-93e3-c77f45a3d587@default> References: <87o9sacy1f.fsf@calancha-pc> 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 1500868154 27328 195.159.176.226 (24 Jul 2017 03:49:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 03:49:14 +0000 (UTC) To: Tino Calancha , 27801@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 24 05:49:08 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 1dZUMl-0006mK-Uc for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jul 2017 05:49:08 +0200 Original-Received: from localhost ([::1]:52768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZUMr-0006Hc-Ie for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jul 2017 23:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZUMj-0006H7-Ep for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 23:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZUMg-0002kv-DF for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 23:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZUMg-0002kl-9f for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 23:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZUMg-0006KB-1I for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 23:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2017 03:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27801-submit@debbugs.gnu.org id=B27801.150086808624246 (code B ref 27801); Mon, 24 Jul 2017 03:49:01 +0000 Original-Received: (at 27801) by debbugs.gnu.org; 24 Jul 2017 03:48:06 +0000 Original-Received: from localhost ([127.0.0.1]:53729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZULm-0006J0-9r for submit@debbugs.gnu.org; Sun, 23 Jul 2017 23:48:06 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:38745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZULk-0006IV-6r for 27801@debbugs.gnu.org; Sun, 23 Jul 2017 23:48:04 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v6O3lsOv023779 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Jul 2017 03:47:55 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v6O3lraw004576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Jul 2017 03:47:54 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v6O3lqRf016355; Mon, 24 Jul 2017 03:47:52 GMT In-Reply-To: <87o9sacy1f.fsf@calancha-pc> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6770.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] 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:134900 Archived-At: > ;; Following form shows the full file name in the Dired buffer. > (let* ((dir source-directory) > (file1 (expand-file-name "lisp/subr.el" dir)) > (file2 (expand-file-name "src/data.c" dir))) > (dired (list dir file1 file2))) >=20 > ;; Usually, Dired just shows the relative file name to > ;; 'default-directory'. That is more clear, specially for > ;; long file names. Sorry, but I've only read this bug report quickly - no time now. If you are suggesting that when DIR-OR-LIST is a cons the file names shown should be relative then I think I disagree strongly. The typical use case for a cons DIR-OR-LIST is a list of files from anywhere, in which case absolute file names are appropriate. Again, sorry if I've read too quickly and misunderstood.