help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capture frame, the first entry returned by (mouse-position)


From: wilnerthomas
Subject: Re: Capture frame, the first entry returned by (mouse-position)
Date: Sat, 17 Sep 2022 20:39:16 +0200 (CEST)

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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]