Bugzilla – Bug 130200
xemacs: ediff won't work
Last modified: 2006-03-21 17:03:30 UTC
calling ediff gives the following errors in the message-log: Loading ediff... Loading ediff...done Reading file /home/hoerandl/Documents/schule/std.xml ... Symbol's value as variable is void: allow-remote-paths
we can reproduce the problem.
*** Bug 139315 has been marked as a duplicate of this bug. ***
The variable allow-remote-paths is defined in /usr/share/xemacs/xemacs-packages/lisp/efs/efs-fnh.el like this: ;;;###autoload (defvar allow-remote-paths t "*Set this to nil if you don't want remote paths to access remote files.") I.e. it has an autoload cookie. Nevertheless it is not generated into /usr/share/xemacs/xemacs-packages/lisp/efs/auto-autoloads.el. This causes the problem.
I downloaded ftp://ftp.xemacs.org/packages/xemacs-sumo-2005-12-08.tar.bz2 and checked ./xemacs-packages/lisp/efs/auto-autoloads.el in that tar ball. It contains ;;;### (autoloads nil "default-dir" "efs/default-dir.el") (defvar default-directory-function nil "\ A function to call to compute the default-directory for the current buffer. If this is nil, the function default-directory will return the value of the variable default-directory. Buffer local.") and ;;;### (autoloads nil "efs-fnh" "efs/efs-fnh.el") (defvar allow-remote-paths t "\ *Set this to nil if you don't want remote paths to access remote files.") which are both missing in /usr/share/xemacs/xemacs-packages/lisp/efs/auto-autoloads.el in the SuSE package "xemacs-packages". I.e. there seems to a problem with generating this file during the build process of "xemacs-packages".
updating to XEmacs 21.5.25 didn't change this.
Finally I found time to investigate this. The fix turned out to be quite easy.
Created attachment 74226 [details] xemacs-packages/bugzilla-130200-generate-autoloads-with-xemacs-21.5.patch The patch to fix the problem.
Fixed package submitted to NOARCH (Fixed for SuSE 10.1). ------------------------------------------------------------------- Tue Mar 21 15:28:10 CET 2006 - mfabian@suse.de - Bugzilla #130200: "ediff won't work": The auto-autoloads.el files have to be generated differently when XEmacs 21.5.x is used to build the packages. -------------------------------------------------------------------
rpms of xemacs-packages for SuSE Linux 10.0 with this problem fixed are here: ftp://ftp.suse.com/pub/projects/m17n/10.0/RPMS/noarch/xemacs-packages-20051208-9.1.noarch.rpm ftp://ftp.suse.com/pub/projects/m17n/10.0/RPMS/noarch/xemacs-packages-el-20051208-9.1.noarch.rpm ftp://ftp.suse.com/pub/projects/m17n/10.0/RPMS/noarch/xemacs-packages-info-20051208-9.1.noarch.rpm ftp://ftp.suse.com/pub/projects/m17n/10.0/RPMS/src/xemacs-packages-20051208-9.1.src.rpm