From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "christopherbalz" Newsgroups: gmane.emacs.help Subject: Re: How to get rid of stock (standard) speedbar if do not have root access? Date: 18 Dec 2006 11:12:47 -0800 Organization: http://groups.google.com Message-ID: <1166469167.594417.150820@80g2000cwy.googlegroups.com> References: <1166031290.755052.213430@l12g2000cwl.googlegroups.com> <1166032206.891346.41680@f1g2000cwa.googlegroups.com> <1166119968.268142.212260@16g2000cwy.googlegroups.com> <1166190895.571195.71580@79g2000cws.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166470888 7063 80.91.229.2 (18 Dec 2006 19:41:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2006 19:41:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 18 20:41:26 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GwOMI-0004q3-Aw for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2006 20:41:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GwOMH-00046Y-LK for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2006 14:41:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!80g2000cwy.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 66 Original-NNTP-Posting-Host: 208.51.197.126 Original-X-Trace: posting.google.com 1166469173 16430 127.0.0.1 (18 Dec 2006 19:12:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 18 Dec 2006 19:12:53 +0000 (UTC) In-Reply-To: <1166190895.571195.71580@79g2000cws.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 80g2000cwy.googlegroups.com; posting-host=208.51.197.126; posting-account=vuULPQwAAACC6U0oTIeYncV2pdCE-Ru0 Original-Xref: shelby.stanford.edu gnu.emacs.help:144104 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:39701 Archived-At: I've got this Emacs: GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-08-08 on tweety.build.redhat.com and Speedbar 1.0pre3 I notice from my Ubuntu system at home that 21.4 or so is the latest shipping version. Interestingly, on re-start of Emacs and just a few operations, including using the speedbar with jde and pulling up javadoc in a web browser from c-c c-v c-w at point, there is no error. In any case, the error is more of an inconvenience than anything more. Robert Thorpe wrote: > 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.