Bug 162235

Summary: xcscope.el not found by emacs/xemacs
Product: Red Hat Enterprise Linux 3 Reporter: David Juran <djuran>
Component: cscopeAssignee: Neil Horman <nhorman>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-06 12:05:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Juran 2005-07-01 08:04:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.7.8-1.1.3.1

Description of problem:
xcscope.el is not located on a path identified by load-path and can therefore not be found by emacs/xemacs

Version-Release number of selected component (if applicable):
cscope-15.5-9.RHEL3

How reproducible:
Always

Steps to Reproduce:
1. add (require'xcscope) to ~/.emacs as outlined in tha man page for xcscope
2. note that cscope is still not available in emacs/xemacs
  

Additional info:

Comment 1 Frank Ch. Eigler 2005-07-04 15:01:28 UTC
Good point.  xcscope.el should be installed into /usr/share/emacs/site-lisp.

Comment 2 Neil Horman 2005-07-05 17:36:38 UTC
Actually, xcscope.el should be in /usr/share/emacs/site-lisp for emacs and in
/usr/share/xemacs/site-packages/lisp for xemacs, and it appears in both places
for me (as the result of the triggerin scripts in the spec file.  When I run
emacs or xemacs, adding the require line in the .emacs file works just fine for
me (I am able to access the cscope meta-commands in the buffer.  This kind of
smells like a bad .emacs->.xemacs conversion to me.  Or perhaps, your site
configuarion has changed the default load path to look for cscope is someplace
other than where it is installed?  You'd be able to tell by stracing the xemacs
start up.  If the xcscope.el file isn't getting found, we'll see where its
looking on that.


Comment 3 David Juran 2005-07-06 12:05:56 UTC
OK, I think I found the error now. 
Previously we had cscope from Fedora Extras installed. This package didn't
contain any triggers but had instead placed xscope.el in
/usr/share/emacs/site-lisp. Then when cscope got included in RHEL3, we ran
'up2date -u cscope' to update to the RHEL3 version of cscope. And here I guess
things happened in the wrong order so that the links were never made.