Bug 130200 - xemacs: ediff won't work
Summary: xemacs: ediff won't work
Status: RESOLVED FIXED
: 139315 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Final
Hardware: x86-64 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Mike Fabian
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-23 18:34 UTC by August Hörandl
Modified: 2006-03-21 17:03 UTC (History)
5 users (show)

See Also:
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 (486 bytes, patch)
2006-03-21 15:53 UTC, Mike Fabian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.

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