From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20992: 25.0.50; `virtual-dired': (1) doc typo, (2) unclear Date: Mon, 30 Mar 2020 18:23:12 -0700 (PDT) Message-ID: References: <99643ea0-8a24-47b4-95ab-0c21da485539@default> <3d083fa4-c6fb-4890-944f-19a206b4c035@default> <87sghpxt4z.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95483"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 20992@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 31 03:26:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJ5fV-000Ohu-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Mar 2020 03:26:17 +0200 Original-Received: from localhost ([::1]:59076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJ5fU-0001Py-RG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 21:26:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46304) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJ5fJ-0001PI-BB for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 21:26:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJ5fH-0002FX-Uw for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 21:26:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJ5fG-0002E0-Iq for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 21:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJ5fG-0006v5-EW for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 21:26: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: Tue, 31 Mar 2020 01:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20992 X-GNU-PR-Package: emacs Original-Received: via spool by 20992-submit@debbugs.gnu.org id=B20992.158561793226552 (code B ref 20992); Tue, 31 Mar 2020 01:26:02 +0000 Original-Received: (at 20992) by debbugs.gnu.org; 31 Mar 2020 01:25:32 +0000 Original-Received: from localhost ([127.0.0.1]:35299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJ5em-0006uB-E7 for submit@debbugs.gnu.org; Mon, 30 Mar 2020 21:25:32 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:38724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJ5ek-0006ty-4f for 20992@debbugs.gnu.org; Mon, 30 Mar 2020 21:25:30 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02V1P8qS141471; Tue, 31 Mar 2020 01:25:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=BWXki3ycSwxZPz3rJEgx9jRlsfV7rj9osto8z9e+t6Q=; b=0d/my2dl/5xi9ka/Ei3wN4Tx0j90+aX81LfuIg8WXNTp5n2NfyeTm0Xa2GOXQdm47O0n 6Wt4V5ta78K3Joos91WaaU2LNMeJ8vSVDt+lL657RFIyz4k/Dk5LbfIqJdg5CO6/2Tdo HUDtstpnQPmmpc4OnvkED8aWx8Ocd7M6HaBm9cwMhWsJoC7DCu2h2WvBvcBO1vNSp+9i MuVbDAaHITD58gy8isgVD2vNB6UY9UzqIG8Yl0ZUSjHCBcVKdx3YRFk2/ccwvCZ3fwLp eE9L3iYc/puF7ZIv4bJOef9hCJReLEgURO3JIjxm1Zaw3UjbDsiH26M+zI7vVMJcMVMD mQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 303aqhd9uv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 31 Mar 2020 01:25:22 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02V1MAGE107302; Tue, 31 Mar 2020 01:23:21 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 302g4qn8v3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 31 Mar 2020 01:23:21 +0000 Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02V1NDxX030062; Tue, 31 Mar 2020 01:23:19 GMT In-Reply-To: <87sghpxt4z.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9576 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 suspectscore=0 mlxscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003310009 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9576 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 phishscore=0 clxscore=1011 malwarescore=0 impostorscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003310009 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177897 Archived-At: > > 4. It's not clear from the doc just how `virtual-dired' changes > > Dired mode. It doesn't seem particularly "virtual", but it's not > > clear what is meant by that word here. > > > > Seems that this is in fact just Dired mode, and that it is the > > opposite of a virtual Dired mode: it puts an ordinary `ls' > > listing into Dired mode, no? >=20 > More or less yes, I guess. My impression after reading the available > docs, and when trying to use it, is that the purpose is to get a dired > like listing from somewhere else, e.g. an external source, or from a > saved file (e.g. a dired buffer from a later Emacs session saved to a > file) into a dired-like mode to have access to some of its commands. That's what I understood too. > It is virtual in the sense that the contents do not necessarily need to > reflect the contents of an existing directory. This is only checked if > you switch to the real dired mode. Dired contents do not, anyway, need to reflect the contents of an existing directory. A Dired buffer can show an arbitrary list of files and directories. E.g., this opens a Dired buffer named `foobar', with 3 entries: files bookmark+.el and dired+.el, and directory THROW. (Well, any of those 3 could be a directory or a file name.) (dired '("foobar" "~/somedir/THROW" "~/somedir/bookmark+.el" "~/somedir/dired+.el") nil) The difference, I think, is how the listing is generated. Instead of passing a list of file/dir names (possibly absolute) and `ls' switches to `dired', for virtual-dired you pass a "rendered" listing (I guess). > A better wording might have been > "offline" dired mode or so. That's not a great word for this, IMO. I don't have a good idea either, though. Is the listing essentially pre-rendered? If so, then that term might be OK. I really don't know. (I have nothing to say about the rest of your message. I know nothing about that.)