Re: Output buffer

Nozomu Ando <[email protected]> Thu, 18 Jul 2002 18:59:21 +0900
Newsgroups gmane.emacs.macintosh.devel
Message-ID <[email protected]>
Hi, Enrico,

On 2002.07.18, at 17:54, Enrico Franconi wrote:

> The output buffers from subordinate processes (in my case, latex)
> loose the final parts -- this was fixed a while ago, but it is broken
> again. This functionality is crucial for latex users, since the
> package auctex captures the output from that buffers to make
> decisions. Can somebody suggest a patch I could test?


please try

	(setq process-connection-type nil)

in .emacs.


In lisp/term/mac-win.el, the variable set by the following code:

(unless (eq system-type 'darwin)
   ;; Tell Emacs to use pipes instead of pty's for processes because the
   ;; latter sometimes lose characters.  Pty support is compiled in since
   ;; ange-ftp will not work without it.
   (setq process-connection-type nil))

But pty on MacOSX (or at least on build 5S66) is buggy.
So I think the above code should be simply

	(setq process-connection-type nil)

or

	(if (eq system-type 'darwin)
	    (setq process-connection-type nil))


I hope it helps.

Regards,

Nozomu Ando



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf