* David Kastrup (2007-07-05) writes: > Ralf Angeli <[EMAIL PROTECTED]> writes: > >> * David Kastrup (2007-07-03) writes: >> >>> Ralf Angeli <[EMAIL PROTECTED]> writes: >>> >>>> Hm, but pasting together random stuff will not be trivial. >>> >>> Would be the job of the filter routine. >> >>> Given TeX's byte-centricity, >>> it would have to be done even before decoding the byte stream into >>> characters. >> >> Is the string passed to the filter function still a byte stream? > > set-process-coding-system is a built-in function in `src/process.c'. > (set-process-coding-system PROCESS &optional DECODING ENCODING) > > Set coding systems of PROCESS to DECODING and ENCODING. > DECODING will be used to decode subprocess output and ENCODING to > encode subprocess input. > > [back] > > Setting DECODING to no-conversion will give byte streams to the filter > function. There is the problem of how to deal with incomplete > characters in this case.
How would the output finally be decoded? By calling `detect-coding-region' and then `decode-coding-region' on the whole output buffer after process exit? Followup-To: auctex-devel -- Ralf _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
