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: 14 Dec 2006 10:12:48 -0800	[thread overview]
Message-ID: <1166119968.268142.212260@16g2000cwy.googlegroups.com> (raw)
In-Reply-To: <1166032206.891346.41680@f1g2000cwa.googlegroups.com>

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.

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.

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.

Other things tried:  I tried  or right after '(require 'jde)':

(unload-feature (speedbar 'force))

I do get the latest speedbar (1.0pre3), but then I get this error:
   unload-feature: nil is not a currently loaded feature

At least, I have the updated speedbar now.

However, that the annoyingly ever-repeated error message sometimes
interrupts viewing the message line, and suggests that the problem is
not really solved.

Any ideas?




Robert Thorpe wrote:
> christopherbalz wrote:
> > I'm running the latest speedbar, as required by the Java Dev
> > Environment for Emacs, so I need (per the instructions) to delete the
> > stock speedbar.  But, as with many users, I am working in an
> > environment where I do not have root access.  So I can't delete the old
> > speedbar.
> >
> > Is there a way to get rid of the stock speedbar without having to copy
> > over the entire install dir on the system to my local account and
> > redirect Emacs on startup completely to that?  For example, is there a
> > way to manipulate the load path to avoid just the old speedbar, and
> > leave the other loading unchanged?
>
> You should probably be able to:-
> * Put new speedbar in your own dir
> * Unload the old speedbar, see here:-
> http://www.cs.huji.ac.il/support/emacs/elisp-help/elisp-manref/elisp_15.html#SEC202
> * Load the new speedbar
> 
> It will probably slow Emacs load time unfortunately.

  reply	other threads:[~2006-12-14 18: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 [this message]
2006-12-15 13:54     ` Robert Thorpe
2006-12-18 19:12       ` christopherbalz
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=1166119968.268142.212260@16g2000cwy.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).