unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: lawrence mitchell <wence@gmx.li>
Subject: update-autoloads can fail to find correct loaddefs.el
Date: Sat, 27 Apr 2002 01:44:03 +0100	[thread overview]
Message-ID: <wk4rhy3r8s.fsf@ID-97657.usr.dfncis.de> (raw)


In GNU Emacs 21.2.1 (i386-msvc-windows98.2222)
 of 2002-03-19 on buffy
configured using `configure --with-msvc (12.00)'


Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I think this applies to all systems, however, have only tested on MS
Windows.
When calling update-autoloads the file name for loaddefs.el is the
value thereof at Emacs' build time, rather than where Emacs might
currently be installed.

The problem seems to lie in the fact that update-autoloads tries to
find loaddefs.el by doing:

(expand-file-name generated-autoload-file
                  (expand-file-name "lisp"
			            source-directory))

Which, if Emacs has subsequently moved, or been compiled in one
directory and then installed in another will return the wrong file
name.  I suppose this can be remedied at the user end by redefining
what source-directory's value is, but this doesn't seem like a nice
solution.  I'm not sure whether replacing that call by
(locate-library generated-autoload-file) would break anything.

-- 
lawrence mitchell <wence@gmx.li>

             reply	other threads:[~2002-04-27  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-27  0:44 lawrence mitchell [this message]
2002-04-27 10:29 ` update-autoloads can fail to find correct loaddefs.el Jason Rumney

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=wk4rhy3r8s.fsf@ID-97657.usr.dfncis.de \
    --to=wence@gmx.li \
    /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).