all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "A.Politz" <politza@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: moving around multiple buffers
Date: Thu, 20 Aug 2009 09:45:21 -0700 (PDT)	[thread overview]
Message-ID: <9117bd63-9a66-43ed-9f57-e9b0843962eb@s15g2000yqs.googlegroups.com> (raw)
In-Reply-To: 7f4hieF2ip8t3U1@mid.individual.net

On Aug 20, 10:58 am, Tamas K Papp <tkp...@gmail.com> wrote:
[...]
> I know how to do the splitting, but I am curious about what people use
> to move around.  Using C-x o (other-window) is a pain [...]


What about a little modality ?

(defun other-window-repeatable (arg)
  "Make it convenient to repeat `other-window', by just having to
press the last character of the invoking keysequence. Timeout
waiting after 3s."
  (interactive "p")
  (other-window arg)
  (let (readp)
    (while (eq last-input-event
               (setq readp
                     (read-event
                      (format "Press `%s' to repeat other-window."
                              (key-description
                               (vector last-input-event)))
                      nil 3)))
      (other-window (signum arg)))
    (message nil)
    (when readp
      (setq unread-command-events
            (list last-input-event)))))

(global-set-key [?\C-x ?o] 'other-window-repeatable)


  parent reply	other threads:[~2009-08-20 16:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20  8:58 moving around multiple buffers Tamas K Papp
2009-08-20  9:21 ` Joost Kremers
2009-08-20  9:56   ` Lennart Borgman
     [not found]   ` <mailman.4882.1250762244.2239.help-gnu-emacs@gnu.org>
2009-08-20 10:10     ` Joost Kremers
2009-08-20 10:23       ` Tamas K Papp
2009-08-20 10:43         ` Joost Kremers
2009-08-20 14:07           ` Stefan Kamphausen
2009-08-20 22:29             ` Joost Kremers
2009-08-20 16:08         ` Farhan Ahmed
     [not found]         ` <mailman.5013.1250859765.2239.help-gnu-emacs@gnu.org>
2009-08-21 15:03           ` Xah Lee
2009-08-21 16:07             ` Stefan Kamphausen
2009-08-20 10:11 ` Xah Lee
2009-08-21  5:50   ` Torben Knudsen
2009-08-21  7:12     ` Xah Lee
2009-08-21 16:56       ` Benjamin Andresen
2009-08-22  2:35         ` Xah Lee
2009-08-20 15:17 ` Drew Adams
2009-08-20 16:45 ` A.Politz [this message]
2009-08-20 17:01 ` Nikolaj Schumacher
2009-08-22  1:33 ` Kevin Rodgers

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=9117bd63-9a66-43ed-9f57-e9b0843962eb@s15g2000yqs.googlegroups.com \
    --to=politza@googlemail.com \
    --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.