From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: How to get the new frame? Date: Thu, 23 Jul 2015 10:11:44 -0500 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: References: <20150721004403.1229.1C8BC4D7@ahiker.mooo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437664531 25691 80.91.229.3 (23 Jul 2015 15:15:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2015 15:15:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 23 17:15:28 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZIIDW-00005k-7D for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 17:15:26 +0200 Original-Received: from localhost ([::1]:41785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIIDV-0003t4-9t for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 11:15:25 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!enother.net!enother.net!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news7 Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: p79912110b2f0fca686cf0a6ddfd6eed78e6b9251e67eeacd.newsdawg.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: X-Received-Bytes: 1924 X-Received-Body-CRC: 2721300010 Original-Xref: usenet.stanford.edu gnu.emacs.help:213643 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105929 Archived-At: On 7/20/2015 8:03 PM, Emanuel Berg wrote: > Ian Zimmerman 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