* Reference to free variable ‘xterm-mouse-mode-called’
@ 2025-01-04 19:56 Yuan Fu
2025-01-04 20:36 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Yuan Fu @ 2025-01-04 19:56 UTC (permalink / raw)
To: Emacs Devel
I’m seeing
In xterm--init:
term/xterm.el:966:19: Warning: reference to free variable ‘xterm-mouse-mode-called’
when building master. Is this something to be concerned about?
Yuan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reference to free variable ‘xterm-mouse-mode-called’
2025-01-04 19:56 Reference to free variable ‘xterm-mouse-mode-called’ Yuan Fu
@ 2025-01-04 20:36 ` Eli Zaretskii
2025-01-04 22:03 ` Jared Finder
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2025-01-04 20:36 UTC (permalink / raw)
To: Yuan Fu, Jared Finder; +Cc: emacs-devel
> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 4 Jan 2025 11:56:06 -0800
>
> I’m seeing
>
> In xterm--init:
> term/xterm.el:966:19: Warning: reference to free variable ‘xterm-mouse-mode-called’
>
> when building master. Is this something to be concerned about?
On what OS?
I don't get that. If you "touch xterm.el" and rebuild, do you still
see it?
Jared, maybe we need a defvar in xtern.el?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reference to free variable ‘xterm-mouse-mode-called’
2025-01-04 20:36 ` Eli Zaretskii
@ 2025-01-04 22:03 ` Jared Finder
2025-01-05 6:37 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Jared Finder @ 2025-01-04 22:03 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Yuan Fu, emacs-devel
On 2025-01-04 12:36, Eli Zaretskii wrote:
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Sat, 4 Jan 2025 11:56:06 -0800
>>
>> I’m seeing
>>
>> In xterm--init:
>> term/xterm.el:966:19: Warning: reference to free variable
>> ‘xterm-mouse-mode-called’
>>
>> when building master. Is this something to be concerned about?
>
> On what OS?
>
> I don't get that. If you "touch xterm.el" and rebuild, do you still
> see it?
>
> Jared, maybe we need a defvar in xtern.el?
I don't get this warning either and I just did a clean build. I marked
xterm-mouse-mode-called with ;;;autoload therefore I expect it to always
be available (unless I'm misunderstanding what ;;;autoload does to
defvar expressions).
-- MJF
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reference to free variable ‘xterm-mouse-mode-called’
2025-01-04 22:03 ` Jared Finder
@ 2025-01-05 6:37 ` Eli Zaretskii
2025-01-06 8:58 ` Yuan Fu
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2025-01-05 6:37 UTC (permalink / raw)
To: Jared Finder; +Cc: casouri, emacs-devel
> Date: Sat, 04 Jan 2025 14:03:57 -0800
> From: Jared Finder <jared@finder.org>
> Cc: Yuan Fu <casouri@gmail.com>, emacs-devel@gnu.org
>
> On 2025-01-04 12:36, Eli Zaretskii wrote:
> >> From: Yuan Fu <casouri@gmail.com>
> >> Date: Sat, 4 Jan 2025 11:56:06 -0800
> >>
> >> I’m seeing
> >>
> >> In xterm--init:
> >> term/xterm.el:966:19: Warning: reference to free variable
> >> ‘xterm-mouse-mode-called’
> >>
> >> when building master. Is this something to be concerned about?
> >
> > On what OS?
> >
> > I don't get that. If you "touch xterm.el" and rebuild, do you still
> > see it?
> >
> > Jared, maybe we need a defvar in xtern.el?
>
> I don't get this warning either and I just did a clean build. I marked
> xterm-mouse-mode-called with ;;;autoload therefore I expect it to always
> be available (unless I'm misunderstanding what ;;;autoload does to
> defvar expressions).
If it's autoloaded, I think this warning is a one-time thing, when the
file is compiled before the autoloads are updated.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Reference to free variable ‘xterm-mouse-mode-called’
2025-01-05 6:37 ` Eli Zaretskii
@ 2025-01-06 8:58 ` Yuan Fu
0 siblings, 0 replies; 5+ messages in thread
From: Yuan Fu @ 2025-01-06 8:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Jared Finder, emacs-devel
> On Jan 4, 2025, at 10:37 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> Date: Sat, 04 Jan 2025 14:03:57 -0800
>> From: Jared Finder <jared@finder.org>
>> Cc: Yuan Fu <casouri@gmail.com>, emacs-devel@gnu.org
>>
>> On 2025-01-04 12:36, Eli Zaretskii wrote:
>>>> From: Yuan Fu <casouri@gmail.com>
>>>> Date: Sat, 4 Jan 2025 11:56:06 -0800
>>>>
>>>> I’m seeing
>>>>
>>>> In xterm--init:
>>>> term/xterm.el:966:19: Warning: reference to free variable
>>>> ‘xterm-mouse-mode-called’
>>>>
>>>> when building master. Is this something to be concerned about?
>>>
>>> On what OS?
>>>
>>> I don't get that. If you "touch xterm.el" and rebuild, do you still
>>> see it?
>>>
>>> Jared, maybe we need a defvar in xtern.el?
>>
>> I don't get this warning either and I just did a clean build. I marked
>> xterm-mouse-mode-called with ;;;autoload therefore I expect it to always
>> be available (unless I'm misunderstanding what ;;;autoload does to
>> defvar expressions).
>
> If it's autoloaded, I think this warning is a one-time thing, when the
> file is compiled before the autoloads are updated.
I see. Indeed, I don’t see the warning anymore. Sorry for the noise :-)
Yuan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-01-06 8:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-04 19:56 Reference to free variable ‘xterm-mouse-mode-called’ Yuan Fu
2025-01-04 20:36 ` Eli Zaretskii
2025-01-04 22:03 ` Jared Finder
2025-01-05 6:37 ` Eli Zaretskii
2025-01-06 8:58 ` Yuan Fu
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).