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: B. T. Raven
Subject: Re: How to get the new frame?
Date: Thu, 23 Jul 2015 10:11:44 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

On 7/20/2015 8:03 PM, Emanuel Berg wrote:
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?


I use 2 frames under w32, w64, courier (monospace 8 line high) to display *Calendar* and arial (proportional font) for everything else. Is there any other way to accomplish this? Is there a way to read display geometry so I can use the same .emacs for laptops and desktops? Now I have to mouse around in order to make the monospace frame the minimum usable height (different on laptops and desktops).

Ed



reply via email to

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