unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Matthias Meulien <orontee@gmail.com>
Cc: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org
Subject: Re: Key bindings for info in other window or frame
Date: Wed, 24 Jul 2013 21:09:08 -0400	[thread overview]
Message-ID: <jwvtxjjpi2f.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87k3kfmyvz.fsf@gmail.com> (Matthias Meulien's message of "Wed, 24 Jul 2013 23:28:00 +0200")

> The attached patch defines `info-other-frame' and bind it to `C-x 
> 5 i'.  It also bind `info-other-window' to `C-x 4 i'.

Thanks.  But what I'm looking for is a C-x 4 command and a C-x 5 command
which work like prefix keys changing the subsequent command to use a new
window/frame (presumably using display-buffer-overriding-action).

Then C-x 4 C-x C-f would do the same as the current C-x 4 f,
and C-x 4 M-x info would do the same as your C-x 4 i.

Also we could further tweak those commands to use
a set-temporary-overlay-map so as to provide shortcuts like the
preexisting C-x 4 f (which would map to C-x 4 C-x C-f), at which point
adding C-x 4 i and C-x 5 i would be easy and wouldn't require any
new command.


        Stefan



  reply	other threads:[~2013-07-25  1:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 21:28 Key bindings for info in other window or frame Matthias Meulien
2013-07-25  1:09 ` Stefan Monnier [this message]
2013-07-25  8:15   ` Matthias Meulien
2013-07-26 21:46   ` Matthias Meulien
2013-07-27 14:05     ` Stefan Monnier
2013-07-27 21:02       ` Matthias Meulien
2013-07-27 14:06     ` Stefan Monnier
2013-07-27 21:06       ` Matthias Meulien

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvtxjjpi2f.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=orontee@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).