From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Capture frame, the first entry returned by (mouse-position) Date: Sat, 17 Sep 2022 21:35:17 +0300 Message-ID: <83zgexzw62.fsf@gnu.org> References: <838rmh293v.fsf@gnu.org> <834jx52886.fsf@gnu.org> <8335cp2863.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38856"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 20:35:48 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZcfL-0009wP-CX for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 20:35:47 +0200 Original-Received: from localhost ([::1]:42818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZcfK-0007IF-6n for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 14:35:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZces-0007F5-Vy for help-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:35:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZces-0003np-NJ for help-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:35:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=/Ll103taFDfdw1LnqXUJBgKttu2kL1inouO2cZYYEEc=; b=P4A4MwawKjNBwVOSdsug gHeFPzDz/7DYnG6dN5x+1G1zfelo3TsHI8mtlpMY/bIP6kJx0NYbCxyYLjQLTFx5akY3iZK8pgUON f0uwLlFoO/Ocwz0HvRCiSHbT7hsvhlcAIh+fMZGkML9Xqmz5AJglzGS6FIao4FMDhdtPyjACMiQ7M LoGIWxCd0KwjCJol/LuokDWgMTKPds1F0K0cb73M+mArpnWWc9HgaMBqL3E0G2YblTAjh8Qyn4iyV Tailk4nAqlcO1qnE+TzjnDbhtFIX9CmNfrms9j+mbHSjxXsM7FZWjnUxCJpdbuMrq2tbFRhEp72/3 ikOHu5wbGtC8LA==; Original-Received: from [87.69.77.57] (port=2393 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZces-00060y-3n for help-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:35:18 -0400 In-Reply-To: (wilnerthomas@tutanota.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139559 Archived-At: > Date: Sat, 17 Sep 2022 20:24:25 +0200 (CEST) > From: wilnerthomas@tutanota.com > Cc: help-gnu-emacs@gnu.org > > Sep 17, 2022, 18:00 by eliz@gnu.org: > > >> Date: Sat, 17 Sep 2022 20:58:49 +0300 > >> From: Eli Zaretskii > >> > >> Just 'car (mouse-position)' should do. > >> > > > > That should have been '(car (mouse-position))', of course. > > > It is quite obvious, but then when you want to pass it to a function that requires > FRAME, do you pass it as a string?  Why a string? Just pass the value of '(car (mouse-position))'. That's the frame object those functions want.