[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: jde + emacs-w3m problem



Is there a way to get the javadocs into a separate frame that gets reused?
Adding "*w3m*" to special-display-buffer-names did not do the trick.

Suraj

Nick Sieger wrote:

>>>>>>"JC" == James Cox <James.Cox@NDCHealth.com> writes:
> 
> 
> JC> Hi Paul,
> JC> 	If I remember correctly, integration was pretty much a snap.
> JC> 	After
> JC> installing emacs-w3m-1.3.4, and w3m 0.4.1, I needed to modify
> JC> jde-file-to-url because there seemed to be some discrepancy in how
> JC> jdee and w3m handle URL file notation.  (see previous email).  I
> JC> also added:
> 
> JC> (setq browse-url-browser-function 'w3m-browse-url)
> 
> JC> to my .emacs.
> 
> Indeed, it was easy for me as well.  [Aside: I was also pleasantly
> surprised that cygwin gcc handled w3m out of the box.  Guess I don't
> realize just how good an emulation layer cygwin is.]
> 
> In addition to the above plus '(jde-help-use-frames nil), I added this
> advice which causes the javadoc to jump up in another window.  Good
> for javadoc, probably less so if you use emacs-w3m a lot for other
> browsing.  There's probably a better way to do this from within the
> JDEE, but for me it works great.
> 
> (defadvice w3m-browse-url (before
> 			   njs-w3m-browse-url-new-window
> 			   activate compile)
>   "Always w3m-browse links in a new window."
>   (ad-set-arg 1 t))
> 
> 
>