[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8e012b3d753381faf071c

From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 8e012b3d753381faf071c7c6284f5e217ca9e5e2
Date: Sun, 10 Jan 2021 03:16:11 -0500 (EST)

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  8e012b3d753381faf071c7c6284f5e217ca9e5e2 (commit)
      from  b326502954199d5f4339f09e82dfd1dcb32ca1d6 (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 8e012b3d753381faf071c7c6284f5e217ca9e5e2
Author: Ikumi Keita <>
Date:   Sun Jan 3 19:39:23 2021 +0900

    Fix off-by-one behavior of preview-latex (bug#39927)
    * (preview-prepare-fast-conversion): Turn newline in
    init string into space so that gs waits subsequent input. This newline
    caused a spurious appearance of gs prompt "GS>".

diff --git a/ b/
index 91ce6e1..e22d241 100644
--- a/
+++ b/
@@ -1166,7 +1166,7 @@ NONREL is not NIL."
     (setq preview-gs-init-string
           ;; Add commands for revised file access controls introduced
           ;; after gs 9.27 (bug#37719)
-          (concat (format "systemdict /.addcontrolpath known {%s} if\n"
+          (concat (format "systemdict /.addcontrolpath known {%s} if "
                           (mapconcat (lambda (f)
                                        (format "/PermitFileReading %s 
                                                (preview-ps-quote-filename f)))
@@ -1312,11 +1312,6 @@ Try \\[ps-run-start] \\[ps-run-buffer] and \
 (defun preview-gs-flag-error (ov err)
   "Make an eps error flag in overlay OV for ERR string."
-  ;; N.B.  Although this code shows command line of gs invocation and
-  ;; error together via mouse popup menu, they are not necessarily
-  ;; associated with each other.  There is a case that the command
-  ;; line is for "[...].prv/tmpXXXXXX/pr1-2.png" while the error is
-  ;; raised for "[...].prv/tmpXXXXXX/pr1-1.png".  (c.f. bug#37719)
   (let* ((filenames (overlay-get ov 'filenames))
          (file (car (nth 0 filenames)))
          ;; FIXME: This format isn't equal to actual invocation of gs


Summary of changes: | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]