unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* dired.el and dired-aux.el
@ 2004-06-08  0:37 Luc Teirlinck
  2004-06-08 23:31 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Luc Teirlinck @ 2004-06-08  0:37 UTC (permalink / raw)


dired.el contains:

;; To make this file smaller, the less common commands
;; go in a separate file.  But autoload them here
;; to make the separation invisible.

Then follow many autoloads.

Most of these autoloads seem to have an `;;;###autoload' in dired-aux
too, often with a different docstring.  Do these double autoloads have
a purpose?  Many the functions that do not have an `;;;###autoload' in
dired-aux have two docstrings: an obsolete one for before dired-aux is
loaded and an up-to-date one for after that.  There is no indication in
dired-aux that if one changes the docstring of a function there, one
should also change it in the dired.el autoload.

Are these autoloads an obsolete remnant from the time that there were
no `;;;###autoload' cookies?  Should those dired-autoloaded functions
that do not yet have an `;;;###autoload' in dired-aux be given one and
the entire list of autoloads in dired.el be gotten rid of?

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dired.el and dired-aux.el
  2004-06-08  0:37 dired.el and dired-aux.el Luc Teirlinck
@ 2004-06-08 23:31 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2004-06-08 23:31 UTC (permalink / raw)
  Cc: emacs-devel

    Most of these autoloads seem to have an `;;;###autoload' in dired-aux
    too, often with a different docstring.  Do these double autoloads have
    a purpose?

    Are these autoloads an obsolete remnant from the time that there were
    no `;;;###autoload' cookies?

Yes.  However, there may have been another motive to keep them in
dired.el: so that the autoloads would only take up space if dired.el
is loaded.

But that saving of space is unimportant today.

      Should those dired-autoloaded functions
    that do not yet have an `;;;###autoload' in dired-aux be given one and
    the entire list of autoloads in dired.el be gotten rid of?

That sounds like a good idea.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-08 23:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08  0:37 dired.el and dired-aux.el Luc Teirlinck
2004-06-08 23:31 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).