[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog,v
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog,v |
Date: |
Thu, 01 May 2008 23:25:00 +0200 |
* David Kastrup (2008-05-01) writes:
> Ralf Angeli <address@hidden> writes:
>
>> + * tex-buf.el (TeX-format-filter): Do not remove linebreak if the
>> + following line starts with an opening parenthesis.
>
> I am not sure this is correct.
At least it's not worse than before this change.
> The main problem with TeX-format-filter
> may be that it does not work on raw bytes but on reencoded characters.
> But TeX itself counts off 79 raw bytes before doing a line end. If we
> were taking this seriously, the process-filter would need to use unibyte
> encoding, reconcatenate lines of length 79 with the following character,
> then replace ^^xx sequences with the corresponding byte, and only then
> decode the resulting line according to the coding system of the source
> buffer.
I think we had this discussion before. The current implementation is a
heuristic band-aid.
It would be nice if TeX engines had something like a --raw switch which
prevents formatting of output.
--
Ralf