all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bojohan+mail@dd.chalmers.se: dired-virtual-mode doc]
@ 2007-04-22  0:46 Richard Stallman
  2007-04-22  1:28 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2007-04-22  0:46 UTC (permalink / raw)
  To: emacs-devel

Would someone please install this?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
From: bojohan+mail@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
To: emacs-pretest-bug@gnu.org
Date: Sat, 21 Apr 2007 16:56:14 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Subject: dired-virtual-mode doc


The doc string for dired-virtual-mode speaks about the nonexistent
variable `buffer-contents-mode-alist'. Also, the regexp is wrong (the
"/?+" part) and a bunch of backslashes are missing.


2007-04-21  Johan Bockgård  <bojohan@dd.chalmers.se>

	* dired-x.el (dired-virtual-mode): Doc fix.


*** dired-x.el	07 Apr 2007 00:27:05 +0200	1.78
- --- dired-x.el	21 Apr 2007 11:39:53 +0200	
***************
*** 790,810 ****
      (revert-buffer)))
  
  ;; A zero-arg version of dired-virtual.
- - ;; You need my modified version of set-auto-mode for the
- - ;; `buffer-contents-mode-alist'.
- - ;; Or you use infer-mode.el and infer-mode-alist, same syntax.
  (defun dired-virtual-mode ()
    "Put current buffer into Virtual Dired mode (see `dired-virtual').
! Useful on `buffer-contents-mode-alist' (which see) with the regexp
  
!     \"^  \\(/[^ /]+\\)/?+:$\"
  
  to put saved dired buffers automatically into Virtual Dired mode.
  
! Also useful for `auto-mode-alist' (which see) like this:
  
!   \(setq auto-mode-alist (cons '(\"[^/]\\.dired\\'\" . dired-virtual-mode)
!                               auto-mode-alist)\)"
    (interactive)
    (dired-virtual (dired-virtual-guess-dir)))
  
- --- 790,807 ----
      (revert-buffer)))
  
  ;; A zero-arg version of dired-virtual.
  (defun dired-virtual-mode ()
    "Put current buffer into Virtual Dired mode (see `dired-virtual').
! 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))"
    (interactive)
    (dired-virtual (dired-virtual-guess-dir)))
  

- -- 
Johan Bockgård


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [bojohan+mail@dd.chalmers.se: dired-virtual-mode doc]
  2007-04-22  0:46 [bojohan+mail@dd.chalmers.se: dired-virtual-mode doc] Richard Stallman
@ 2007-04-22  1:28 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2007-04-22  1:28 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman wrote:

> Would someone please install this?

already done

> From: bojohan+mail@dd.chalmers.se (Johan Bockgård)
> Subject: dired-virtual-mode doc
> To: emacs-pretest-bug@gnu.org
> Date: Sat, 21 Apr 2007 16:56:14 +0200

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-22  1:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22  0:46 [bojohan+mail@dd.chalmers.se: dired-virtual-mode doc] Richard Stallman
2007-04-22  1:28 ` Glenn Morris

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.