From: Ken Raeburn <raeburn@raeburn.org>
To: Emacs Developers <emacs-devel@gnu.org>
Subject: Re: Canonical location for emacs-version string in source tree?
Date: Fri, 21 May 2010 22:24:05 -0400 [thread overview]
Message-ID: <B640BF78-E309-44E2-A1E5-931336E1E3E1@raeburn.org> (raw)
In-Reply-To: <jwv7hmwrc3t.fsf-monnier+emacs@gnu.org>
On May 21, 2010, at 20:54, Stefan Monnier wrote:
>>> A simple fix is to get rid of the DOC-NN.NN.NN madness and just use
>>> "DOC" as the file name. Any objection?
>> Would the emacs-NN.NN.NN madness go with it as well?
>
> I'd be in favor of it, tho I don't really care.
I thought about that, and was trying to guess what reasons there might be for keeping it as is. All I could come up with was using one emacs binary while installing a newly-compiled one into the same tree. If you change the doc strings or order of functions in the emacs C sources, or the pre-loaded Lisp sources, the offsets in the DOC file may change, so the values loaded into one Emacs binary correspond to its matching DOC file. (Though there are attempts to keep them consistent by running make-docfile on all the stuff you *might* be loading depending on the configuration, via ${SOME_MACHINE_OBJECTS}.)
Though, I've also been wondering if it would be worthwhile to compile those doc strings into read-only data (shared between processes) in the Emacs binary itself, and scrap the DOC file altogether. Through the wonder of gcc 'section' attributes, we could (depending on the configuration) even lump all the documentation together on disk pages that don't even need to get loaded unless you actually reference them. Without the emacs/DOC file coordination to worry about, simply installing a new binary after deleting the old one or renaming it to "emacs.old" should be safer on most systems, even if you're running the old one.
Ken
next prev parent reply other threads:[~2010-05-22 2:24 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-20 16:57 Canonical location for emacs-version string in source tree? Jeff Kowalczyk
2010-05-20 17:12 ` Ken Raeburn
2010-05-20 18:01 ` Eli Zaretskii
2010-05-21 1:39 ` Ken Raeburn
2010-05-21 5:44 ` Eli Zaretskii
2010-05-21 20:19 ` Stefan Monnier
2010-05-21 21:33 ` Eli Zaretskii
2010-05-22 0:54 ` Stefan Monnier
2010-05-22 2:24 ` Ken Raeburn [this message]
2010-05-22 13:07 ` Stefan Monnier
2010-05-22 6:32 ` Eli Zaretskii
2010-05-22 16:03 ` Richard Stallman
2010-05-23 13:19 ` Stefan Monnier
2010-05-23 13:44 ` Lennart Borgman
2010-05-23 14:16 ` Drew Adams
2010-05-24 13:14 ` Stefan Monnier
2010-05-24 13:57 ` Drew Adams
2010-05-24 14:13 ` Stefan Monnier
2010-05-24 14:25 ` Drew Adams
2010-05-24 13:58 ` Ken Raeburn
2010-05-24 14:16 ` Stefan Monnier
2010-05-24 14:50 ` Ken Raeburn
2010-05-24 14:21 ` Drew Adams
2010-05-24 15:38 ` Richard Stallman
2010-05-24 17:44 ` Stefan Monnier
2010-05-21 5:44 ` Ulrich Mueller
2010-05-20 19:57 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B640BF78-E309-44E2-A1E5-931336E1E3E1@raeburn.org \
--to=raeburn@raeburn.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.