From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: How to get the new frame? Date: Mon, 20 Jul 2015 20:56:54 -0700 Message-ID: <16A491F4-7888-4FD3-9533-B60AF83B8B88@gmail.com> References: <20150721004403.1229.1C8BC4D7@ahiker.mooo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437451050 24183 80.91.229.3 (21 Jul 2015 03:57:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2015 03:57:30 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 21 05:57:23 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 1ZHOgD-0003Zi-6e for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 05:57:21 +0200 Original-Received: from localhost ([::1]:57858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHOg7-0000fP-B6 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2015 23:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHOfw-0000fE-A1 for help-gnu-emacs@gnu.org; Mon, 20 Jul 2015 23:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHOfs-00024c-9t for help-gnu-emacs@gnu.org; Mon, 20 Jul 2015 23:57:04 -0400 Original-Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:35125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHOfs-00024N-2D for help-gnu-emacs@gnu.org; Mon, 20 Jul 2015 23:57:00 -0400 Original-Received: by pdrg1 with SMTP id g1so112024378pdr.2 for ; Mon, 20 Jul 2015 20:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=x318pz4RG+jLStgzMiUR6zjBOrA8hboBa5JFRZYWrrw=; b=BvCzecuIgmUGZEQA7c11QmsXkoDsC9Aa1rfYIm16xnfQeApGD0TV968TyYng/2UcCe +fQSUQLGnM3rjH3OFn+kxrRsbour1G3XJ9TdSRlS0Zi++iFB0vkp6e3OrMtC5UjCH3B8 EroQcALEtlGuUOjwsJawW3535tboB6OPECmjtqGzdGrow4L3WlEpFJA68IeVP5hqLhRf i3+jijK/IJx8jL8ahIPycd+Ker4jSYg5udqDM+qwLBQA28sjNF5iduKQ+5B8CpM3rHvz UPwg56+ZZfGEQ05u1lTuCTE3G7miZiPIh06FvSXwvErAqwLUOpvSIkTXW8mFCgcxXU2d aRzw== X-Received: by 10.66.228.73 with SMTP id sg9mr68850631pac.88.1437451019031; Mon, 20 Jul 2015 20:56:59 -0700 (PDT) Original-Received: from [10.227.176.163] ([166.170.44.106]) by smtp.gmail.com with ESMTPSA id or7sm24491226pdb.9.2015.07.20.20.56.57 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jul 2015 20:56:58 -0700 (PDT) In-Reply-To: <20150721004403.1229.1C8BC4D7@ahiker.mooo.com> X-Mailer: iPhone Mail (12H143) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:105895 Archived-At: > 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. Would something like this work? (window-frame (get-buffer-window (find-file-other-frame ...))) -- john