GNU bug report logs - #51139
29.0.50; MH-E and edmacro byte-compile warnings in nox builds

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Mon, 11 Oct 2021 21:18:01 UTC

Severity: minor

Tags: patch

Found in versions 29.0.50, 28.0.60

Fixed in version 29.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 51139 <at> debbugs.gnu.org, daveg <at> synaptics.com, wohler <at> newt.com
Subject: bug#51139: 29.0.50; MH-E and edmacro byte-compile warnings in nox builds
Date: Tue, 12 Oct 2021 16:06:08 +0300
> Cc: Dave Gillespie <daveg <at> synaptics.com>, Bill Wohler <wohler <at> newt.com>
> Date: Mon, 11 Oct 2021 22:17:19 +0100
> From:  "Basil L. Contovounesios" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> I see the following byte-compilation warnings in --without-x builds:
> 
> --8<---------------cut here---------------start------------->8---
> In edmacro-fix-menu-commands:
> edmacro.el:622:34: Warning: reference to free variable
>     ‘mouse-wheel-down-event’
> edmacro.el:622:57: Warning: reference to free variable ‘mouse-wheel-up-event’
> edmacro.el:623:34: Warning: reference to free variable
>     ‘mouse-wheel-right-event’
> edmacro.el:624:34: Warning: reference to free variable
>     ‘mouse-wheel-left-event’
> 
> In end of data:
> mh-e/mh-compat.el:96:5: Warning: the function ‘image-search-load-path’ is not
>     known to be defined.
> mh-e/mh-compat.el:93:5: Warning: the function ‘image-load-path-for-library’ is
>     not known to be defined.
> In mh-logo-display:
> mh-e/mh-utils.el:129:40: Warning: Unused lexical variable `image-load-path'
> In mh-tool-bar-folder-buttons-init:
> mh-e/mh-tool-bar.el:302:1: Warning: Unused lexical variable `image-load-path'
> In mh-tool-bar-letter-buttons-init:
> mh-e/mh-tool-bar.el:384:3: Warning: Unused lexical variable `image-load-path'
> In end of data:
> mh-e/mh-utils.el:128:24: Warning: the function ‘image-load-path-for-library’
>     is not known to be defined.
> In end of data:
> mh-e/mh-tool-bar.el:302:1: Warning: the function ‘image-load-path-for-library’
>     is not known to be defined.
> --8<---------------cut here---------------end--------------->8---
> 
> The MH-E warnings are seen on master, whereas the edmacro ones are also
> on emacs-28 (details of both configurations follow my signature).
> 
> I assume the warnings are not important enough to install anything on
> emacs-28, so I attach a patch against master for both sets of warnings.
> WDYT?

It's okay to install trivial changes on emacs-28 to shut up those
warnings.




This bug report was last modified 3 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.