From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#42425: 26.3.50; Compilation warnings when compiling eldoc.el under Emacs 26.3 Date: Fri, 22 Jan 2021 20:58:51 +0100 Message-ID: <878s8kyc90.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42425@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 22 21:00:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l32bM-0007Vy-74 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 21:00:12 +0100 Original-Received: from localhost ([::1]:33936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l32bL-0000Af-A1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 15:00:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l32bC-0000AN-6y for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 15:00:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l32bB-00088X-UQ for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 15:00:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l32bB-00066j-RZ for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 15:00:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jan 2021 20:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42425 X-GNU-PR-Package: emacs Original-Received: via spool by 42425-submit@debbugs.gnu.org id=B42425.161134554423384 (code B ref 42425); Fri, 22 Jan 2021 20:00:01 +0000 Original-Received: (at 42425) by debbugs.gnu.org; 22 Jan 2021 19:59:04 +0000 Original-Received: from localhost ([127.0.0.1]:33169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l32aG-000656-5q for submit@debbugs.gnu.org; Fri, 22 Jan 2021 14:59:04 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:44882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l32aE-00064K-8P for 42425@debbugs.gnu.org; Fri, 22 Jan 2021 14:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/VZw+SHBvyX7cYvDr+nVj5YscbIkFjjyzp8byEWNcas=; b=VdoxlXqh+N20CctlJokAlcg/OZ VeP1hBaBV3GyZ/IPelIA42UoTFp07p2mUQFko/O74B8mWhRXAR11dWTKbx+iGYQdpY/Y+EbWIAPlX ognDZ3TLW9AzroEEsljqVlYJ5DIPUnD9kg/yM4eJGGvPXhDmUEEAfPwHxl52Ufus2k+E=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l32a5-0004y1-8e; Fri, 22 Jan 2021 20:58:55 +0100 X-Now-Playing: Various's _Deathbomb Digital Singles Club Year 2_: "Holloway Exit Music" In-Reply-To: (Philipp Stephani's message of "Sun, 19 Jul 2020 10:12:21 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198401 Archived-At: Philipp Stephani writes: > eldoc is now a separate package that claims to support Emacs 26.3. > However, compiling eldoc.el results in a few warnings: > > emacs -Q -batch -l bytecomp -f batch-byte-compile eldoc.el > > In eldoc--eval-expression-setup: > eldoc.el:236:9:Warning: assignment to free variable > =E2=80=98eldoc-documentation-strategy=E2=80=99 > > In eldoc--supported-p: > eldoc.el:615:19:Warning: reference to free variable > =E2=80=98eldoc-documentation-strategy=E2=80=99 > > In eldoc--invoke-strategy: > eldoc.el:732:28:Warning: reference to free variable > =E2=80=98eldoc-documentation-strategy=E2=80=99 > > In end of data: > eldoc.el:804:1:Warning: the following functions are not known to be defin= ed: > elisp-eldoc-var-docstring, elisp-eldoc-funcall > > 1. Probably the definition of `eldoc-documentation-strategy' needs to be > moved before its first use. Doing so seems easy enough, but I'm not sure how high our ambitions are for doing warning-free ELPA packages on older Emacs versions? (I've added Jo=C3=A3o to the CCs.) > 2. Probably eldoc should protect against newer Elisp functions being not > yet available, as calling such functions will likely result in errors > at runtime. Doesn't it do that? What functions is it using that's not available? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no