unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "christopherbalz" <ChristopherMBalz@StanfordAlumni.org>
Subject: Re: How to get rid of stock (standard) speedbar if do not have root access?
Date: 18 Dec 2006 11:12:47 -0800	[thread overview]
Message-ID: <1166469167.594417.150820@80g2000cwy.googlegroups.com> (raw)
In-Reply-To: <1166190895.571195.71580@79g2000cws.googlegroups.com>

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: "#<buffer .emacs> - Unmatched Text during Lexical
> > Analysis"
> > or (for another example):
> >   idle error: "#<buffer Packager.java> - 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.

  reply	other threads:[~2006-12-18 19:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 17:34 How to get rid of stock (standard) speedbar if do not have root access? christopherbalz
2006-12-13 17:50 ` Robert Thorpe
2006-12-14 18:12   ` christopherbalz
2006-12-15 13:54     ` Robert Thorpe
2006-12-18 19:12       ` christopherbalz [this message]
2006-12-19 11:31         ` Robert Thorpe
2006-12-19 17:24           ` christopherbalz
2006-12-13 21:41 ` Ken Goldman
2006-12-14 13:41   ` Robert Thorpe
2006-12-14 18:10     ` Kevin Rodgers
     [not found]     ` <mailman.1890.1166119927.2155.help-gnu-emacs@gnu.org>
2006-12-15 16:04       ` Robert Thorpe
2006-12-15 17:03       ` Robert Thorpe
2006-12-15 17:36       ` Robert Thorpe
2006-12-14 22:55 ` Tim X
2006-12-19 18:00   ` christopherbalz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1166469167.594417.150820@80g2000cwy.googlegroups.com \
    --to=christophermbalz@stanfordalumni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).