Bug 130200

Summary: xemacs: ediff won't work
Product: [openSUSE] SUSE LINUX 10.0 Reporter: August Hörandl <hoea>
Component: X11 ApplicationsAssignee: Mike Fabian <mfabian>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: coolo, duwe, sam.isaacson, tiwai, werner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xemacs-packages/bugzilla-130200-generate-autoloads-with-xemacs-21.5.patch

Description August Hörandl 2005-10-23 18:34:19 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
Comment 1 Mike Fabian 2005-10-25 14:46:51 UTC
we can reproduce the problem.
Comment 2 Mike Fabian 2005-12-16 20:33:38 UTC
*** Bug 139315 has been marked as a duplicate of this bug. ***
Comment 3 Mike Fabian 2005-12-16 20:39:53 UTC
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.
Comment 4 Mike Fabian 2005-12-16 20:54:13 UTC
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".
Comment 5 Mike Fabian 2006-03-17 15:13:57 UTC
updating to XEmacs 21.5.25 didn't change this.
Comment 6 Mike Fabian 2006-03-21 15:52:29 UTC
Finally I found time to investigate this.

The fix turned out to be quite easy.
Comment 7 Mike Fabian 2006-03-21 15:53:26 UTC
Created attachment 74226 [details]
xemacs-packages/bugzilla-130200-generate-autoloads-with-xemacs-21.5.patch

The patch to fix the problem.
Comment 8 Mike Fabian 2006-03-21 15:55:30 UTC
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.

-------------------------------------------------------------------