all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 20992@debbugs.gnu.org
Subject: bug#20992: 25.0.50; `virtual-dired': (1) doc typo, (2) unclear
Date: Fri, 03 Dec 2021 12:50:33 +1300	[thread overview]
Message-ID: <a5068fd8be7fa9c2577d6445a8f88dd6@webmail.orcon.net.nz> (raw)
In-Reply-To: <93b6b8c57afd8e3ba0205b966d502d4a@webmail.orcon.net.nz>

Well I now see that `dired-virtual-mode' actually suggests some
config, which I'd managed to not notice:


> Useful on `magic-mode-alist' with the regexp
> 
>   "^  \\(/[^ /]+\\)+/?:$"
> 
> to put saved Dired buffers automatically into Virtual Dired mode.
> 
> Also useful for `auto-mode-alist' like this:
> 
>   (add-to-list 'auto-mode-alist
>                '("[^/]\\.dired\\'" . dired-virtual-mode))


I note that the suggested regexp doesn't support directory paths
containing spaces.

I'd opted to match more of the output than that, as it seemed a bit
brittle to assume a dired buffer based only on the first line.







      parent reply	other threads:[~2021-12-02 23:50 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
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 [this message]

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=a5068fd8be7fa9c2577d6445a8f88dd6@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=20992@debbugs.gnu.org \
    --cc=larsi@gnus.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.