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 20:58:49 +0300 Message-ID: <834jx52886.fsf@gnu.org> References: <838rmh293v.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="24875"; 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 19:59:38 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 1oZc6L-0006K4-UP for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 19:59:38 +0200 Original-Received: from localhost ([::1]:58348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZc6L-0004bM-1a for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 13:59:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZc5a-0004Zt-5i for help-gnu-emacs@gnu.org; Sat, 17 Sep 2022 13:58:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZc5Z-0006sQ-Sn for help-gnu-emacs@gnu.org; Sat, 17 Sep 2022 13:58:49 -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=JuIAUX2qFemBwqyG7NXqs3DAXFWvGpEOxAFe4yZRgO8=; b=TMY5685NLDBIMaRsRRno Kf/Lv5qL0zIrgLhDV7gdCq1QFvOUIEQysXc15uxj1eo5Rpdvb4pgPMd6OI3Zn0n3bUTwD7LMyqefa 1EvRYlTycZqWjiSFa3zOxdXdqY4wkzJlrOYcPsdNJG6Kda9FcdfDeJyhIQAb/6DufJrh5TxnG3D8l Nvlp9uODWSuXgR/uTiO3B3VQfC3OXw5L9aYPf7NkTn8dQ4r+98+Npgjl93DJDOkQds4SpPlgQvggN Ln37+NM8REtgiyWF5KNkOaKff8lTzIZx13sps5ZTkqoHXSTAC3s4pXHs5NJBpfj/IBGRdeoVVooCI w+LkJoSgOuxgEg==; Original-Received: from [87.69.77.57] (port=4141 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 1oZc5Y-00082g-VS for help-gnu-emacs@gnu.org; Sat, 17 Sep 2022 13:58:49 -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:139556 Archived-At: > Date: Sat, 17 Sep 2022 19:53:54 +0200 (CEST) > From: wilnerthomas@tutanota.com > Cc: help-gnu-emacs@gnu.org > > Sep 17, 2022, 17:39 by eliz@gnu.org: > > >> Date: Sat, 17 Sep 2022 19:25:30 +0200 (CEST) > >> From: wilnerthomas--- via Users list for the GNU Emacs text editor > >> > >> I would like to capture the frame where the mouse is located, the first entry > >> returned by (mouse-position).  How can I do it? > >> > > > > What do you mean by "capture" in this case? > > > To get it so I can pass it to functions that require frame as argument. Just 'car (mouse-position)' should do. I'm not even sure why you asked, it's so obvious...