From: Ian Zimmerman <itz@buug.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get the new frame?
Date: Mon, 20 Jul 2015 21:46:00 -0700 [thread overview]
Message-ID: <20150721043728.2463.1C342F88@ahiker.mooo.com> (raw)
In-Reply-To: <16A491F4-7888-4FD3-9533-B60AF83B8B88@gmail.com>
On 2015-07-20 20:56 -0700, John Mastro wrote:
> (window-frame (get-buffer-window (find-file-other-frame ...)))
The problem here is that the file may already be open (it's a real,
pratical possibility) in which case there's no promise that
get-buffer-window will return the new one.
But, as I wrote in reply to Emanuel, since I'm not worried about
concurrency or Emacs acting behind my back, selected-frame works just
fine.
--
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
next prev parent reply other threads:[~2015-07-21 4:46 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-21 0:47 How to get the new frame? Ian Zimmerman
2015-07-21 1:03 ` Emanuel Berg
2015-07-21 1:42 ` Ian Zimmerman
2015-07-21 1:43 ` Emanuel Berg
2015-07-21 2:07 ` Ian Zimmerman
2015-07-21 21:07 ` Emanuel Berg
2015-07-21 21:49 ` Ian Zimmerman
2015-07-21 23:35 ` Emanuel Berg
2015-07-21 3:56 ` John Mastro
2015-07-21 4:46 ` Ian Zimmerman [this message]
[not found] ` <mailman.7206.1437440684.904.help-gnu-emacs@gnu.org>
2015-07-23 15:11 ` B. T. Raven
2015-07-23 15:52 ` Eli Zaretskii
[not found] ` <mailman.7309.1437666858.904.help-gnu-emacs@gnu.org>
2015-07-23 18:21 ` B. T. Raven
2015-07-23 19:23 ` Javier
2015-07-23 19:26 ` Eli Zaretskii
[not found] ` <mailman.7315.1437679612.904.help-gnu-emacs@gnu.org>
2015-07-23 21:02 ` B. T. Raven
2015-07-23 22:38 ` Javier
2015-07-24 7:13 ` Eli Zaretskii
2015-07-24 12:02 ` B. T. Raven
2015-07-24 13:38 ` Eli Zaretskii
[not found] ` <mailman.7348.1437745104.904.help-gnu-emacs@gnu.org>
2015-07-24 14:55 ` Javier
[not found] ` <mailman.7337.1437722035.904.help-gnu-emacs@gnu.org>
2015-07-24 12:51 ` B. T. Raven
2015-07-24 13:47 ` Eli Zaretskii
2015-07-27 21:13 ` Robert Thorpe
2015-07-24 15:25 ` Yuri Khan
2015-07-24 7:10 ` Eli Zaretskii
2015-07-23 23:14 ` Emanuel Berg
-- strict thread matches above, loose matches on Subject: below --
2015-07-21 7:00 martin rudalics
[not found] <mailman.7205.1437439660.904.help-gnu-emacs@gnu.org>
2015-07-21 17:25 ` Javier
2015-07-21 17:44 ` Javier
2015-07-23 9:01 ` Javier
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=20150721043728.2463.1C342F88@ahiker.mooo.com \
--to=itz@buug.org \
--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.