From: Peter W. <pet...@wo...> - 2001-04-19 06:32:34
|
On Thu, Apr 19, 2001 at 07:53:22AM +0800, Debian User Bruce wrote: > Dear all, > > I'm using clisp on debian GUN/Linux 2.2r2 and mozilla M18. When I want > to view the HyperSpec in Emacs via C-c H, ilisp complained that there is > no program named `netscape'. Then I made a symbolic link to mozilla, > and that lauched the program, but left the address blank and did not go > to the relevant page. > > I checked `clhs.lisp' and found that the problem seems to be caused by > hardcoding `:netscape' as the default `*browser*' in function definition > of `clhs'. Even though I tried to set *browser* to another value, it > did not help. > Hi (I assume your problem is not caused by emacs settings). You should add mozilla to the list of available browsers in *browsers*. If I evaluate "*browsers*" I get: ((:NETSCAPE "netscape" "-remote" "openURL(~a,new-window)") (:LYNX "xterm" "-e" "lynx" "~a") (:W3M "xterm" "-e" "w3m" "~a") (:MMM "mmm" "-external" "~a") (:MOSAIC "xmosaic" "~a") (:EMACS-W3 "gnudoit" "-q" "(w3-fetch \"~a\")")) So I can say "(clhs 'defun :browser :LYNX)", and it will start an xterm with lynx running on the page of the HS regarding 'defun. The default is to run netscape, if you don't specify a browser. So you need to find out what M18 wants to start it like this, and push that list onto the *browser* list. It's probably similar to netscape, so you could try: (push '(:MOZILLA "mozilla" "-remote" "openURL(~a,new-window)") *browsers*) If that doesn't work, find out what M18 wants to start like this. Regards, Peter |