help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the new frame?


From: Emanuel Berg
Subject: Re: How to get the new frame?
Date: Tue, 21 Jul 2015 03:03:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ian Zimmerman <itz@buug.org> writes:

> Is there a neat way in Lisp code to get at the frame
> which find-file-other-frame just has created?
> The function itself returns (indirectly, via
> switch-to-buffer-other-frame) the buffer and not the
> frame, just as all the *-other-frame functions.

"get at"...?

You want to get *to* the frame, or get the
actual frame?

`get-other-frame' perhaps?

Or go to it, do (selected-frame), then return
transparently. Is there a frame-save-excursion? No,
but perhaps you can make it work somehow.

By the way: Why do people use frames?

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]