tags 402015 +patch
thank you

emacs-snapshot-gtk w/ speedbar 1:1.0pre3-6
 C-h i ... works fine.
 C-x f /usr/share/python/pyversions.py ... works fine

After installing semantic (+ ede, eieio) and rebooting emacs:
 C-h i ... works fine.
 C-x f /usr/share/python/pyversions.py ... works fine

After installing ecb (+ cogre, cedet-contrib) and rebooting emacs:
 C-h i ... 
     eval: Recursive `require' for feature `sb-info'
 C-x f /usr/share/python/pyversions.py ... 
     File mode specification error: (error "Recursive `require' for feature 
`sb-info'")

I just pulled "$Id: sb.info.el,v 1.20 [...]" as indicated by Riccardo
Murri, rebuilt the cedet source package, and I can confirm that this
fixes the issue:

After upgrading speedbar to locally-built version 1:1.0pre3-6.1:
 C-h i ... works fine.
 C-x f /usr/share/python/pyversions.py ... works fine

Well, so it looks like bug in semantic that is probably exposed
through ecb.

The .dpatch file I used is attached below.

HTH,
-Hilko

##!/bin/sh -e
## 05_recursive_require_fix_sb-info.dpatch by Hilko Bengen <[EMAIL PROTECTED]>
##
## All lines beginning with \`## DP:' are a description of the patch.
## DP: Fix "Recursive `require' for feature sb-info"  in sb-info.el.

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
        -patch) patch -f --no-backup-if-mismatch --dry-run -p1 < $0 && patch -f 
--no-backup-if-mismatch -p1 < $0
;;
        -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as 
argument"
                exit 1;;
esac

exit 0

diff -urN cedet-1.0pre3.orig/speedbar/sb-info.el 
cedet-1.0pre3/speedbar/sb-info.el
--- cedet-1.0pre3.orig/speedbar/sb-info.el      2005/06/30 01:48:56     1.19
+++ cedet-1.0pre3/speedbar/sb-info.el   2006/06/23 08:26:16     1.20 HEAD
@@ -5,7 +5,7 @@
 ;; Author: Eric M. Ludlam <[EMAIL PROTECTED]>
 ;; Version: 0.3
 ;; Keywords: file, tags, tools
-;; X-RCS: $Id: sb-info.el,v 1.19 2005/06/30 01:48:56 zappo Exp $
+;; X-RCS: $Id: sb-info.el,v 1.20 2006/06/23 08:26:16 ponced Exp $
 ;;
 ;; This file is patch of GNU Emacs.
 ;;
@@ -247,9 +247,9 @@
   (Info-speedbar-hierarchy-buttons nil 0)
   )
 
+(provide 'sb-info)
+
 ;;; Overriding preinstalled code.
 ;;;###autoload
 (eval-after-load "info" '(require 'sb-info))
-
-(provide 'sb-info)
 ;;; sb-info.el ends here


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to