unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* bs-cycle for dired buffers
@ 2004-01-22 19:57 Emory Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Emory Smith @ 2004-01-22 19:57 UTC (permalink / raw)


hello,

i am using the bs-cycle function from bs.el and would like it cycle 
through my "dired by name" buffers without having to put the "+" sign 
next to every one i open in the buffer-selection-menu.

the only way i know of for adding buffers to all configurations is to 
use the "bs-must-always-show-regexp", but this seems to apply only to 
the name of the buffer rather than the buffer mode.

i was thinking perhaps one of the following would work (though im just 
beginning with lisp and dont yet know how to do either):

1.  add functionality to "bs.el" to provide a new "always-show-regexp" 
for modes as well as names. (or can it do this already?)

2.  somehow change the "dired" configuration so that all dired buffers 
have similar names (eg. "*dired*...").

thanks, emory

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

* Re: bs-cycle for dired buffers
       [not found] <mailman.1165.1074802012.928.help-gnu-emacs@gnu.org>
@ 2004-01-22 20:29 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-01-22 20:29 UTC (permalink / raw)


> i am using the bs-cycle function from bs.el and would like it cycle through
> my "dired by name" buffers without having to put the "+" sign next to every
> one i open in the buffer-selection-menu.

(add-hook 'dired-mode-hook 'my-dired-mode-hook)
(defun my-dired-mode-hook ()
  (set (make-local-variable 'bs-buffer-show-mark) 'always))


        Stefan

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

end of thread, other threads:[~2004-01-22 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1165.1074802012.928.help-gnu-emacs@gnu.org>
2004-01-22 20:29 ` bs-cycle for dired buffers Stefan Monnier
2004-01-22 19:57 Emory Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).