From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= 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:22:10 +0000 Message-ID: References: <878s8kyc90.fsf@gnus.org> 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="12627"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philipp Stephani , 42425@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 22 21:23:17 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 1l32xh-00039M-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 21:23:17 +0100 Original-Received: from localhost ([::1]:49040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l32xg-00030d-5v for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 15:23:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l32xS-000308-JD for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 15:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l32xR-0001KX-QD for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 15:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l32xR-0000Lm-Mp for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 15:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jan 2021 20:23: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.16113469501293 (code B ref 42425); Fri, 22 Jan 2021 20:23:01 +0000 Original-Received: (at 42425) by debbugs.gnu.org; 22 Jan 2021 20:22:30 +0000 Original-Received: from localhost ([127.0.0.1]:33222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l32ww-0000Kn-Ao for submit@debbugs.gnu.org; Fri, 22 Jan 2021 15:22:30 -0500 Original-Received: from mail-io1-f53.google.com ([209.85.166.53]:43982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l32wu-0000KY-6Q for 42425@debbugs.gnu.org; Fri, 22 Jan 2021 15:22:29 -0500 Original-Received: by mail-io1-f53.google.com with SMTP id x21so13759383iog.10 for <42425@debbugs.gnu.org>; Fri, 22 Jan 2021 12:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=cp+cMy+7fqej3QD50X5w+WsVxR18RomuAhTH8fXeURs=; b=Awj3iIbiMhWOOn4mV5X/ni0R63FAui0UkAV3P4Ujn36bYCsHKAdvC609LC4GudaBtz meb2w7R47taDPke7y0I7yuQvSsSG9q3K71BMYXmNp40uUJOrzJOt52nvJjBQJcxJx26d 8RDil4QRxbE1sTLz01tvhe6gbZgFOhBSrXNDCOalG9/b6i55mMfKHHneDx8e/mpZtGt3 1SGwHVgQCqAyugB8slGC81ET1SJ46LD2/UIbFBRdxqRe+ryk9lc2J77flmVDJZHpGcOj mjehDII3/pRUAoEpNYflRHVU9mZUaj1gWumrxUIvgWQt7thLM2COyeZCISO+ZI/MIvNR P+FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=cp+cMy+7fqej3QD50X5w+WsVxR18RomuAhTH8fXeURs=; b=gJig1nPuG4n8KuW+fd19eBRdC23rM5nIJoBJJ1f2ffRsLi8vH9x5rz8SlouIXCEAQh dPhDORXL9gBrzIzMemMaGtbewKr2am2i1zqZ0Oaiy7atZy1PR1iTsTyn4ENGUXMLG3BH C533iS+arEwEQ7vtVpj0IuHCH/qZ3lYiRummYpwMq+vkXswVrhGLnTc3Nsg1pjbQifku WlCJX+0wjHIKMiXnwZH/JlPa92ZyE40a6K4FcUtah2tMaYH5Cy2xt6WfUVwzjRB6A7qF vuHuGxhGqk85Far2qeB9pegfwu+00A8IJDBTvpcz582R4FTOrtaF+1oBIQ3YzdoF4BQ6 frBw== X-Gm-Message-State: AOAM530vgns4+9uuClgG/amtvd26iBNBumjMnfCLdr25asVwwx8dGQNL TYt473Pgo8hLxW2ZERVDzQnMMos61JZpo910O0E= X-Google-Smtp-Source: ABdhPJyUpFiQhgDHaGAox+MQQa/aXUecb+X412Qx4KY8EsG1eM/n/nhBpKomZMEFiI4DTKakbicaG90z2M1XHqxSd0I= X-Received: by 2002:a92:b6dd:: with SMTP id m90mr1170190ill.97.1611346942572; Fri, 22 Jan 2021 12:22:22 -0800 (PST) In-Reply-To: <878s8kyc90.fsf@gnus.org> 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:198406 Archived-At: Hi The warnings are better than breaking it :-) I don't remember the details right now, but the backward compatibility to Emacs 26.3 is held up by very fine strings with aliasing and stuff. So make sure you read the surrounding comments and commit messages closely before attempting anything. I remember documenting stuff there. Sorry, I can't be of more help right now. Jo=C3=A3o On Fri, Jan 22, 2021 at 7:58 PM Lars Ingebrigtsen wrote: > > 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 def= ined: > > elisp-eldoc-var-docstring, elisp-eldoc-funcall > > > > 1. Probably the definition of `eldoc-documentation-strategy' needs to b= e > > 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 no= t > > yet available, as calling such functions will likely result in error= s > > at runtime. > > Doesn't it do that? What functions is it using that's not available? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=20 Jo=C3=A3o T=C3=A1vora