unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Updating autoloads
@ 2005-08-14 16:43 Luc Teirlinck
  2005-08-14 19:04 ` Eli Zaretskii
  2005-08-15  4:03 ` Luc Teirlinck
  0 siblings, 2 replies; 4+ messages in thread
From: Luc Teirlinck @ 2005-08-14 16:43 UTC (permalink / raw)


Forgetting to update one's loaddefs.el may yield much more varied and
less easily recognized classes of problems than INSTALL.CVS suggests.
If ldefs-boot.el got updated, updating Emacs will work fine, but if
the user did not update his loaddefs.el, errors will occur when
actually running the updated Emacs.  For instance, some users are
currently experiencing problems with the newly autoloaded
`desktop-buffer-mode-handlers'.

On my machine updating autoloads takes only a fraction of a second.
On slower machines, it maybe could take a few seconds, but that may be
worth avoiding periodic problems.  I guess that people who regularly
update Emacs use a script, so that typing is not a problem.  Assuming
that we are not going to make any changes to lisp/Makefile.in that
could get rid of the problems automatically, what about the following
change to INSTALL.CVS, which would recommend to always update
autoloads.  It would save CVS users the time to worry about fake bugs
and file bug reports on them and save us the time to have to
investigate these reports.

===File ~/INSTALL.CVS-diff==================================
*** INSTALL.CVS	02 Apr 2004 12:04:32 -0600	1.3
--- INSTALL.CVS	14 Aug 2005 11:06:17 -0500	
***************
*** 18,23 ****
--- 18,24 ----
    $ ./configure
    $ make
    $ cd lisp
+   $ make autoloads EMACS=../src/emacs
    $ make recompile EMACS=../src/emacs
    $ cd ..
    $ make
***************
*** 25,43 ****
  (If you want to install the Emacs binary, type "make install" instead
  of "make" in the last command.)
  
! Occasionally the file "lisp/loaddefs.el" will need be updated to reflect
! new autoloaded functions.  If you see errors about undefined lisp
! functions during compilation, that may be the reason.  Another symptom
! may be an error saying that "loaddefs.el" could not be found; this is
! due to a change in the way loaddefs.el was handled in CVS, and should
! only happen once, for users that are updating old CVS trees.
! 
! To update loaddefs.el, do:
! 
!   $ cd lisp
!   $ make autoloads EMACS=../src/emacs
! 
! If either of above procedures fails, try "make bootstrap".
  
  Users of non-Posix systems (MS-Windows etc.) should run the
  platform-specific configuration scripts (nt/configure.bat, config.bat,
--- 26,32 ----
  (If you want to install the Emacs binary, type "make install" instead
  of "make" in the last command.)
  
! If the above procedure fails, try "make bootstrap".
  
  Users of non-Posix systems (MS-Windows etc.) should run the
  platform-specific configuration scripts (nt/configure.bat, config.bat,
============================================================

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

end of thread, other threads:[~2005-08-15  4:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-14 16:43 Updating autoloads Luc Teirlinck
2005-08-14 19:04 ` Eli Zaretskii
2005-08-14 19:19   ` Luc Teirlinck
2005-08-15  4:03 ` Luc Teirlinck

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).