GNU bug report logs - #14974
24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item

Previous Next

Package: emacs;

Reported by: Sebastian Wiesner <lunaryorn <at> gmail.com>

Date: Sun, 28 Jul 2013 13:33:02 UTC

Severity: normal

Found in version 24.3.50

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#14974: closed (24.3.50; adaptive-wrap 0.3 calls potentially
 void function easy-menu-add-item)
Date: Mon, 29 Jul 2013 12:00:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 29 Jul 2013 13:59:21 +0200
with message-id <87bo5ly3ty.fsf <at> rosalinde.fritz.box>
and subject line Re: bug#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
has caused the debbugs.gnu.org bug report #14974,
regarding 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
14974: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14974
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sebastian Wiesner <lunaryorn <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
Date: Sun, 28 Jul 2013 15:32:12 +0200
adaptive-wrap 0.3 adds an autoload for a call to "(easy-menu-add-item
…)".  However, "easy-menu-add-item" itself is not autoloaded, and
"adaptive-wrap" does not "(require 'easymenu)" before calling
"easy-menu-add-item" in an autoload.

Hence, *activating* (not even loading!) "adaptive-wrap" fails unless
"easymenu" incidentally happens to be loaded before.

Obviously this breaks all sorts of things, most notably package
installation in "emacs -Q --batch".

Greetings,
Sebastian Wiesner


[Message part 3 (message/rfc822, inline)]
From: Stephen Berman <stephen.berman <at> gmx.net>
To: Sebastian Wiesner <lunaryorn <at> gmail.com>
Cc: 14974-done <at> debbugs.gnu.org
Subject: Re: bug#14974: 24.3.50;
 adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
Date: Mon, 29 Jul 2013 13:59:21 +0200
On Sun, 28 Jul 2013 15:32:12 +0200 Sebastian Wiesner <lunaryorn <at> gmail.com> wrote:

> adaptive-wrap 0.3 adds an autoload for a call to "(easy-menu-add-item
> …)".  However, "easy-menu-add-item" itself is not autoloaded, and
> "adaptive-wrap" does not "(require 'easymenu)" before calling
> "easy-menu-add-item" in an autoload.
>
> Hence, *activating* (not even loading!) "adaptive-wrap" fails unless
> "easymenu" incidentally happens to be loaded before.
>
> Obviously this breaks all sorts of things, most notably package
> installation in "emacs -Q --batch".

Thanks for the report; fixed.


This bug report was last modified 11 years and 361 days ago.

Previous Next


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