On Fri, 9 Jun 2000, Phillip Lord wrote:
> Mark> If I use the jde-wiz-find-and-import function on a Class that
> Mark> has several alternatives then the list buffer appears in the
> Mark> bottom window (which is what I want), but after I make the
> Mark> selection the window is removed leaving me with just my JDE
> Mark> buffer windows.
>
> Mark> Is there anyway I can stop this from happening, ideally I
> Mark> would like the window to be restored to its original size and
> Mark> buffer.
>
>
> This bit is a little harder. I have always found that
> the way emacs copes with having more than 2 windows open in one
> frame, well frankly it sucks. If you are using XEmacs you could try
> using the "push-window-configuration" function which might work,
> although I do not have a working xemacs to try it out on. For Gnu
> Emacs I really dont know... Anyway here is the patch (with the last
> modification as well), if you have xemacs and want to try it out.
>
>
> Again THIS IS UNTESTED CODE so back up jde-wiz.el first
> in case it does not work....
>
> diff ~/emacs/site-lisp/jde/lisp/jde-wiz.el jde-wiz.el
> 225a226
> > (push-window-configuration)
> 242d242
> < :value new-import
> 271c271,272
> < (if jde-wiz-selected-imports
> ---
> > (pop-window-configuration)
> > (if jde-wiz-selected-imports
Thanks for your help, I forgot to mention I was using GNU/Emacs.
Anyway I've managed to get nearly the functionality I want by removing
the (delete-window) line just above where you suggested inserting
(pop-window-configuration).
(I really should try to learn elisp one day!)
Cheers
- Mark.