all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* define tab for dired-buffer selection
@ 2007-09-09 20:36 Fabian Braennstroem
  2007-09-09 21:36 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabian Braennstroem @ 2007-09-09 20:36 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I often have multiple windows with some dired and some
text-mode buffers. Now, I would like to
 define 'tab' to switch just dired between dired windows.
Would be nice, if this works somehow!?
My first approach was:
(defun dired-change-window()
  "Change to the other buffer"
  (interactive)
  (if (eq major-mode 'dired-mode) (other-window 1)
  (while (not (eq major-mode 'dired-mode)) (other-window 1))
       ))

But this jumps in every window!?

Regards!
Fabian

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

end of thread, other threads:[~2007-09-16 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-09 20:36 define tab for dired-buffer selection Fabian Braennstroem
2007-09-09 21:36 ` Peter Dyballa
     [not found] ` <mailman.591.1189373818.18990.help-gnu-emacs@gnu.org>
2007-09-10  6:26   ` Fabian Braennstroem
2007-09-12 15:53 ` Mathias Dahl
2007-09-16 21:11   ` Fabian Braennstroem

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.