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 21:57:42 +0300 [thread overview]
Message-ID: <83y1uhzv4p.fsf@gnu.org> (raw)
In-Reply-To: <NCBjq-v--3-2@tutanota.com> (wilnerthomas@tutanota.com)
> Date: Sat, 17 Sep 2022 20:39:16 +0200 (CEST)
> From: wilnerthomas@tutanota.com
> Cc: help-gnu-emacs@gnu.org
>
> Sep 17, 2022, 18:35 by eliz@gnu.org:
>
> > 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).
If the frame was not yet created, you cannot call set-frame-position
for it, because the frame doesn't exist yet. You should instead set
the 'top' and 'left' parameters of initial-frame-alist.
next prev parent reply other threads:[~2022-09-17 18:57 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
2022-09-17 18:57 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y1uhzv4p.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.