From: C K Kashyap <ckkashyap@gmail.com>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: cycling through windows
Date: Sun, 14 Jul 2013 12:05:38 +0530 [thread overview]
Message-ID: <CAGdT1grg_3V6uCgpMTdcgmiquxkRcx_PDHUG34ZnKLKVw_NA6Q@mail.gmail.com> (raw)
In-Reply-To: <874nbz69c9.fsf@mithlond.arda>
Thank you all so much.
I think the "keep-othering" suggested by Jambunathan works just fine for me.
Regards,
Kashyap
On Fri, Jul 12, 2013 at 9:47 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
> C. K. Kashyap [2013-07-12 10:12:02 +05:30] wrote:
>
> > What is a good way to cycle through windows - looks like C-x o cycles
> > through in one order and if I need to change the direction I need to
> > C-u - C-x o But it seems too many keystrokes - is there a better way
> > (other than doing my own key bindings that is)
>
> I use "repeat command" idea which I got from Drew Adams. With that I can
> cycle with "C-x o o o o o o". That is, just repeating the last component
> ("o").
>
>
> (defun tl-repeat-command (command)
> ;; From Drew Adams.
> (require 'repeat)
> (let ((repeat-message-function 'ignore))
> (setq last-repeatable-command command)
> (repeat nil)))
>
> (defun tl-other-window (count)
> (interactive "p")
> (tl-repeat-command 'other-window))
>
next prev parent reply other threads:[~2013-07-14 6:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 4:42 cycling through windows C K Kashyap
2013-07-12 5:55 ` Jambunathan K
2013-07-12 8:09 ` Thorsten Jolitz
2013-07-12 16:17 ` Teemu Likonen
2013-07-14 6:35 ` C K Kashyap [this message]
[not found] <mailman.891.1373604148.12400.help-gnu-emacs@gnu.org>
2013-07-12 9:13 ` Emanuel Berg
2013-07-12 15:51 ` Drew Adams
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=CAGdT1grg_3V6uCgpMTdcgmiquxkRcx_PDHUG34ZnKLKVw_NA6Q@mail.gmail.com \
--to=ckkashyap@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tlikonen@iki.fi \
/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.