[Q] Fix some bugs in load-history construction, built-in symbol file names.
Stephen J. Turnbull
stephen at xemacs.org
Tue Dec 30 09:23:36 EST 2008
Aidan Kehoe writes:
> Can you do a M-x report-xemacs-bug ? I don't see the problem
> locally, and the configure options would be helpful in reproducing
> it.
I'm pretty sure that applying the following patch, then doing:
mkdir what-would-jamie-do
cd what-would-jamie-do
../configure
make
will make the symptoms evident. What to do about it is up to you, I'm
in sympathy with using the relative path but it may not be easy.
Obviously, breaking configure --srcdir isn't acceptable. I append the
M-x report-xemacs-bug output for posterity's sake.
diff -r 8775d3b54874 lisp/make-docfile.el
--- a/lisp/make-docfile.el Mon Dec 29 23:36:00 2008 +0900
+++ b/lisp/make-docfile.el Tue Dec 30 23:07:07 2008 +0900
@@ -192,8 +192,10 @@
(progn
(if (and (null docfile-out-of-date)
(file-newer-than-file-p arg docfile))
- (setq docfile-out-of-date t))
- (setq processed (cons arg processed)))))
+ (setq docfile-out-of-date t)
+ (message "file-exists-p %s: %s" arg (file-exists-p arg)))
+ (setq processed (cons arg processed)))
+ (message "already processed: %s" arg)))
(setq preloaded-file-list (cdr preloaded-file-list))))
;; Finally process the list of site-loaded files.
@@ -231,7 +233,8 @@
;(message (prin1-to-string (append options processed)))
-(when docfile-out-of-date
+(if (not docfile-out-of-date)
+ (message "docfile is not out of date: %s" docfile)
(condition-case nil
(delete-file docfile)
(error nil))
System Info to help track down your bug:
---------------------------------------
uname -a: Darwin chibi.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
../configure '--with-site-prefixes=/usr/X11R6:/opt/local:/usr/local/canna' '--with-debug' '--with-error-checking=all' '--with-athena=3d' '--with-widgets=athena' '--with-dialogs=athena' '--with-xft=emacs,menubars,tabs,gauges' '--with-memory-usage-stats' '--with-mule' '--with-union-type' '--with-system-packages=/usr/local/lib/xemacs' '--with-xim=no' '--with-database=no'
XEmacs 21.5-b28 "fuki" 8775d3b54874 configured for `powerpc-apple-darwin8.11.0'.
Compilation Environment and Installation Defaults:
Source code location: /Users/steve/Software/XEmacs/alioth/sandbox
Installation prefix: /usr/local
Additional prefixes: /usr/X11R6 /opt/local /usr/local/canna
Operating system description file: `s/darwin.h'
Machine description file: `m/powerpc.h'
Compiler version: powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
- Using fontconfig to manage fonts.
- Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
- Using Xft to render antialiased fonts in menubars.
WARNING: This feature will be replaced with a face.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
- Using Xft to render antialiased fonts in tab controls.
WARNING: This feature will be replaced with a face.
- Using Xft to render antialiased fonts in progress bars.
WARNING: This feature will be replaced with a face.
WARNING: This feature not yet implemented; setting ignored.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Databases:
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for Canna on Mule.
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the union type for Lisp_Objects.
WARNING: ---------------------------------------------------------
WARNING: This tends to trigger compiler bugs, especially when
WARNING: combined with MULE and ERROR_CHECKING. Crashes have
WARNING: been seen with various versions of GCC (up to about 2.95),
WARNING: and recently with Visual C++ as well (mid-2003).
WARNING: More recent versions may be safer, or not.
WARNING: ---------------------------------------------------------
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/usr/local/anthy/lib/xemacs/site-lisp/anthy/leim-list
/usr/local/lib/xemacs/mule-packages/lisp/leim/leim-list
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/mule/viet-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/mule/korea-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/mule/japan-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/mule/ethio-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/china-util
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/mule/china-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-ucs/unicode
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/unicode
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/regexp-opt
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/easy-mmode
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/Users/steve/Software/XEmacs/alioth/sandbox/+build/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(tramp ver: 1.37 upstream: 2.0.55)
(introspector ver: 0.8 upstream: No-Upstream-Ver)
(guided-tour ver: 0.51 upstream: No-Upstream-Ver)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 diff-mode view-less
view hyper-apropos ediff ediff-util ediff-merg ediff-diff ediff-wind
ediff-tbar ediff-help ediff-mult ediff-init background vc-git
guided-tour gnuserv desktop mwheel anthy-conf anthy-dic anthy overlay
vc-hooks vc-xemacs jka-compr tramp-smb tramp efs-cu regexp-opt
executable advice advice-preload shell comint ring password
format-spec timer-funcs trampver tex-site font-lock cus-face filladapt
japan-util zenirc-autoloads xwem-autoloads xslt-process-autoloads
xslide-autoloads xlib-autoloads xetla-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tm-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads ruby-modes-autoloads
rmail-autoloads riece-autoloads reftex-autoloads re-builder-autoloads
python-modes-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
introspector-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads guided-tour-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
fortran-modes-autoloads forms-autoloads footnote-autoloads
eudc-autoloads eterm-autoloads ess-autoloads eshell-autoloads
escreen-autoloads erc-autoloads emerge-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads ecb-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads skk-autoloads
mule-ucs-autoloads mule-base-autoloads lookup-autoloads leim-autoloads
latin-unity-autoloads egg-its-autoloads edict-autoloads mule-autoloads
auto-autoloads auto-show fontl-hooks canna-leim tibetan slovenian
czech romanian lao devanagari indian cyrillic code-cmds gutter-items
menubar-items x-menubar mode-motion mouse behavior itimer auto-save
lisp-mode easymenu easy-mmode iso8859-1 page buff-menu lib-complete
loadhist cus-file derived newcomment rsz-minibuf env text-props
fontconfig frame obsolete cus-start custom widget cl-extra cl cl-19
packages backquote unicode font-mgr lucid-scrollbars cut-buffer
xft-fonts lucid-menubars athena-dialogs x c-balloon-help tty-frames
tty toolbar scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar md5 xemacs mule
gutter tiff png gif jpeg xpm xbm lisp-float-type file-coding darwin
dialog devices window-system base64)
Recent keystrokes:
-----------------
^ c TAB BS BS - d TAB RET C-x o C-x h ESC w C-x o C-x
C-s ESC ! up RET C-x o C-x h ESC w C-x C-f C-g C-x
C-w SPC / t m p / m - d . p a t c h RET ESC ! s c p
SPC / BS m - d TAB b i g i r o n : / m BS t m p / RET
C-x k RET ESC x r e p o r t - e m a c s - b u g RE
T
Recent messages (most recent first):
-----------------------------------
Warning:
Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.
To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.
To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent .
Loading xemacsbug...done
Loading xemacsbug...
Wrote /tmp/m-d.patch
Loading diff-mode...done
Loading diff-mode...
Making completion list...
Quit
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
Type space to flush; repeat completion command to scroll
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
Loading view-less...done
Loading view-less...
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
C-x C-g not defined.
Wrote /Users/steve/Software/XEmacs/alioth/xemacs/lisp/make-docfile.el
At end of the difference list
More information about the XEmacs-Patches
mailing list