From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Matthias Meulien <orontee@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Key bindings for info in other window or frame
Date: Sat, 27 Jul 2013 10:06:59 -0400 [thread overview]
Message-ID: <jwvsiz0gksv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87siz1kn9a.fsf@gmail.com> (Matthias Meulien's message of "Fri, 26 Jul 2013 23:46:41 +0200")
> (defun other-frame-visitor (_arg) (interactive "p") (let* ((key-seq
> (read-key-sequence "Other frame: ")) (display-buffer-alist (cons '(".*"
> (display-buffer-pop-up-frame)) display-buffer-alist)) (cmd (lookup-key
> (current-global-map) key-seq))) (call-interactively cmd)))
Another problem is that it should not call read-key-sequence.
Instead it should set display-buffer-overriding-action, then return.
But after returning, it should arrange to reset
display-buffer-overriding-action after the next command (maybe with
a post-command-hook).
Stefan
next prev parent reply other threads:[~2013-07-27 14:06 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvsiz0gksv.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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 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.