From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: define tab for dired-buffer selection
Date: Sun, 09 Sep 2007 20:36:37 +0000 [thread overview]
Message-ID: <fc1efu$1bf$1@tamarack.fernuni-hagen.de> (raw)
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
next reply other threads:[~2007-09-09 20:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 20:36 Fabian Braennstroem [this message]
2007-09-09 21:36 ` define tab for dired-buffer selection 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
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='fc1efu$1bf$1@tamarack.fernuni-hagen.de' \
--to=f.braennstroem@gmx.de \
--cc=help-gnu-emacs@gnu.org \
/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.