Hi,
I could not reach the archive this morning, so please bear with me if this
has been discussed before.
I have a problem browsing the JDK docs and the JDE user guide on Win95 when
I use the JDE menu commands for them. I have installed the shelex.exe, and
included the following in my .emacs:
;; Configuration required to use browse-url on Win32. The program
shelex.exe
;; has to be in the path (my case: the jre bin directory c:\Program
Files\....)
;; Note the variable jde-jdk-doc-url also has to be set to point to the
;; file where you want to start.
(defvar shell-execute-helper "shelex.exe")
(defun shell-execute-url (url &optional new-window)
"Invoke the shell-execute-helper program to call ShellExecute and
launch
or re-direct a web browser on the specified url."
(interactive "sURL: ")
(call-process shell-execute-helper nil nil nil url))
(setq browse-url-browser-function 'shell-execute-url)
(setq gnus-button-url 'shell-execute-url) ; GNUS
(setq vm-url-browser 'shell-execute-url) ; VM
========================================================================
=======
The problem I have is that after Netscape starts up (with the correct URL,
i.e. either the JDK or JDE documentation), I don't have any control in the
Emacs window. The text that was under the Netscape window is not refreshed
when I go back to the Emacs window, and nothing works there until I close
Netscape. If I start up Netscape as a separate process, and then choose
JDE/Browse JDK doc or Help everythings works fine. Is there a fix for this?
(I have edited the registry to include the ddeexec stuff as described in
the FAQ regarding the shelex program. It also happens whether I use the
cygwin bash shell or not.).
Thank you,
Gert.