From: Drew Adams <drew.adams@oracle.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 20992@debbugs.gnu.org
Subject: bug#20992: 25.0.50; `virtual-dired': (1) doc typo, (2) unclear
Date: Mon, 30 Mar 2020 18:23:12 -0700 (PDT) [thread overview]
Message-ID: <ef345725-fe86-45e0-ba39-b4a041b9e6c1@default> (raw)
In-Reply-To: <87sghpxt4z.fsf@web.de>
> > 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?
>
> 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.)
next prev parent reply other threads:[~2020-03-31 1:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-06 14:20 bug#20992: 25.0.50; `virtual-dired': (1) doc typo, (2) unclear Drew Adams
2015-07-06 17:49 ` Drew Adams
2020-03-31 0:30 ` Michael Heerdegen
2020-03-31 1:23 ` Drew Adams [this message]
2020-03-31 2:53 ` Michael Heerdegen
2021-12-02 9:48 ` Lars Ingebrigtsen
2021-12-02 14:59 ` Michael Heerdegen
2021-12-02 15:41 ` Lars Ingebrigtsen
2021-12-02 16:25 ` Michael Heerdegen
2021-12-02 16:45 ` Lars Ingebrigtsen
2019-09-29 22:44 ` Stefan Kangas
2021-12-02 23:14 ` Phil Sainty
2021-12-02 23:47 ` Michael Heerdegen
2021-12-02 23:50 ` Phil Sainty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ef345725-fe86-45e0-ba39-b4a041b9e6c1@default \
--to=drew.adams@oracle.com \
--cc=20992@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.