From: wilnerthomas--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Capture frame, the first entry returned by (mouse-position)
Date: Sat, 17 Sep 2022 20:39:16 +0200 (CEST) [thread overview]
Message-ID: <NCBjq-v--3-2@tutanota.com> (raw)
In-Reply-To: <83zgexzw62.fsf@gnu.org>
Sep 17, 2022, 18:35 by eliz@gnu.org:
>> 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 <eliz@gnu.org>
>> >>
>> >> 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.
>
I would like to pass it for making the initial frame, so cannot just call (car (mouse-position))
for frame in (set-frame-position frame nlft ntop).
next prev parent reply other threads:[~2022-09-17 18:39 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
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 [this message]
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=NCBjq-v--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=eliz@gnu.org \
--cc=wilnerthomas@tutanota.com \
/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).