Question.
When I add:
(add-hook 'jde-mode-hook 'speedbar-frame-mode)
thus:
(defun my-jde-mode-hook ()
(c-add-style "my-java" '("java" (c-basic-offset . 2)))
(c-set-style "my-java"))
(add-hook 'jde-mode-hook 'speedbar-frame-mode)
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
I get an error:
Cannot switch buffers in a dedicated window.
and the .java file does not load
Any ideas?
thanks,
-Ray
Matt Koss writes:
> On Thu, 22 Jun 2000, you wrote:
> > I wouldn't modify the JDE source, put something like:
> >
> > (add-hook 'jde-mode-hook 'speedbar-frame-mode)
> >
> > In your .emacs file.
> >
>
> Well, I thought that's obvious.
> All customizations like this should be put either there, or into some other
> lisp file ( like site-start.el ) which you can compile ( = loads quicker ).
>
> Regards
>
> Matt
>
> > Jeff
> >
> > "Aggerwal', Neil" wrote:
> > > Well, the only place I saw jde-mode-hook is in jde-parse.el and
> > > jde-bug.el. So, I took a chance and put it in jde-parse.el:
> > >
> > > (add-hook
> > > 'jde-mode-hook
> > > (lambda ()
> > > '(speedbar t)
> > > (make-local-variable 'semantic-toplevel-bovine-table)
> > > (setq semantic-toplevel-bovine-table jde-parse-bovine-java-grammar)
> > > (when jde-enable-classes-index-menu
> > > (setq imenu-create-index-function 'jde-create-imenu-index)
> > > (imenu-add-to-menubar "Classes"))))
> > >
> > > But this did nothing.
> > >
> > > I also tried it in jde-bug and '(speedbar-frame-mode) to no avail.
> > >
> > > Any ideas?
> > >
> > > Thanks,
> > > Neil.
> > >
> > > -----Original Message-----
> > > Sure, you can launch it at anytime, just put e.g. into your jde-mode-hook
> > > something like '(speedbar-frame-mode)
>
> --
> Matt Koss
> e-mail: [EMAIL PROTECTED]
>
--
--
You are in a maze of twisting little Java VMs, all different...
[EMAIL PROTECTED] Tivoli Systems Inc. Austin TX USA
http://www.cross-site.com