GNU bug report logs - #20992
25.0.50; `virtual-dired': (1) doc typo, (2) unclear

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 6 Jul 2015 14:22:02 UTC

Severity: minor

Found in version 25.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 20992 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#20992: 25.0.50; `virtual-dired': (1) doc typo, (2) unclear
Date: Fri, 03 Dec 2021 12:50:33 +1300
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.






This bug report was last modified 3 years and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.