unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs 29 slow subprocess output when using pipe for connection
@ 2023-08-26  3:39 Chris Hanson
  2023-08-27  8:35 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Hanson @ 2023-08-26  3:39 UTC (permalink / raw)
  To: help-gnu-emacs

On Emacs 29, I've noticed when using the MIT/GNU Scheme interaction mode 
(xscheme.el) the output is extremely slow; it was fine in Emacs 28.

After a few hours of debugging, I found a fix.  In 
xscheme-start-process, I changed the following lines:

(setq process
       (let ((process-connection-type nil))
	(apply 'start-process
	       (cons the-process
		     (cons buffer
			   (xscheme-parse-command-line
			    command-line))))))

to

(setq process
       (apply 'start-process
	     (cons the-process
		   (cons buffer
			 (xscheme-parse-command-line
			  command-line)))))

This simply changes the connection type from pipe to pty.

That's surprising behavior.  Why is the pipe connection so slow?  Has no 
one noticed this because the default is to use ptys?

Any input would be helpful.  If there's no feedback, I'll file a bug.

Note that I don't read this list, so please include me in any reply.

Thanks,
Chris



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-27  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26  3:39 Emacs 29 slow subprocess output when using pipe for connection Chris Hanson
2023-08-27  8:35 ` Eli Zaretskii
2023-08-27  8:55   ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).