GNU bug report logs - #19232
25.0.50; ring.el: why not autoload `ring-member' etc.?

Previous Next

Package: emacs;

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

Date: Sun, 30 Nov 2014 19:20:02 UTC

Severity: wishlist

Tags: notabug, wontfix

Found in version 25.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19232 <at> debbugs.gnu.org
Subject: bug#19232: 25.0.50; ring.el: why not autoload `ring-member' etc.?
Date: Sun, 30 Nov 2014 22:59:39 -0500
tags 19232 notabug
thanks

> Subject line says it all.  Why make users `require' ring.el for such
> functions, or autoload them themselves?  Do what you do now for `ringp'
> and `make-ring' for other functions as well, such as `ring-insert',
> `ring-member', and `ring-next'.  This is a utility library.

I think the error is to autoload ring-p and make-ring.  Of course it's
a bit late to fix it, but that's no reason to add many more autoloads.
Just (require 'ring) like everyone else if you use functions from that
library.


        Stefan




This bug report was last modified 9 years and 82 days ago.

Previous Next


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