[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-commit] GNU AUCTeX branch, master, updated. 370a4b92155aebf3d086
From: |
Ikumi Keita |
Subject: |
[AUCTeX-commit] GNU AUCTeX branch, master, updated. 370a4b92155aebf3d0860c1211617d14d8e7951c |
Date: |
Fri, 26 May 2017 09:31:26 -0400 (EDT) |
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 370a4b92155aebf3d0860c1211617d14d8e7951c (commit)
from d2dfab67e5fb37a6dfff1dd40cc82dc63013a2a8 (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 370a4b92155aebf3d0860c1211617d14d8e7951c
Author: Ikumi Keita <address@hidden>
Date: Fri May 26 22:29:59 2017 +0900
Resolve preview-latex incompatibility with Japanese TeX (Bug#25322)
* preview.el.in (preview-error-quote): Work consistently with
decoded text. The idea of "encoding entire string beforehand and
decoding it at the last stage" was used previously, but that failed
with `japanese-shift-jis' coding system containing bytes which
happen to coincide with regexp meta characters.
(preview--decode-^^ab):
(preview--convert-^^ab): New functions.
(TeX-inline-preview-internal): Record the process coding system
for decode assigned already so that `preview-error-quote' can
decode the given text correctly afterward. To achive that, change
the role of `preview-coding-system' together with the changes to
`preview-error-quote'.
Give back the command options provided in `(TeX-engine-alist)' to
latex command when preamble caching is enabled.
(preview-coding-system): Modify doc string according to the
changes above to `preview-error-quote' and
`TeX-inline-preview-internal'.
* tex-buf.el (TeX-adjust-process-coding-system): New function.
Adjust the process coding system for asynchronous process launched
within AUCTeX.
(TeX-after-start-process-function): Change default value to
`TeX-adjust-process-coding-system'.
* tex-jp.el (japanese-TeX-set-process-coding-system): Specify end
of line format on the coding systems assigned to process.
(): Don't set `japanese-TeX-set-process-coding-system' to
`TeX-after-start-process-function'. It is now called within
`TeX-adjust-process-coding-system'.
* prv-xemacs.el (preview-buffer-recoding-alist): Fix docstring.
(coding-system-change-eol-conversion): Add advice because XEmacs
21.4 mule-ucs fails to define `utf-8' coding system to respond
properly to this function.
(preview-ps-quote-filename): Add advice so that this function is
not confused by backslashes as path separator in the return value
of XEmacs function.
* tests/japanese/preview-latex.el:
* tests/japanese/preview-error-test.tex:
* tests/japanese/preview-error-test2.tex:
* tests/japanese/prv-dif-code.tex: New files for regression test.
-----------------------------------------------------------------------
Summary of changes:
preview.el.in | 141 +++++++++++----
prv-xemacs.el | 22 ++-
tests/japanese/preview-error-test.tex | 42 +++++
tests/japanese/preview-error-test2.tex | 20 +++
tests/japanese/preview-latex.el | 302 +++++++++++++++++++++++++++++++++
tests/japanese/prv-dif-code.tex | 42 +++++
tex-buf.el | 54 +++++-
tex-jp.el | 12 +-
8 files changed, 590 insertions(+), 45 deletions(-)
create mode 100644 tests/japanese/preview-error-test.tex
create mode 100644 tests/japanese/preview-error-test2.tex
create mode 100644 tests/japanese/preview-latex.el
create mode 100644 tests/japanese/prv-dif-code.tex
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-commit] GNU AUCTeX branch, master, updated. 370a4b92155aebf3d0860c1211617d14d8e7951c,
Ikumi Keita <=