unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Capture frame, the first entry returned by (mouse-position)
Date: Sat, 17 Sep 2022 20:58:49 +0300	[thread overview]
Message-ID: <834jx52886.fsf@gnu.org> (raw)
In-Reply-To: <NCB_Sle--3-2@tutanota.com> (wilnerthomas@tutanota.com)

> 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 <help-gnu-emacs@gnu.org>
> >>
> >> 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...



  reply	other threads:[~2022-09-17 17:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-17 17:25 Capture frame, the first entry returned by (mouse-position) wilnerthomas--- via Users list for the GNU Emacs text editor
2022-09-17 17:39 ` Eli Zaretskii
2022-09-17 17:53   ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-09-17 17:58     ` Eli Zaretskii [this message]
2022-09-17 18:00       ` Eli Zaretskii
2022-09-17 18:24         ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-09-17 18:35           ` Eli Zaretskii
2022-09-17 18:39             ` wilnerthomas--- via Users list for the GNU Emacs text editor
2022-09-17 18:57               ` Eli Zaretskii
2022-09-17 18:41             ` Christopher Dimech
2022-09-17 18:59               ` Eli Zaretskii
2022-09-17 22:06                 ` [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834jx52886.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).