From: "Sean O'Rourke" <sorourke@cs.ucsd.edu>
To: David House <dmhouse@gmail.com>
Cc: Drew Adams <drew.adams@oracle.com>, Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: how about a find-library-other-window command?
Date: Tue, 19 Jun 2007 12:39:01 -0700 [thread overview]
Message-ID: <m27ipzivje.fsf@0-16-cb-b9-d7-be.dynamic.ucsd.edu> (raw)
In-Reply-To: <18040.10649.628867.535567@gargle.gargle.HOWL> (David House's message of "Tue\, 19 Jun 2007 20\:08\:09 +0100")
David House <dmhouse@gmail.com> writes:
> Drew Adams writes:
> > How about a `find-library-other-window' command?
>
> I've wondered in the past whether it would be feasible to have
> C-x 4 be bound to a command which reads a key sequence then
> executes it in another window, so that we needn't define new
> commands for every command we want to execute in the other
> window.
This, or something similar, seems useful. I currently use a
slightly different hack that makes "C-z FOO" do whatever "C-x
FOO" does, but in another window. I do it by copying `ctl-x-map'
and wrapping the entries with this:
(defun other-windowize (fn)
`(lambda ()
(interactive)
(switch-to-buffer-other-window
(save-window-excursion (call-interactively ',fn) (current-buffer)))))
No doubt there's a better way, but this seems to work well enough
to replace many existing FOO-other-window commands, and to
other-windowize some new things.
/s
next prev parent reply other threads:[~2007-06-19 19:39 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 18:23 how about a find-library-other-window command? Drew Adams
2007-06-19 19:08 ` David House
2007-06-19 19:39 ` Sean O'Rourke [this message]
2007-06-19 19:52 ` Drew Adams
2007-06-19 19:51 ` Drew Adams
2007-06-19 21:40 ` David Kastrup
2007-06-20 1:03 ` Stefan Monnier
2007-06-20 13:28 ` Richard Stallman
2007-06-19 19:15 ` Stefan Monnier
2007-06-19 19:36 ` Drew Adams
2007-06-19 19:53 ` Andreas Schwab
2007-06-19 20:41 ` Stefan Monnier
2007-06-19 20:55 ` Drew Adams
2007-06-19 21:54 ` Juri Linkov
2007-06-20 13:28 ` Richard Stallman
2007-06-20 14:09 ` Juri Linkov
2007-06-20 14:57 ` Andreas Schwab
2007-06-20 15:44 ` Juri Linkov
2007-06-21 1:07 ` Richard Stallman
2007-06-21 7:43 ` Juri Linkov
2007-06-21 9:55 ` David House
2007-06-21 9:57 ` David House
2007-06-21 10:49 ` Kim F. Storm
2007-06-21 11:38 ` Andreas Schwab
2007-06-22 1:51 ` Richard Stallman
2007-06-21 10:49 ` Andreas Schwab
2007-06-20 17:21 ` Ehud Karni
2007-06-20 17:54 ` Juri Linkov
2007-06-21 1:07 ` Richard Stallman
2007-06-19 23:24 ` Davis Herring
2007-06-19 23:30 ` Drew Adams
2007-06-20 13:28 ` Richard Stallman
2007-06-20 13:28 ` Richard Stallman
2007-06-20 14:17 ` Juri Linkov
2007-06-20 16:49 ` Drew Adams
2007-06-21 1:07 ` Richard Stallman
2007-06-22 19:29 ` Juri Linkov
2007-06-22 20:40 ` 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=m27ipzivje.fsf@0-16-cb-b9-d7-be.dynamic.ucsd.edu \
--to=sorourke@cs.ucsd.edu \
--cc=dmhouse@gmail.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@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.