GNU bug report logs - #8858
24.0.50; duplicate defaliases in eieio.el and eieio-opt.el

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 13 Jun 2011 22:32:01 UTC

Severity: minor

Tags: notabug

Found in version 24.0.50

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8858 in the body.
You can then email your comments to 8858 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8858; Package emacs. (Mon, 13 Jun 2011 22:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 13 Jun 2011 22:32:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.50; duplicate defaliases in eieio.el and eieio-opt.el
Date: Mon, 13 Jun 2011 15:31:34 -0700
I know nothing about eieio.  I have no idea whether this is actually a
bug, but it seemed odd.  There are duplicate defaliases in these two
files.  Should there be?  HTH.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-06-13 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'
 





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8858; Package emacs. (Fri, 01 Jul 2011 14:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 8858 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 8858 <at> debbugs.gnu.org, "Eric M. Ludlam" <zappo <at> gnu.org>
Subject: Re: bug#8858: 24.0.50;
	duplicate defaliases in eieio.el and eieio-opt.el
Date: Fri, 01 Jul 2011 16:17:04 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> I know nothing about eieio.  I have no idea whether this is actually a
> bug, but it seemed odd.  There are duplicate defaliases in these two
> files.  Should there be?  HTH.

The autoloads are apparently automatically extracted from the other
files, and put into eieio.el. This seems unnecessary, since Emacs itself
will extract the autoloads.

Example:

;;;### (autoloads (eieio-help-mode-augmentation-maybee eieio-describe-generic
;;;;;;  eieio-describe-constructor eieio-describe-class eieio-browse)
;;;;;;  "eieio-opt" "eieio-opt.el" "1bed0a56310f402683419139ebc18d7f")
;;; Generated autoloads from eieio-opt.el

(autoload 'eieio-browse "eieio-opt" "\
Create an object browser window to show all objects.
If optional ROOT-CLASS, then start with that, otherwise start with
variable `eieio-default-superclass'.

\(fn &optional ROOT-CLASS)" t nil)


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8858; Package emacs. (Fri, 01 Jul 2011 16:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 8858 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 8858 <at> debbugs.gnu.org, "Eric M. Ludlam" <zappo <at> gnu.org>,
	Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#8858: 24.0.50;
	duplicate defaliases in eieio.el and eieio-opt.el
Date: Fri, 01 Jul 2011 18:50:15 +0200
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> The autoloads are apparently automatically extracted from the other
> files, and put into eieio.el. This seems unnecessary, since Emacs itself
> will extract the autoloads.

Yes, it does, and puts them into eieio.el.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8858; Package emacs. (Fri, 01 Jul 2011 17:01:01 GMT) Full text and rfc822 format available.

Message #14 received at 8858 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 8858 <at> debbugs.gnu.org, "Eric M. Ludlam" <zappo <at> gnu.org>,
	Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#8858: 24.0.50;
	duplicate defaliases in eieio.el and eieio-opt.el
Date: Fri, 01 Jul 2011 18:59:39 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Yes, it does, and puts them into eieio.el.

Oh, I though it put them into auto-autoloads.el or something.

Then I guess this isn't a bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8858; Package emacs. (Fri, 01 Jul 2011 21:11:02 GMT) Full text and rfc822 format available.

Message #17 received at 8858 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 8858 <at> debbugs.gnu.org
Subject: Re: bug#8858: 24.0.50;
	duplicate defaliases in eieio.el and eieio-opt.el
Date: Fri, 01 Jul 2011 17:10:46 -0400
Lars Magne Ingebrigtsen wrote:

> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
>> Yes, it does, and puts them into eieio.el.
>
> Oh, I though it put them into auto-autoloads.el or something.

See file-local setting of generated-autoload-file (it's a nice feature
if you have main.el and helper*.el and the way to use the package is to
load main.el).

> Then I guess this isn't a bug?

No. But since eieio-opt requires eieio, the eieio-opt autoloads could be
changed to:

;;;###autoload(defalias 'describe-class 'eieio-describe-class)




bug closed, send any further explanations to 8858 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 02 Jul 2011 12:31:01 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8858; Package emacs. (Sat, 02 Jul 2011 12:37:03 GMT) Full text and rfc822 format available.

Message #22 received at 8858 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 8858 <at> debbugs.gnu.org
Subject: Re: bug#8858: 24.0.50;
	duplicate defaliases in eieio.el and eieio-opt.el
Date: Sat, 02 Jul 2011 14:30:30 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> See file-local setting of generated-autoload-file (it's a nice feature
> if you have main.el and helper*.el and the way to use the package is to
> load main.el).

Right; I see.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 31 Jul 2011 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 46 days ago.

Previous Next


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