From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: How to get rid of stock (standard) speedbar if do not have root access? Date: 15 Dec 2006 05:54:55 -0800 Organization: http://groups.google.com Message-ID: <1166190895.571195.71580@79g2000cws.googlegroups.com> References: <1166031290.755052.213430@l12g2000cwl.googlegroups.com> <1166032206.891346.41680@f1g2000cwa.googlegroups.com> <1166119968.268142.212260@16g2000cwy.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166193666 7732 80.91.229.10 (15 Dec 2006 14:41:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 14:41:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 15:41:06 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvEFE-0002mf-LR for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 15:41:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvEFE-0006sn-4w for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 09:41:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!79g2000cws.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 163.244.62.65 Original-X-Trace: posting.google.com 1166190912 8971 127.0.0.1 (15 Dec 2006 13:55:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Dec 2006 13:55:12 +0000 (UTC) In-Reply-To: <1166119968.268142.212260@16g2000cwy.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF1ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: 79g2000cws.googlegroups.com; posting-host=163.244.62.65; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143958 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39566 Archived-At: christopherbalz wrote: > No luck, having tried all kindly mentioned approaches. > > Unloading the speedbar: > (unload-feature 'speedbar) > in some places in my .emacs file does not work since the speedbar is > not loaded. Good point. I forgot how Speedbar works. The one function M-x speedbar is autoloaded. In this case you don't need to do any unloading, just to load the mode. > If I try this code right before '(load-file (expand-file-name > "~/emacs/site/cedet/common/cedet.elc"))': > > (load-file (expand-file-name "~/emacs/site/speedbar/sb-image.el")) ;; > Override stock, system speedbar. > (load-file (expand-file-name "~/emacs/site/speedbar/dframe.elc")) ;; > Override stock, system speedbar. > (load-file (expand-file-name "~/emacs/site/speedbar/speedbar.elc")) ;; > Override stock, system speedbar. > What you are doing here is loading things from a location that is not on the load-path. It is better to append to the load-path. (setq load-path (append load-path '("~/emacs/site/speedbar/"))) (load "dframe") (load "sb-image") (load "speedbar") I think loading speedbar should load the others anyway, with this setup. > I then do get the updated speedbar (1.0pre3), but also continue to get > the annoyingly ever-repeated error message: > idle error: "# - Unmatched Text during Lexical > Analysis" > or (for another example): > idle error: "# - Unmatched Text during Lexical > Analysis" [2 times] > > that is said to be due to the speedbar version conflict I am trying to > fix in the first place. That looks like a compability problem, probably between the Speedbar version you're using and the version of Emacs. Apart from that I don't know.