From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: File-specific autoloads
Date: Fri, 06 Jul 2007 20:28:35 +0200 [thread overview]
Message-ID: <87ps35e698.fsf@ambire.localdomain> (raw)
In-Reply-To: <u1wflcyca.fsf@gnu.org> (Eli Zaretskii's message of "Fri\, 06 Jul 2007 19\:04\:53 +0300")
() Eli Zaretskii <eliz@gnu.org>
() Fri, 06 Jul 2007 19:04:53 +0300
That's an incorrect emulation of what "make autoloads" does: it _does_
modify the file. At least in my case, it did (I verified that with
"cvs diff").
that's fine (no argument). we discuss that case below:
> but regardless of cvs version quirks, let's look at the nature of the
> changes: autoload processing changes a specified region; programmers
> should not change that region manually.
And we want to rely on that?
we want to rely on it inasmuch as we designed it that way. if our design
changes so that mixing autoload-processing regions and programmer regions is
encouraged, then that would influence our downstream reliance. however, i see
from cvs annotate autoload.el:
1.58 (rms 05-Aug-97): (defvar generated-autoload-file "loaddefs.el"
1.58 (rms 05-Aug-97): "*File \\[update-file-autoloads] puts autoloads into.
1.58 (rms 05-Aug-97): A `.el' file can set this in its local variables section to make its
1.71 (kwzh 27-Jun-99): autoloads go somewhere else. The autoload file is assumed to contain a
1.71 (kwzh 27-Jun-99): trailer starting with a FormFeed character.")
which leads me to believe that autoload processing is not prone to any radical
changes since it has worked for quite a while now (i could be wrong).
Anyway, seeing those "M ps-print.el" lines in the output of "cvs up"
is extremely annoying, because I'm used to take that as a sign that I
have uncommitted changes in my sandbox. It also breaks the principle
that files that are rewritten locally as part of the build process are
not kept in CVS.
these are separate issues that should be addressed separately. one
approach to resolve the M status would be to request maintainers to
regenerate and check in their newest ps-print.el or cl-loaddefs.el
(regenerated) whenever any of the files that they serve as the autoload
file for are changed. this is similar to the convention of checking in
configure (regenerated) as well as configure.in.
So I think this change in its current incarnation is for the worse.
Maybe if the autoloads were written into files that are not in CVS
I'd be happier.
cvs already contains one generated file (configure script) and possibly
others. i personally dislike that practice as well, but since we have
already done the head-scratching for that file, we might as well apply
the lessons to this situation.
thi
next prev parent reply other threads:[~2007-07-06 18:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 0:04 about the byte-opt.el patch Feng Li
2007-07-05 12:54 ` Richard Stallman
2007-07-05 16:19 ` Thien-Thi Nguyen
2007-07-05 17:17 ` Stefan Monnier
2007-07-05 20:46 ` Thien-Thi Nguyen
2007-07-06 9:50 ` Eli Zaretskii
2007-07-06 11:00 ` Thien-Thi Nguyen
2007-07-06 13:03 ` Stefan Monnier
2007-07-06 10:53 ` File-specific autoloads (was: about the byte-opt.el patch) Eli Zaretskii
2007-07-06 14:02 ` File-specific autoloads Thien-Thi Nguyen
2007-07-06 16:04 ` Eli Zaretskii
2007-07-06 18:28 ` Thien-Thi Nguyen [this message]
2007-07-07 1:32 ` Stefan Monnier
2007-07-07 10:16 ` Eli Zaretskii
2007-07-07 4:55 ` Stefan Monnier
2007-07-07 10:43 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ps35e698.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).