Subject: bug#14974: closed (Re: bug#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 29 Jul 2013 12:00:13 +0000

Your bug report

#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14974: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14974
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
From: Stephen Berman <[email-masked]>
To: Sebastian Wiesner <[email-masked]>
Cc: [email-masked]
Date: Mon, 29 Jul 2013 13:59:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun, 28 Jul 2013 15:32:12 +0200 Sebastian Wiesner <[email-masked]> 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.

Subject: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
From: Sebastian Wiesner <[email-masked]>
To: [email-masked]
Date: Sun, 28 Jul 2013 15:32:12 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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