[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 09
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 097084443771d6716c6870f2f8d329e9c0949d97 |
Date: |
Tue, 30 Oct 2018 14:44:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Ikumi Keita" <address@hidden> writes:
> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project "GNU AUCTeX".
>
> The branch, master has been updated
> via 097084443771d6716c6870f2f8d329e9c0949d97 (commit)
> from 1ea64fffc1429db6b5b8712bb68499c48cf2124b (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
>
> - Log -----------------------------------------------------------------
> commit 097084443771d6716c6870f2f8d329e9c0949d97
> Author: Ikumi Keita <address@hidden>
> Date: Tue Oct 30 22:33:14 2018 +0900
>
> Deal with partial ^^-quoting in preview-latex
>
> If latex outputs a multibyte character as a mixture of raw 8-bit byte
> and byte with ^^-quoting, we have to decode them as a whole.
>
> * preview.el.in (preview--decode-^^ab): Include raw 8-bit bytes which
> already exist in the string as well when decoding with the given
> coding system.
> * tests/latex/preview-latex-test.el: New test.
Uh, preview-latex already _had_ code for doing that. Doesn't it work?
A grep in the old code shows
preview.el.in: "Turn STRING with potential ^^ sequences into a regexp.
preview.el.in:so the character represented by ^^^ preceding extended characters
preview.el.in: ;; Next, bytes with value from 0x80 to 0xFF represented with
^^
preview.el.in: (preview--decode-^^ab string
preview.el.in:(defun preview--decode-^^ab (string coding-system)
preview.el.in: "Decode ^^ sequences in STRING with CODING-SYSTEM.
preview.el.in:Sequences of control characters such as ^^I are left untouched.
preview.el.in: (preview--convert-^^ab
preview.el.in:(defun preview--convert-^^ab (string)
preview.el.in: "Convert ^^ sequences in STRING to raw 8bit.
preview.el.in:Sequences of control characters such as ^^I are left untouched.
preview.el.in: ;;ok, transform ^^ sequences
--
David Kastrup
- Re: [AUCTeX-devel] [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 097084443771d6716c6870f2f8d329e9c0949d97,
David Kastrup <=