🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2115

Re: webster with emacs 18.59 ?

#2115
From: Axel Boldt
Date: Sat, 09 Jan 1993 03:08
35 lines
1695 bytes
6500axel@ucsbuxa.ucsb.edu (Axel Boldt) writes:


>Has someone running webster.el (version last changed 4/15/92) with
>emacs 18.59? I always get 'Attempting to connect to server ...' and
>then 'Process webster not running'. This error message is generated by
>the line 
>  (process-send-string  webster-process webster-command)
>in webster-send-request; I suspect that the problem lies in the
>command make-shell a few lines earlier. Did the definition of
>make-shell change in the new emacs release? Why is make-shell nowhere
>documented? 

Well, I found a solution to the problem with webster, but I don't know
whether it is clean, safe or whatever. Anyway:

I changed the following lines in webster-send-request

< 	  (setq webster-buffer
< 		(if (not (fboundp 'make-shell)) ;emacs19
< 		    (make-comint webster-process-name "telnet")
< 		  (make-shell webster-process-name "telnet")))

to

> ;	  (setq webster-buffer
> ;		(if (not (fboundp 'make-shell)) ;emacs19
> ;		    (make-comint webster-process-name "telnet")
> ;		  (make-shell webster-process-name "telnet")))
>         (setq webster-buffer (generate-new-buffer "webster"))
>         (start-process webster-process-name webster-buffer "telnet")

Seems to work.

Axel.
Technical Details
Message-ID: <7305@ucsbcsl.ucsb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!ucsbcsl!ucsbuxa!6500axel
References: <7233@ucsbcsl.ucsb.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!ucsbcsl!ucsbuxa!6500axel
From: 6500axel@ucsbuxa.ucsb.edu (Axel Boldt)
Newsgroups: gnu.emacs.help
Subject: Re: webster with emacs 18.59 ?
Message-ID: <7305@ucsbcsl.ucsb.edu>
Date: 9 Jan 93 03:08:28 GMT
References: <7233@ucsbcsl.ucsb.edu>
Sender: root@ucsbcsl.ucsb.edu
Reply-To: 6500axel@ucsbuxa.ucsb.edu
Organization: Univ of California, Santa Barbara, Dept of Mathematics
Lines: 35