[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Re: Accessing TeX-related documentation

From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: Accessing TeX-related documentation
Date: Sun, 20 Nov 2005 15:39:03 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2005-11-20) writes:
>> Ralf Angeli <address@hidden> writes:
>>> Anyway, it works, i.e. an xdvi window is displayed, if
>>> `process-connection-type' is bound to nil when `start-process' is
>>> being called:
>>> (let ((process-connection-type nil))
>>>   (start-process "texdoc-proc" (current-buffer) "texdoc" "float"))
>> Hmmm.  Makes one think about our viewer starting stuff.  We had the
>> problem that we could not figure out whether starting the viewer
>> failed.
> You mean that the user gets no feedback of it failed?  I don't recall
> any discussion about that.  Maybe this was before my time.
> The viewer is called with `TeX-run-discard' which uses `(call-process
> blah blah 0 blah blah blah)' and yes, this discards all output from
> the process.

Not only that.  It also discards the exit status and does not tell us
if the program even exists.

The problem with start-process was that it caused for example
xdvi -source-special
to be killed when it tried detaching itself from the controlling tty.

So TeX-run-discard was changed not to use start-process, and the
viewer commands were changed to use TeX-run-discard instead of, I
think, TeX-run-silent.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]