[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex cad042f 31/48: Add note and test
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex cad042f 31/48: Add note and test about the change involving non-ascii file name |
Date: |
Sun, 16 Sep 2018 01:47:25 -0400 (EDT) |
branch: externals/auctex
commit cad042f02e3e919876b474572e6cb375ed551dcb
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Add note and test about the change involving non-ascii file name
* doc/changes.texi (News in 12.2): Add note that support for standard
LaTeX without e-TeX extension is now very limited.
* tests/tex/command-expansion.el (TeX-command-detokenize): New test to
check whether \input and \detokenize are supplied when necessary.
---
doc/changes.texi | 19 +++++++++++++++----
tests/tex/command-expansion.el | 13 +++++++++++++
2 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/doc/changes.texi b/doc/changes.texi
index 3c85f58..3e3f417 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -25,10 +25,21 @@ was used in just the opposite way as the document says.
Erase the
customization if you have customized this option since it now acts in
reverse to your expectation.
address@hidden A former customize option @code{japanese-TeX-command-list} is
-removed. Use @code{japanese-TeX-engine-default}, or if it's really
-necessary, customize @code{TeX-command-list} directly if the task which
-the option used to carry is required.
address@hidden
+A former customize option @code{japanese-TeX-command-list} is removed.
+Use @code{japanese-TeX-engine-default}, or if it's really necessary,
+customize @code{TeX-command-list} directly if the task which the option
+used to carry is required.
+
address@hidden
+Support for standard @LaTeX{} without address@hidden extension is now very
+limited. It doesn't work if raw @TeX{} code is put on the command line
+to invoke latex command. It also fails for region compilation (@kbd{C-c
+C-r} and so on) with documents of non-ascii file name. In addition, it
+no longer works with @previewlatex{}. We consider this incompatibility
+is permissible because address@hidden extension is enabled for standard
address@hidden by default long ago. @LaTeX{} variants such as address@hidden
and
address@hidden are not affected.
@end itemize
@heading News in 12.1
diff --git a/tests/tex/command-expansion.el b/tests/tex/command-expansion.el
index b35b8f3..9215a32 100644
--- a/tests/tex/command-expansion.el
+++ b/tests/tex/command-expansion.el
@@ -84,4 +84,17 @@
(TeX-view-command-raw)))
:type 'error))
+(ert-deftest TeX-command-detokenize ()
+ "Check whether \"\input\" and \"\detokenize\" are supplied when necessary."
+ ;; Skip on w32 because the quoting style of `shell-quote-argument'
+ ;; is different.
+ (skip-unless (not (eq system-type 'w32)))
+ (should (string=
+ (let ((major-mode 'latex-mode)
+ (TeX-engine 'default)
+ (TeX-master "/tmp/abc")
+ (TeX-command-extra-options " \"\foo\""))
+ (TeX-command-expand "%`%(extraopts)%' %T" #'TeX-master-file))
+ " \"\foo\" \"\input\" \\detokenize\{\ abc.tex\ \}")))
+
;;; command-expansion.el ends here
- [AUCTeX-diffs] [elpa] externals/auctex f107ca1 02/48: Make compatible with emacs 24, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex f107ca1 02/48: Make compatible with emacs 24, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 6a17a52 24/48: ; * doc/changes.texi (News in 12.2): Add news about removed option., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 4775f96 21/48: ; * tex-jp.el (japanese-TeX-self-insert-command): Silence byte compiler., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex a16a510 22/48: Replace another cl function with cl-lib, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 15d3d97 08/48: Quote %b expansion string for SumatraPDF, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 6112351 12/48: ; * style/geometry.el (LaTeX-geometry-preamble-key-val-options): Add luatex key., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 4afd633 11/48: Update key=val options to geometry package v5.8, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 3b758bf 06/48: Use `TeX-search-files-by-type' to assist input \includegraphics, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex d5f98ae 32/48: ; Fix typos, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 59fa964 05/48: Resolve conflict of argument spec between regexp and literal, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex cad042f 31/48: Add note and test about the change involving non-ascii file name,
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 7371b46 07/48: Add support for dvipdfmx to \includegraphics, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 00f0e0e 13/48: ; * tex.el (TeX-expand-list): Fix docstring (bug#31217)., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 68095a3 15/48: Fix previous removal of xemacs compatibility code, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 59a9e5b 10/48: Correct how `TeX-record-buffer' is used, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 4816092 36/48: Fix possible endless loop, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 527bcb2 16/48: ; * doc/auctex.texi (Processor Options): Add note of case in an option., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex c64a0e1 27/48: Quote %b expansion string for Zathura, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex 0d5c1c0 41/48: ; Fix last commit and push missing Makefile.in., Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex a59c754 35/48: Adjust test for known emacs bug, Tassilo Horn, 2018/09/16
- [AUCTeX-diffs] [elpa] externals/auctex ff08d38 28/48: Fix region compilation with \usepackage[utf8]{inputenc}, Tassilo Horn, 2018/09/16