From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Reference to free variable =?utf-8?Q?=E2=80=98xterm-mouse-mod?= =?utf-8?Q?e-called=E2=80=99?= Date: Sun, 05 Jan 2025 08:37:48 +0200 Message-ID: <86r05hahqb.fsf@gnu.org> References: <868qrqb9l2.fsf@gnu.org> <002253f1262b5009bcf075d2503b6e3a@finder.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6393"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Jared Finder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 05 07:38:29 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUKHN-0001YT-Re for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jan 2025 07:38:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUKGs-0003M0-P0; Sun, 05 Jan 2025 01:37:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUKGl-0003LO-2W for emacs-devel@gnu.org; Sun, 05 Jan 2025 01:37:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUKGk-0003nv-KB; Sun, 05 Jan 2025 01:37:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=dLucbUbClG1CDhwGsWdqlXLhhLTZ6EoG5hzNS5c1xE4=; b=ccUDSpw+Fag4693txYyZ WRNECsqWiWlwXw1UOwwHFdWF11QkElVGUmHexUqDhGoB270z3pG4KzekjmR/hXKbIffKXOBAKxtvm crUDm6JNYNkJ4UMnpIyV6PjlaRxFQvDwKkoWNrsLaa3KBlOLu0BMfU2w8BnAr+PSK5P0qb7oReuFQ 3FN9Ps2XNOuIzabbE/YV3a7WiE/QowxBLI00czET4yAblGPqkR85SH9Iv4qYJj4QsVvqjevl9bXiC AzRSxNnyvJEqKf08wGTTfT1zQoSHqGApIaG6RG6dghmXXt1oGkITJg7v3Yb4q7Ds2AkiWjuam0ywC f+5ynK88eh88Ag==; In-Reply-To: <002253f1262b5009bcf075d2503b6e3a@finder.org> (message from Jared Finder on Sat, 04 Jan 2025 14:03:57 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327705 Archived-At: > Date: Sat, 04 Jan 2025 14:03:57 -0800 > From: Jared Finder > Cc: Yuan Fu , emacs-devel@gnu.org > > On 2025-01-04 12:36, Eli Zaretskii wrote: > >> From: Yuan Fu > >> 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.