From unknown Sun Jun 22 22:41:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35696 <35696@debbugs.gnu.org> To: bug#35696 <35696@debbugs.gnu.org> Subject: Status: preview-latex does not work under any Emacs themes Reply-To: bug#35696 <35696@debbugs.gnu.org> Date: Mon, 23 Jun 2025 05:41:33 +0000 retitle 35696 preview-latex does not work under any Emacs themes reassign 35696 auctex submitter 35696 Hua Wang severity 35696 normal tag 35696 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 12 06:19:33 2019 Received: (at submit) by debbugs.gnu.org; 12 May 2019 10:19:33 +0000 Received: from localhost ([127.0.0.1]:41890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPlZr-0002Id-RS for submit@debbugs.gnu.org; Sun, 12 May 2019 06:19:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPlMo-0001ye-TA for submit@debbugs.gnu.org; Sun, 12 May 2019 06:06:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:53636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hPlMj-0000vK-O4 for submit@debbugs.gnu.org; Sun, 12 May 2019 06:05:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPlMf-0000n4-UT for bug-auctex@gnu.org; Sun, 12 May 2019 06:05:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPlA2-00021T-JA for bug-auctex@gnu.org; Sun, 12 May 2019 05:52:56 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:43631) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPl9z-0001xr-F4 for bug-auctex@gnu.org; Sun, 12 May 2019 05:52:48 -0400 Received: by mail-wr1-x436.google.com with SMTP id r4so11994664wro.10 for ; Sun, 12 May 2019 02:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=SfEAUZqWu4wibisO8g1pNd87UjHGS5o/ZThM74uA9+U=; b=GCbUTT5EXUPTN+Tn1OL1H7A4yaggQ6Ke9sqbsR6blCHeXREAj3i8+FesndDLnHSX0Z cMRGmrrASihGH2QtiW//SIcL9dVTiypoLmOcdgDGPJByFEcCXRL6dRQU9W370fA4cT/o pGpxGhxMEpl6UG4dOMc5zLXszW0Le6igDgjfw0AkXQQIdQzTtn00X0qXze+dWd7aNQX+ FtKWYjsjSYykNcDBT+dQ4xqq4Mn31oQrXcaPO2ZfY1Uk3k0RSscoxOfH/NkrRYWyNZe2 X65CVtRKGBTfmBYYPA8V3rKmkN4XKfLai+MqHersp6kI6Lb1oCxAuMAtgOOlgiYfL2VV boFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SfEAUZqWu4wibisO8g1pNd87UjHGS5o/ZThM74uA9+U=; b=XmlIruN4oM7/kznAD0AsUwG6jG7Rcqar0g6hYeVkPgs6ctaM1lRQ+qNYQhNAjN40qC FkXk9dSyFgPOi69R+pyryVhO1aRBXUxq1dilNeQ+IrvfL4YvaJj7xZFAn2EOQUl/IU7m s3iK7fbPpsx//Y9MQHjDC4tkRqpNXkjMjSC+PHiYFgj6Vq7ndF7FAIlY0fssMBdw6XfR +F5a3P2S1zrF5ArRRNSfYHyonCaxfJ2EJyvmZqctKWFaPBTccnOO6OdddgotswX+BlxH c970210ciphxTTuoBtirsoFBaglJqnjoByM8I5SNTxQUmuB5i4hA5XZQcNZOvAoSNLM0 oq+A== X-Gm-Message-State: APjAAAVXKcV1l7x7vJ7rex+kcLmIn8VnnkI5TQqYA8PK48NOqpkoHMG0 Te04VI0NnhYfZf/GtF0jAMHYQgAPeB2eRTdkxpnj/eo4Q5A= X-Google-Smtp-Source: APXvYqwvb5xdKUh4arrCnLDhBLBJUaef7+erTVWvG7VO8sRJOJZY4sSLvMBGqoUcNWClmzpcb8I42tBuJkoFv3LAixI= X-Received: by 2002:adf:ee01:: with SMTP id y1mr13844869wrn.51.1557654761179; Sun, 12 May 2019 02:52:41 -0700 (PDT) MIME-Version: 1.0 From: Hua Wang Date: Sun, 12 May 2019 11:52:30 +0200 Message-ID: Subject: preview-latex does not work under any Emacs themes To: bug-auctex@gnu.org Content-Type: multipart/alternative; boundary="000000000000b90dba0588adc248" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 12 May 2019 06:19:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000b90dba0588adc248 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Preview-latex does not work under ANY Emacs theme. Way to reproduce: Load any Emacs theme via Options->Customize Emacs->Custom Themes, and run preview-latex on any latex file with math in it. However uncheck the theme in the Customization menu makes preview-latex works fine again. Below is the information given by M-x preview-bug-report. Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-12 Package: 12.1.2 Run buffer contents: Running `Preview-LaTeX' on `circ' with ``pdflatex -ini -interaction=3Dnonstopmode "&pdflatex" prv_circ.ini "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex,counters= }{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaym= ath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "{\detokenize{" circ.tex "}}"'' This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (INITEX) restricted \write18 enabled. entering extended mode (./prv_circ.ini LaTeX2e <2018-12-01> (/usr/local/texlive/2019/texmf-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2019/texmf-dist/tex/latex/tools/.tex File ignored)) No auxiliary output files. (./circ.tex (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls Document Class: article 2018/09/03 v1.4i Standard LaTeX document class (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2019/texmf-dist/tex/generic/babel/babel.sty (/usr/local/texlive/2019/texmf-dist/tex/generic/babel/switch.def) (/usr/local/texlive/2019/texmf-dist/tex/generic/babel-german/german.ldf (/usr/local/texlive/2019/texmf-dist/tex/generic/babel-german/germanb.ldf (/usr/local/texlive/2019/texmf-dist/tex/generic/babel/babel.def (/usr/local/texlive/2019/texmf-dist/tex/generic/babel/txtbabel.def))))) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/inputenc.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/latin1.def)) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/preview.sty (/usr/local/texlive/2019/texmf-dist/tex/generic/luatex85/luatex85.sty) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prtightpage.def) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prauctex.def No auxiliary output files. (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prauctex.cfg)) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prcounters.def) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prshowlabels.def)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1cmtt.fd) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1cmss.fd) ) Beginning to dump on file prv_circ.fmt (preloaded format=3Dprv_circ 2019.5.12) 8703 strings of total length 138006 90374 memory locations dumped; current usage is 6335&80306 5252 multiletter control sequences \font\nullfont=3Dnullfont \font\OMX/cmex/m/n/5=3Dcmex10 \font\tenln=3Dline10 \font\tenlnw=3Dlinew10 \font\tencirc=3Dlcircle... [...] ...t 101 started. <-><-> l.399 \begin{table} Preview: Counters {table}{5}. ./_region_.tex:417: Preview: Snippet 101 ended.(5231703+4259727x15939467). <-><-> l.417 \end{table} [101] ./_region_.tex:418: Preview: Snippet 102 started. <-><-> l.418 \begin{table} Preview: Counters {table}{6}. ./_region_.tex:449: Preview: Snippet 102 ended.(9526012+8554036x14483456). <-><-> l.449 \end{table} [102] ./_region_.tex:450: Preview: Snippet 103 started. <-><-> l.450 \begin{figure} Preview: Counters {figure}{3}. ./_region_.tex:481: Preview: Snippet 103 ended.(14621882+116484x16496387). <-><-> l.481 \end{figure} [103] LaTeX Warning: There were undefined references. ) (see the transcript file for additional information){/usr/local/texlive/2019/texmf-dist/fonts/enc/dvips/cm-super/cm= -super-t1.enc} Output written on _region_.pdf (103 pages, 191676 bytes). Transcript written on _region_.log. TeX Output exited as expected with code 1 at Sun May 12 11:44:15 Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf _region_.prv/tmpdcNnqx/preview.dsc'' Preview-PDF2DSC finished at Sun May 12 11:44:15 Running `Preview-Ghostscript' with ``/usr/local/texlive/2019/bin/x86_64-linux/rungs -dOutputFile\=3D\(_region_.prv/tmpdcNnqx/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=3D4 -dGraphicsAlphaBits\= =3D4 -sDEVICE\=3Dpng16m -r115.2x115.503'' Preview-Ghostscript finished at Sun May 12 11:44:15 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-version "12.1.2" LaTeX-command-style '(("" "%(PDF)%(latex) %(file-line-error) %(extraopts) %S%(PDFout)") ) image-types '(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript) preview-image-type 'png preview-image-creators '((dvipng (open preview-gs-open preview-dvipng-process-setup) (place preview-gs-place) (close preview-dvipng-close)) (png (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) (jpeg (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) (pnm (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) (tiff (open preview-gs-open) (place preview-gs-place) (close preview-gs-close)) ) preview-dvipng-image-type 'png preview-dvipng-command "dvipng -picky -noghostscript %d -o %m/prev%%03d.png" preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc" preview-gs-command "/usr/local/texlive/2019/bin/x86_64-linux/rungs" preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=3D4" "-dGraphicsAlphaBits=3D4") preview-gs-image-type-alist '((png png "-sDEVICE=3Dpng16m") (dvipng png "-sDEVICE=3Dpng16m") (jpeg jpeg "-sDEVICE=3Djpeg") (pnm pbm "-sDEVICE=3Dpnmraw") (tiff tiff "-sDEVICE=3Dtiff12nc")) preview-fast-conversion t preview-prefer-TeX-bb nil preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000" preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps" preview-scale-function 'preview-scale-from-face preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" ("," . preview-required-option-list) "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble "\\fi}\"%' \"{\\detokenize{\" %t \"}}\"") preview-required-option-list '("active" "tightpage" "auctex" (preview-preserve-counters "counters")) preview-preserve-counters t preview-default-option-list '("displaymath" "floats" "graphics" "textmath" "sections" "footnotes") preview-default-preamble '("\\RequirePackage[" ("," . preview-default-option-list) "]{preview}[2004/11/05]") preview-LaTeX-command-replacements nil preview-dump-replacements '(preview-LaTeX-command-replacements ("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D ][^ ]+\\)\\|-\\(?:[^ \\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" "\\1 -ini \\2 -interaction=3Dnonstopmode \"&\\1\" " preview-format-name ".ini \\= 3") ) preview-undump-replacements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D ][^ ]+\\)\\|-\\(?:[^ \\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"\\\\input\" \"{\\\\detokenize{\" \\(.*\\) \"}}\"\\'" "\\1 \\2 -interaction=3Dnonstopmod= e -file-line-error " preview-format-name " \"/AUCTEXINPUT{\" \\3 \"}\"") ) preview-auto-cache-preamble t preview-TeX-style-dir "/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex" ) Output from running `/usr/local/texlive/2019/bin/x86_64-linux/rungs -h': GPL Ghostscript 9.27 (2019-04-04) Copyright (C) 2018 Artifex Software, Inc. All rights reserved. Usage: gs [switches] [file1.ps file2.ps ...] Most frequently used switches: (you can use # in place of =3D) -dNOPAUSE no pause after page | -q `quiet', fewer messages -gx page size in pixels | -r pixels/inch resolutio= n -sDEVICE=3D select device | -dBATCH exit after last fil= e -sOutputFile=3D select output file: - for stdout, |command for pipe, embed %d or %ld for page # Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF Default output device: x11alpha Available devices: alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj50= 0 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskje= t devicen dfaxhigh dfaxlow display dj505j djet500 djet500c dl2100 dnj650c epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900 epl6100 epl6200 eplcolor eplmono eps2write eps9high eps9mid epson epsonc escp escpage faxg3 faxg32d faxg4 fmlbp fmpr fpng fs600 gdi gprf hl1240 hl1250 hl7x0 hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable ibmpr= o ijs imagen inferno ink_cov inkcov itk24i itk38 jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75 la75plus laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700 lex7000 lips2p lips3 lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900 lp2000 lp2200 lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100 lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f lp8700 lp8800c lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300 lp9400 lp9500c lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lxm3200 lxm5700m m8510 md1xMono md2k md50Eco md50Mono md5k mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff2= 4 mj500c mj6000c mj700v2c mj8000c ml600 necp6 npdl nullpage oce9050 oki182 oki4w okiibm oprp opvp paintjet pam pamcmyk32 pamcmyk4 pbm pbmraw pcl3 pclm pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono pdfimage24 pdfimage32 pdfimage8 pdfwrite pdfwrite pdfwrite pgm pgmraw pgnm pgnmraw photoex picty180 pj pjetxl pjxl pjxl300 pkm pkmraw pksm pksmraw plan plan9bm planc plang plank planm plib plibc plibg plibk plibm png16 png16m png256 png48 pngalpha pnggray pngmono pngmonod pnm pnmraw ppm ppmraw pr1000 pr1000_4 pr150 pr201 ps2write psdcmyk psdcmyk16 psdcmykog psdrgb psdrgb1= 6 pwgraster pxlcolor pxlmono r4081 rinkj rpdl samsunggdi sj48 spotcmyk st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4 tiffgray tifflzw tiffpack tiffscaled tiffscaled24 tiffscaled32 tiffscaled4 tiffscaled8 tiffsep tiffsep1 txtwrite uniprint x11 x11alpha x11cmyk x11cmyk2 x11cmyk= 4 x11cmyk8 x11gray2 x11gray4 x11mono xcf xes xpswrite Search path: /usr/share/ghostscript/9.27/Resource/Init : /usr/share/ghostscript/9.27/lib : /usr/share/ghostscript/9.27/Resource/Font : /usr/share/ghostscript/fonts : /usr/share/fonts/gsfonts Ghostscript is also using fontconfig to search for font files For more information, see /usr/share/doc/ghostscript/9.27/Use.htm. Please report bugs to bugs.ghostscript.com. --000000000000b90dba0588adc248 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Preview-latex does not work under ANY Ema= cs theme.

Way to reproduce: Load any Emacs theme via Options->Cus= tomize
Emacs->Custom Themes, and run preview-latex on any latex file = with math
in it.

However uncheck th= e theme in the Customization menu makes preview-latex
works = fine again.

Below is the informati= on given by M-x preview-bug-report.

Emacs=C2= =A0 : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8)=C2=A0of 2019-04-12
Package: 12.1.2

Run buffer contents:

= Running `Preview-LaTeX' on `circ' with ``pdflatex -ini=C2=A0 -inter= action=3Dnonstopmode "&pdflatex" prv_circ.ini=C2=A0 "\no= nstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex,counters}{pr= eview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,= floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}"= "\input" "{\detokenize{" circ.tex "}}"'&= #39;
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (INI= TEX)
=C2=A0restricted \write18 enabled.
entering extended mode
(./= prv_circ.ini
LaTeX2e <2018-12-01>
(/usr/local/texlive/2019/texm= f-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2019/texmf-dist/= tex/latex/tools/.tex File ignored))
No auxiliary output files.

(.= /circ.tex (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.clsDocument Class: article 2018/09/03 v1.4i Standard LaTeX document class
= (/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo)) (/usr/local= /texlive/2019/texmf-dist/tex/generic/babel/babel.sty (/usr/local/texlive/20= 19/texmf-dist/tex/generic/babel/switch.def) (/usr/local/texlive/2019/texmf-= dist/tex/generic/babel-german/german.ldf (/usr/local/texlive/2019/texmf-dis= t/tex/generic/babel-german/germanb.ldf (/usr/local/texlive/2019/texmf-dist/= tex/generic/babel/babel.def (/usr/local/texlive/2019/texmf-dist/tex/generic= /babel/txtbabel.def))))) (/usr/local/texlive/2019/texmf-dist/tex/latex/base= /fontenc.sty (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1enc.def))= (/usr/local/texlive/2019/texmf-dist/tex/latex/base/inputenc.sty (/usr/loca= l/texlive/2019/texmf-dist/tex/latex/base/latin1.def)) (/home/hwang/.emacs.d= /elpa/auctex-12.1.2/latex/preview.sty (/usr/local/texlive/2019/texmf-dist/t= ex/generic/luatex85/luatex85.sty) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/= latex/prtightpage.def) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prauc= tex.def
No auxiliary output files.


(/home/hwang/.emacs.d/elpa= /auctex-12.1.2/latex/prauctex.cfg)) (/home/hwang/.emacs.d/elpa/auctex-12.1.= 2/latex/prcounters.def) (/home/hwang/.emacs.d/elpa/auctex-12.1.2/latex/prsh= owlabels.def)) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1cmtt.fd= ) (/usr/local/texlive/2019/texmf-dist/tex/latex/base/t1cmss.fd) )
Beginn= ing to dump on file prv_circ.fmt
=C2=A0(preloaded format=3Dprv_circ 2019= .5.12)
8703 strings of total length 138006
90374 memory locations dum= ped; current usage is 6335&80306
5252 multiletter control sequences<= br>\font\nullfont=3Dnullfont
\font\OMX/cmex/m/n/5=3Dcmex10
\font\tenl= n=3Dline10
\font\tenlnw=3Dlinew10
\font\tencirc=3Dlcircle...

[= ...]

=C2=A0=C2=A0=C2=A0 ...t 101 started.
<-><->
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
l.399 \begin{table}
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0
Preview: Counters {table}{5}.
./_region_.tex:417:= Preview: Snippet 101 ended.(5231703+4259727x15939467).
<-><-&g= t;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
l.417 \end{table}
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0
[101]
./_region_.tex:418: Preview: Snippet 102 started.<-><->
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
l.418 \begin{tabl= e}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
Preview: Counters {table}{6}../_region_.tex:449: Preview: Snippet 102 ended.(9526012+8554036x14483456)= .
<-><->
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
l.449 \end{ta= ble}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
[102]
./_region_.tex:450: Preview: Sn= ippet 103 started.
<-><->
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
l.450 \begin{figure}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
P= review: Counters {figure}{3}.
./_region_.tex:481: Preview: Snippet 103 e= nded.(14621882+116484x16496387).
<-><->
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0
l.481 \end{figure}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
[= 103]

LaTeX Warning: There were undefined references.

=C2=A0)<= br>(see the transcript file for additional information){/usr/local/texlive/= 2019/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc}</usr/local/tex= live/2019/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb></usr/= local/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb>= </usr/local/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7= .pfb></usr/local/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/= cm/cmr10.pfb></usr/local/texlive/2019/texmf-dist/fonts/type1/public/a= msfonts/cm/cmr7.pfb></usr/local/texlive/2019/texmf-dist/fonts/type1/p= ublic/amsfonts/cm/cmsy10.pfb></usr/local/texlive/2019/texmf-dist/font= s/type1/public/amsfonts/cm/cmsy7.pfb></usr/local/texlive/2019/texmf-d= ist/fonts/type1/public/amsfonts/latxfont/lcircle1.pfb></usr/local/tex= live/2019/texmf-dist/fonts/type1/public/cm-super/sfbx1440.pfb></usr/l= ocal/texlive/2019/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>&l= t;/usr/local/texlive/2019/texmf-dist/fonts/type1/public/cm-super/sftt0800.p= fb></usr/local/t
exlive/2019/texmf-dist/fonts/type1/public/cm-supe= r/sftt0900.pfb>
Output written on _region_.pdf (103 pages, 191676 byt= es).
Transcript written on _region_.log.

TeX Output exited as exp= ected with code 1 at Sun May 12 11:44:15
Running `Preview-PDF2DSC' w= ith ``pdf2dsc _region_.pdf _region_.prv/tmpdcNnqx/preview.dsc''
=
Preview-PDF2DSC finished at Sun May 12 11:44:15
Running `Preview-Gho= stscript' with ``/usr/local/texlive/2019/bin/x86_64-linux/rungs -dOutpu= tFile\=3D\(_region_.prv/tmpdcNnqx/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE -= DNOPLATFONTS -dPrinted -dTextAlphaBits\=3D4 -dGraphicsAlphaBits\=3D4 -sDEVI= CE\=3Dpng16m -r115.2x115.503''

Preview-Ghostscript finished = at Sun May 12 11:44:15

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
(setq
=C2=A0AUCTeX-version "12.1.2"
=C2= =A0LaTeX-command-style '((""
=C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 "%(PDF)%(latex) %(file-line-error) %(extr= aopts) %S%(PDFout)")
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 )
=C2=A0image-types '(svg imagemagick= png gif tiff jpeg xpm xbm pbm postscript)
=C2=A0preview-image-type '= ;png
=C2=A0preview-image-creators '((dvipng
=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (open preview-gs-open pr= eview-dvipng-process-setup)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0 (place preview-gs-place)
=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (close preview-dvipng-cl= ose))
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 (p= ng (open preview-gs-open) (place preview-gs-place)
=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (close preview-gs-close)= )
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 (jpeg = (open preview-gs-open) (place preview-gs-place)
=C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (close preview-gs-close))=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 (pnm (ope= n preview-gs-open) (place preview-gs-place)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (close preview-gs-close))
=C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 (tiff (open pr= eview-gs-open) (place preview-gs-place)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (close preview-gs-close))
=C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 )
=C2=A0previe= w-dvipng-image-type 'png
=C2=A0preview-dvipng-command "dvipng -= picky -noghostscript %d -o %m/prev%%03d.png"
=C2=A0preview-pdf2dsc-= command "pdf2dsc %s.pdf %m/preview.dsc"
=C2=A0preview-gs-comma= nd "/usr/local/texlive/2019/bin/x86_64-linux/rungs"
=C2=A0prev= iew-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUS= E" "-DNOPLATFONTS"
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "-dPrinted" "-dTextAlphaBits= =3D4" "-dGraphicsAlphaBits=3D4")
=C2=A0preview-gs-image-t= ype-alist '((png png "-sDEVICE=3Dpng16m")
=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (dvipng png "-sDEVICE=3Dpng16m")
=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (jpeg = jpeg "-sDEVICE=3Djpeg")
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (pnm pbm "-sDE= VICE=3Dpnmraw")
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (tiff tiff "-sDEVICE=3Dtif= f12nc"))
=C2=A0preview-fast-conversion t
=C2=A0preview-prefer-Te= X-bb nil
=C2=A0preview-dvips-command "dvips -Pwww -i -E %d -o %m/pr= eview.000"
=C2=A0preview-fast-dvips-command "dvips -Pwww %d -o= %m/preview.ps"
=C2=A0preview-sca= le-function 'preview-scale-from-face
=C2=A0preview-LaTeX-command = 9;("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0(",&qu= ot; . preview-required-option-list)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 =C2=A0"}{preview}\\AtBeginDocument{\\ifx\\ifPre= view\\undefined" preview-default-preamble "\\fi}\"%' \&q= uot;{\\detokenize{\" %t \"}}\"")
=C2=A0preview-requi= red-option-list '("active" "tightpage" "auctex= "
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 (preview-preserve-counters "counters"))
=C2=A0pre= view-preserve-counters t
=C2=A0preview-default-option-list '("d= isplaymath" "floats" "graphics" "textmath&quo= t;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 "sections" "footnotes")
=C2= =A0preview-default-preamble '("\\RequirePackage["
=C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (&quo= t;," . preview-default-option-list)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 "]{preview}[2004/11/05]&q= uot;)
=C2=A0preview-LaTeX-command-replacements nil
=C2=A0preview-dump= -replacements '(preview-LaTeX-command-replacements
=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 ("\= \`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D ][^ ]+\\)\\|-\\(?:[^ \\\"]\\|= \\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" "\\1= -ini \\2 -interaction=3Dnonstopmode \"&\\1\" " preview-= format-name ".ini \\3")
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 )
=C2=A0preview-undump-repla= cements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D ][^ ]+\\)\\|= -\\(?:[^ \\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"= ;\\\\input\" \"{\\\\detokenize{\" \\(.*\\) \"}}\"\= \'" "\\1 \\2 -interaction=3Dnonstopmode -file-line-error &quo= t; preview-format-name " \"/AUCTEXINPUT{\" \\3 \"}\&quo= t;")
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 )
=C2=A0preview-auto-cache-preamble t<= br>=C2=A0preview-TeX-style-dir "/home/hwang/.emacs.d/elpa/auctex-12.1.= 2/latex"
=C2=A0)

Output from running `/usr/local/texlive/201= 9/bin/x86_64-linux/rungs -h':
GPL Ghostscript 9.27 (2019-04-04)
C= opyright (C) 2018 Artifex Software, Inc.=C2=A0 All rights reserved.
Usag= e: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can us= e # in place of =3D)
=C2=A0-dNOPAUSE=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 no pause after page=C2=A0=C2=A0 | -q=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 `quiet', fewer messages
=C2=A0-g<width&g= t;x<height>=C2=A0 page size in pixels=C2=A0=C2=A0 | -r<res>=C2= =A0 pixels/inch resolution
=C2=A0-sDEVICE=3D<devname>=C2=A0 select= device=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | -dBATCH=C2=A0 exi= t after last file
=C2=A0-sOutputFile=3D<file> select output file: = - for stdout, |command for pipe,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 embed %d or %ld for pag= e #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScri= ptLevel3 PDF
Default output device: x11alpha
Available devices:
= =C2=A0=C2=A0 alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250= atx23
=C2=A0=C2=A0 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e= bj10v bj10vh bj200
=C2=A0=C2=A0 bjc600 bjc800 bjc880j bjccmyk bjccolor = bjcgray bjcmono bmp16 bmp16m
=C2=A0=C2=A0 bmp256 bmp32b bmpgray bmpmono = bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
=C2=A0=C2=A0 cdj550 cdj670 c= dj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax
=C2=A0=C2=A0 ch= p2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskjet
= =C2=A0=C2=A0 devicen dfaxhigh dfaxlow display dj505j djet500 djet500c dl210= 0 dnj650c
=C2=A0=C2=A0 epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 = epl5900 epl6100 epl6200
=C2=A0=C2=A0 eplcolor eplmono eps2write eps9high= eps9mid epson epsonc escp escpage
=C2=A0=C2=A0 faxg3 faxg32d faxg4 fmlb= p fmpr fpng fs600 gdi gprf hl1240 hl1250 hl7x0
=C2=A0=C2=A0 hpdj1120c hp= dj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510
=C2=A0=C2=A0 hpdj= 520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c
=C2=A0= =C2=A0 hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable i= bmpro
=C2=A0=C2=A0 ijs imagen inferno ink_cov inkcov itk24i itk38 jetp38= 52 jj100 jpeg
=C2=A0=C2=A0 jpegcmyk jpeggray la50 la70 la75 la75plus las= erjet lbp310 lbp320 lbp8
=C2=A0=C2=A0 lex2050 lex3200 lex5700 lex7000 li= ps2p lips3 lips4 lips4v lj250 lj3100sw
=C2=A0=C2=A0 lj4dith lj4dithp lj5= gray lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d
=C2=A0=C2=A0 ljet4pjl ljet= plus ln03 lp1800 lp1900 lp2000 lp2200 lp2400 lp2500 lp2563
=C2=A0=C2=A0 = lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100 lp8200c lp8300c
=C2= =A0=C2=A0 lp8300f lp8400f lp8500c lp8600 lp8600f lp8700 lp8800c lp8900 lp90= 00b
=C2=A0=C2=A0 lp9000c lp9100 lp9200b lp9200c lp9300 lp9400 lp9500c lp= 9600 lp9600s
=C2=A0=C2=A0 lp9800c lps4500 lps6500 lq850 lxm3200 lxm5700m= m8510 md1xMono md2k
=C2=A0=C2=A0 md50Eco md50Mono md5k mgr4 mgr8 mgrgra= y2 mgrgray4 mgrgray8 mgrmono miff24
=C2=A0=C2=A0 mj500c mj6000c mj700v2c= mj8000c ml600 necp6 npdl nullpage oce9050 oki182
=C2=A0=C2=A0 oki4w oki= ibm oprp opvp paintjet pam pamcmyk32 pamcmyk4 pbm pbmraw pcl3
=C2=A0=C2= =A0 pclm pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono pdfimage24 pdfimage32<= br>=C2=A0=C2=A0 pdfimage8 pdfwrite pdfwrite pdfwrite pgm pgmraw pgnm pgnmra= w photoex
=C2=A0=C2=A0 picty180 pj pjetxl pjxl pjxl300 pkm pkmraw pksm p= ksmraw plan plan9bm
=C2=A0=C2=A0 planc plang plank planm plib plibc plib= g plibk plibm png16 png16m png256
=C2=A0=C2=A0 png48 pngalpha pnggray pn= gmono pngmonod pnm pnmraw ppm ppmraw pr1000
=C2=A0=C2=A0 pr1000_4 pr150 = pr201 ps2write psdcmyk psdcmyk16 psdcmykog psdrgb psdrgb16
=C2=A0=C2=A0 = pwgraster pxlcolor pxlmono r4081 rinkj rpdl samsunggdi sj48 spotcmyk
=C2= =A0=C2=A0 st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc tiff24nc t= iff32nc
=C2=A0=C2=A0 tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4 t= iffgray tifflzw
=C2=A0=C2=A0 tiffpack tiffscaled tiffscaled24 tiffscaled= 32 tiffscaled4 tiffscaled8
=C2=A0=C2=A0 tiffsep tiffsep1 txtwrite unipri= nt x11 x11alpha x11cmyk x11cmyk2 x11cmyk4
=C2=A0=C2=A0 x11cmyk8 x11gray2= x11gray4 x11mono xcf xes xpswrite
Search path:
=C2=A0=C2=A0 /usr/sha= re/ghostscript/9.27/Resource/Init :
=C2=A0=C2=A0 /usr/share/ghostscript/= 9.27/lib :
=C2=A0=C2=A0 /usr/share/ghostscript/9.27/Resource/Font :
= =C2=A0=C2=A0 /usr/share/ghostscript/fonts : /usr/share/fonts/gsfonts
Gho= stscript is also using fontconfig to search for font files
For more info= rmation, see /usr/share/doc/ghostscript/9.27/Use.htm.
Please report bugs= to bugs.ghostscript.com.
--000000000000b90dba0588adc248-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 13:47:51 2019 Received: (at submit) by debbugs.gnu.org; 14 May 2019 17:47:51 +0000 Received: from localhost ([127.0.0.1]:49774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQbWp-0000et-Bb for submit@debbugs.gnu.org; Tue, 14 May 2019 13:47:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQbWo-0000eh-44 for submit@debbugs.gnu.org; Tue, 14 May 2019 13:47:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:45545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQbWi-0002aZ-PW for submit@debbugs.gnu.org; Tue, 14 May 2019 13:47:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQbWh-00070B-1f for bug-auctex@gnu.org; Tue, 14 May 2019 13:47:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQbWg-0002YS-1R for bug-auctex@gnu.org; Tue, 14 May 2019 13:47:42 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:36977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQbWf-0002Xu-OG for bug-auctex@gnu.org; Tue, 14 May 2019 13:47:41 -0400 Received: by mail-qk1-x734.google.com with SMTP id d10so4784110qko.4 for ; Tue, 14 May 2019 10:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:openpgp:autocrypt:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=fgEYCuZIaYRjlQqKhdHl7aSzXfopKB44+k4xbr+ZtUk=; b=KYlgkfilQ39vmsdyJ62VcdnTcG1MJXmbQbRFcFwIbT7O0i0jAtxWSawq/mix7h/uwi t9OzPTtMVwz+dhKettKdEe1V2ug3Dgt5qQboJE1Dcvg26/KnlxZiHOFuVGuzRhQxEQ0G BYn2Ueu349oWr0swFC0EGQvcvrafB5UVVVWx+vWJiyxD+mjxBuraVE+eUv7Ywa6rhL4+ 5s+fG1P7cvT+zLV3uwMoC6LKOxlYPeMaoI6XVlCIlCA+DEwo+l3ikh/Dga0ZhcJIC8Pr QCHNaaqpuHQoal9caWUiYnjUt76W1SQl0RbbLKBbKau62MoSMjFega6tX8EdQuPxroLW cnOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=fgEYCuZIaYRjlQqKhdHl7aSzXfopKB44+k4xbr+ZtUk=; b=WF+siC6GEQPE+XaHibIAO5KDWkJE3AUHryXwqZsYXh1VZq90QNFsVmoiGy0AvFc4wq GLYVVdXb38NDdt6D8NTxGOF9tB+4syAqe81VnKOWM7kDc/bPy5cKShgWFWNUrgZaiDUj fndtJsM00dlalUtu+y5B+KBL3DFh4hS4itIaM1klyfkrNU43dbMM9vR+RNkdqJfhUMLM BFdbeS3TptvD7Kcy6phv6YU7O5eJ/ofptyQA1P0A0KUTeq7oaINwuS261If4ZZsufe2o vtaFpZIfdu5PnNh/F6E8fQ/5wkw28QMZ3pyDGolkHKQSXN/tHlfXq/mS8TdP7zabYeH5 z42g== X-Gm-Message-State: APjAAAUYrUyrCBeR5np7S1UW8bD1aunk/cQAKZiOUQT7btvdWPZg2gCt xXYe7IWOKcbUB2FMLsdx9rQmoV0zM2Q= X-Google-Smtp-Source: APXvYqxCgiUWBuKwbLu2CClaB3Iq6zjY/DNLL9IDvU8eipjvI7GUmHDFi0nY7ZZ8l/QQixBF6PjtGQ== X-Received: by 2002:a37:4d81:: with SMTP id a123mr11691543qkb.340.1557856059809; Tue, 14 May 2019 10:47:39 -0700 (PDT) Received: from [132.236.187.100] (dhcp-m64-100.math.cornell.edu. [132.236.187.100]) by smtp.gmail.com with ESMTPSA id l16sm8203773qtj.60.2019.05.14.10.47.38 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 10:47:39 -0700 (PDT) To: bug-auctex@gnu.org From: Gennady Uraltsev Subject: bug#35696: preview-latex does not work under any Emacs themes Openpgp: preference=signencrypt Autocrypt: addr=gennady.uraltsev@gmail.com; keydata= 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 Message-ID: Date: Tue, 14 May 2019 13:48:50 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::734 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, It seems to be the same problem as I posted here: http://lists.gnu.org/archive/html/bug-auctex/2019-05/msg00000.html In particular a temporary work-around is to customize the variable preview-reference-face setting a non-trivial foreground color (black). I hope the developers address this issue. It seems to be a simple fix. Best, Gennady From debbugs-submit-bounces@debbugs.gnu.org Sat May 18 09:19:19 2019 Received: (at 35696) by debbugs.gnu.org; 18 May 2019 13:19:19 +0000 Received: from localhost ([127.0.0.1]:60300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRzF9-00088e-3w for submit@debbugs.gnu.org; Sat, 18 May 2019 09:19:19 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:47160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRzF5-00088N-Uc; Sat, 18 May 2019 09:19:16 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id DD31B60; Sat, 18 May 2019 22:19:12 +0900 (JST) From: Ikumi Keita To: Gennady Uraltsev , Hua Wang , David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: References: Comments: In-reply-to Gennady Uraltsev message dated "Tue, 14 May 2019 13:48:50 -0400." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1992.1558185551.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Sat, 18 May 2019 22:19:11 +0900 Message-ID: <1993.1558185551@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: 35571@debbugs.gnu.org, 35696@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Gennady and Hua, >>>>> Gennady Uraltsev writes: > Hello, > It seems to be the same problem as I posted here: > http://lists.gnu.org/archive/html/bug-auctex/2019-05/msg00000.html Both confirmed. David, do you have any outlook about this problem? It seems that gs 9.27 is incompatible with preview-latex when the default face has non-trivial foreground color. When the preview fails and I right-click the "do not enter" sign to select "View error", the *Preview-Ghostscript-Error* buffer pops up and shows the error quoted at the last of this message. It tells that "GS_PDF_ProcSet" caused the error and I found that the official ghostscript document says "We eliminated GS_PDF_ProcSet" in [1]. Best regards, Ikumi Keita [1] https://www.ghostscript.com/doc/9.27/History9.htm /usr/local/texlive/2019/bin/amd64-freebsd/rungs -dOutputFile\=3D\(tst-prv.= prv/tmpgIMQ85/pr1-1.png\) -q -dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinte= d -dTextAlphaBits\=3D4 -dGraphicsAlphaBits\=3D4 -sDEVICE\=3Dpng16m -r108.6= 06x108.587 GS>{<> setuserparams .locksafe} stopped pop {DELAYSAFER{.setsafe}if}stopped po= p/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if = def<>setpag= edevice/preview-do{/.preview-ST[count 4 roll save]def dup length 0 eq{pop}= {setpagedevice}{ifelse exec}stopped{handleerror quit}if .preview-ST aload = pop restore}bind def /GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength dict cop= y dup begin/graphicsbeginpage{//graphicsbeginpage exec 0.17969 0.203128 0.= 210941 3 copy rg RG}bind store end readonly store (tst-prv.prv/tmpgIMQ85/= preview.dsc)(r)file /.preview-ST 1 index def dup 0 setfileposition 415()/S= ubFileDecode filter cvx exec .preview-ST dup dup 415 setfileposition 53()/= SubFileDecode filter cvx<<>>preview-do Error: /undefined in GS_PDF_ProcSet Operand stack: GS_PDF_ProcSet Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostri= ngval-- 2 %stopped_push --nostringval-- --nostringval-- %loop_co= ntinue --nostringval-- --nostringval-- false 1 %stopped_push .= runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stop= ped_push --nostringval-- Dictionary stack: --dict:739/1123(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 641 GS<1> From debbugs-submit-bounces@debbugs.gnu.org Sat May 18 09:28:32 2019 Received: (at 35696) by debbugs.gnu.org; 18 May 2019 13:28:32 +0000 Received: from localhost ([127.0.0.1]:60309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRzO0-0008LB-Tn for submit@debbugs.gnu.org; Sat, 18 May 2019 09:28:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRzNu-0008Kk-62; Sat, 18 May 2019 09:28:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRzNo-0001oY-8C; Sat, 18 May 2019 09:28:16 -0400 Received: from x5d837d0c.dyn.telefonica.de ([93.131.125.12]:52808 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hRzNn-0002s6-2T; Sat, 18 May 2019 09:28:15 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> Date: Sat, 18 May 2019 15:28:12 +0200 In-Reply-To: <1993.1558185551@localhost> (Ikumi Keita's message of "Sat, 18 May 2019 22:19:11 +0900") Message-ID: <8736lbsxhv.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: > Hi Gennady and Hua, > >>>>>> Gennady Uraltsev writes: >> Hello, >> It seems to be the same problem as I posted here: > >> http://lists.gnu.org/archive/html/bug-auctex/2019-05/msg00000.html > > Both confirmed. David, do you have any outlook about this problem? preview-pdf-color-string seems to be the seminal problem. > It seems that gs 9.27 is incompatible with preview-latex when the > default face has non-trivial foreground color. When the preview fails > and I right-click the "do not enter" sign to select "View error", the > *Preview-Ghostscript-Error* buffer pops up and shows the error quoted > at the last of this message. It tells that "GS_PDF_ProcSet" caused > the error and I found that the official ghostscript document says "We > eliminated GS_PDF_ProcSet" in [1]. > > Best regards, > Ikumi Keita > > [1] https://www.ghostscript.com/doc/9.27/History9.htm 2019-03-19 09:25:48 -0700 Ray Johnston ebbb3ec7d20b5f4c444eb11fc9835e07229ccbd9 Fix lib/pdf2dsc.ps to use documented Ghostscript pdf procedures. We eliminated GS_PDF_ProcSet and pdfdict, but runpdfbegin, dopdfpages, and runpdfend are still available. lib/pdf2dsc.ps The usual "oh, we decided change is good and clobbered over the previous API." Presumably one of the listed hooks can be used instead, possibly mimicking what the mentioned patch does to lib/pdf2dsc.ps . -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 16:20:27 2019 Received: (at 35696) by debbugs.gnu.org; 22 May 2019 20:20:28 +0000 Received: from localhost ([127.0.0.1]:43038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTXit-000638-I4 for submit@debbugs.gnu.org; Wed, 22 May 2019 16:20:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTXiq-00062r-Us; Wed, 22 May 2019 16:20:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTXij-0007Ij-L2; Wed, 22 May 2019 16:20:18 -0400 Received: from p4fe3e8fe.dip0.t-ipconnect.de ([79.227.232.254]:50598 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hTXii-0004nN-La; Wed, 22 May 2019 16:20:17 -0400 From: Arash Esbati To: David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> Date: Wed, 22 May 2019 22:19:24 +0200 In-Reply-To: <8736lbsxhv.fsf@fencepost.gnu.org> (David Kastrup's message of "Sat, 18 May 2019 15:28:12 +0200") Message-ID: <86sgt6nsxf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Ikumi Keita , 35571@debbugs.gnu.org, Gennady Uraltsev , 35696@debbugs.gnu.org, Hua Wang X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) David Kastrup writes: > preview-pdf-color-string seems to be the seminal problem. > [...] > > 2019-03-19 09:25:48 -0700 > Ray Johnston > ebbb3ec7d20b5f4c444eb11fc9835e07229ccbd9 > > Fix lib/pdf2dsc.ps to use documented Ghostscript pdf procedures. > > We eliminated GS_PDF_ProcSet and pdfdict, but runpdfbegin, dopdfpages, > and runpdfend are still available. > > lib/pdf2dsc.ps > > The usual "oh, we decided change is good and clobbered over the previous > API." Presumably one of the listed hooks can be used instead, possibly > mimicking what the mentioned patch does to lib/pdf2dsc.ps . Do you see a chance to have a closer look at this issue and ideally cater for a fix? TIA. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Sun May 26 06:11:52 2019 Received: (at 35696) by debbugs.gnu.org; 26 May 2019 10:11:52 +0000 Received: from localhost ([127.0.0.1]:50373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUq88-0005lp-J1 for submit@debbugs.gnu.org; Sun, 26 May 2019 06:11:52 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:39068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUq86-0005la-1j; Sun, 26 May 2019 06:11:51 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 791FA61; Sun, 26 May 2019 19:11:46 +0900 (JST) From: Ikumi Keita To: David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <8736lbsxhv.fsf@fencepost.gnu.org> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> Comments: In-reply-to David Kastrup message dated "Sat, 18 May 2019 15:28:12 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7794.1558865493.1@localhost> Date: Sun, 26 May 2019 19:11:33 +0900 Message-ID: <7795.1558865493@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi David, >>>>> David Kastrup writes: > The usual "oh, we decided change is good and clobbered over the previous > API." Presumably one of the listed hooks can be used instead, possibly > mimicking what the mentioned patch does to lib/pdf2dsc.ps . Are you thinking that it isn't fruitful to follow up the development of ghostscript every time incompatible change is introduced? Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Sun May 26 06:42:25 2019 Received: (at 35696) by debbugs.gnu.org; 26 May 2019 10:42:25 +0000 Received: from localhost ([127.0.0.1]:50390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUqbg-0006hv-LP for submit@debbugs.gnu.org; Sun, 26 May 2019 06:42:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUqbd-0006hZ-HS; Sun, 26 May 2019 06:42:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUqbX-0000En-6r; Sun, 26 May 2019 06:42:15 -0400 Received: from x2f36123.dyn.telefonica.de ([2.243.97.35]:40186 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hUqbV-0008GD-TX; Sun, 26 May 2019 06:42:14 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> Date: Sun, 26 May 2019 12:42:11 +0200 In-Reply-To: <7795.1558865493@localhost> (Ikumi Keita's message of "Sun, 26 May 2019 19:11:33 +0900") Message-ID: <874l5hjy4c.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: > Hi David, > >>>>>> David Kastrup writes: >> The usual "oh, we decided change is good and clobbered over the previous >> API." Presumably one of the listed hooks can be used instead, possibly >> mimicking what the mentioned patch does to lib/pdf2dsc.ps . > > Are you thinking that it isn't fruitful to follow up the development of > ghostscript every time incompatible change is introduced? No since the changes tend to be completely arbitrary. It's absolutely not fruitful but exasperating. That doesn't mean that it's not necessary. In this particular case, this is partly related to _not_ using GhostScript as PDF interpreter but instead using pdftodsc and then working with the resulting not-quite-standard PostScript. This minimises the amount of knowledge and code required to make this work but necessitates working with interfaces of Ghostscript that its developers feel no obligation to provide some consistency for. Changing the operation in a manner foregoing pdftodsc would likely make preview-latex less vulnerable to this kind of recurring API change. -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 03:10:00 2019 Received: (at 35696) by debbugs.gnu.org; 27 May 2019 07:10:00 +0000 Received: from localhost ([127.0.0.1]:52529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hV9lg-00053u-3U for submit@debbugs.gnu.org; Mon, 27 May 2019 03:10:00 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:51824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hV9ld-00053Y-0E; Mon, 27 May 2019 03:09:57 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id BAC4991; Mon, 27 May 2019 16:09:53 +0900 (JST) From: Ikumi Keita To: David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <874l5hjy4c.fsf@fencepost.gnu.org> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> Comments: In-reply-to David Kastrup message dated "Sun, 26 May 2019 12:42:11 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23186.1558940992.1@localhost> Date: Mon, 27 May 2019 16:09:52 +0900 Message-ID: <23187.1558940992@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> David Kastrup writes: >> Are you thinking that it isn't fruitful to follow up the development of >> ghostscript every time incompatible change is introduced? > No since the changes tend to be completely arbitrary. It's absolutely > not fruitful but exasperating. That doesn't mean that it's not > necessary. > In this particular case, this is partly related to _not_ using > GhostScript as PDF interpreter but instead using pdftodsc and then > working with the resulting not-quite-standard PostScript. This > minimises the amount of knowledge and code required to make this work > but necessitates working with interfaces of Ghostscript that its > developers feel no obligation to provide some consistency for. > Changing the operation in a manner foregoing pdftodsc would likely make > preview-latex less vulnerable to this kind of recurring API change. I infer from what you wrote that you don't have intent to fix the problem for yourself, at least for now. Right? Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 04:57:10 2019 Received: (at 35696) by debbugs.gnu.org; 27 May 2019 08:57:10 +0000 Received: from localhost ([127.0.0.1]:52610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVBRO-0008J2-2m for submit@debbugs.gnu.org; Mon, 27 May 2019 04:57:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVBRL-0008Id-LW; Mon, 27 May 2019 04:57:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVBRF-0002Kr-HU; Mon, 27 May 2019 04:57:01 -0400 Received: from x2f3795e.dyn.telefonica.de ([2.243.121.94]:53962 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hVBRE-00031c-5D; Mon, 27 May 2019 04:57:00 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> Date: Mon, 27 May 2019 10:56:56 +0200 In-Reply-To: <23187.1558940992@localhost> (Ikumi Keita's message of "Mon, 27 May 2019 16:09:52 +0900") Message-ID: <87k1eci8br.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: >>>>>> David Kastrup writes: >>> Are you thinking that it isn't fruitful to follow up the development of >>> ghostscript every time incompatible change is introduced? > >> No since the changes tend to be completely arbitrary. It's absolutely >> not fruitful but exasperating. That doesn't mean that it's not >> necessary. > >> In this particular case, this is partly related to _not_ using >> GhostScript as PDF interpreter but instead using pdftodsc and then >> working with the resulting not-quite-standard PostScript. This >> minimises the amount of knowledge and code required to make this work >> but necessitates working with interfaces of Ghostscript that its >> developers feel no obligation to provide some consistency for. > >> Changing the operation in a manner foregoing pdftodsc would likely make >> preview-latex less vulnerable to this kind of recurring API change. > > I infer from what you wrote that you don't have intent to fix the > problem for yourself, at least for now. Right? It never was a problem for myself since my windows are black on white. This code is for people who expect preview-latex to do something more useful than the default on other setups. -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 06:03:31 2019 Received: (at 35696) by debbugs.gnu.org; 27 May 2019 10:03:31 +0000 Received: from localhost ([127.0.0.1]:52727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVCTb-0001ym-BY for submit@debbugs.gnu.org; Mon, 27 May 2019 06:03:31 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:56844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVCTX-0001yX-Vi; Mon, 27 May 2019 06:03:28 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 97E759A; Mon, 27 May 2019 19:03:25 +0900 (JST) From: Ikumi Keita To: David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <87k1eci8br.fsf@fencepost.gnu.org> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> Comments: In-reply-to David Kastrup message dated "Mon, 27 May 2019 10:56:56 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24017.1558951405.1@localhost> Date: Mon, 27 May 2019 19:03:25 +0900 Message-ID: <24018.1558951405@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [Adding auctex-devel@gnu.org in To: field may result in too many duplicated delivery of this message, so I refrain from doing so.] Hi David and all, >>>>> David Kastrup writes: > It never was a problem for myself since my windows are black on white. > This code is for people who expect preview-latex to do something more > useful than the default on other setups. Thanks for confirmation. I understand your point of view. Then, I'd like to ask other developers what we should do. Some options which came to my mind, in no particular order, are: (1) Make `preview-pdf-color-string' just a no-op and drop the feature to match the foreground color of the generated image with the default face of emacs. (2) Find someone to revise the Postscript code in `preview-pdf-color-string'. Maybe we can ask the developer of Ghostscript, looking at the paragraphs [1]: "The process of "tidying" the Postscript name space should have removed only non-standard and undocumented operators. Nevertheless, it is possible that any integrations or utilities that rely on those non-standard and undocumented operators may stop working, or may change behaviour. If you encounter such a case, please contact us (either the #ghostscript IRC channel, or the gs-devel mailing list would be best), and we'll work with you to either find an alternative solution." (I'm not sure this is a good idea or not, since similar problems may recur in future even if the current case is resolved.) (3) Find and ask someone to develop elisp code along with the David's suggestion of circumventing pdf2dsc. (Though I have an impression that it's difficult to find a person skillful enough to carry out such a task, other than David himself.) Of course the alternatives are not limited to the above three. [1] https://www.ghostscript.com/doc/9.27/History9.htm Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 07:16:48 2019 Received: (at 35696) by debbugs.gnu.org; 27 May 2019 11:16:48 +0000 Received: from localhost ([127.0.0.1]:52812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVDcV-0005hA-HS for submit@debbugs.gnu.org; Mon, 27 May 2019 07:16:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVDcS-0005aq-EB; Mon, 27 May 2019 07:16:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVDcM-00076d-5I; Mon, 27 May 2019 07:16:38 -0400 Received: from x2f3795e.dyn.telefonica.de ([2.243.121.94]:54976 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hVDcK-0002Yr-4m; Mon, 27 May 2019 07:16:36 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> Date: Mon, 27 May 2019 13:16:33 +0200 In-Reply-To: <24018.1558951405@localhost> (Ikumi Keita's message of "Mon, 27 May 2019 19:03:25 +0900") Message-ID: <87ef4ki1v2.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: > [Adding auctex-devel@gnu.org in To: field may result in too many > duplicated delivery of this message, so I refrain from doing so.] > > Hi David and all, > >>>>>> David Kastrup writes: > >> It never was a problem for myself since my windows are black on white. >> This code is for people who expect preview-latex to do something more >> useful than the default on other setups. > > Thanks for confirmation. I understand your point of view. > > Then, I'd like to ask other developers what we should do. Some options > which came to my mind, in no particular order, are: > > (1) Make `preview-pdf-color-string' just a no-op and drop the feature > to match the foreground color of the generated image with the default > face of emacs. The current code is already a sledgehammer that looks like a "not again" approach of evading yet another changed API. Looking at the history of the recommended replacements, I see that the Ghostscript developers state that some of those were removed in some Ghostscript versions but reinstated. So it's conceivable that reverting the last change to these code lines is all that it would take to work with current Ghostscript (at the price of breaking _some_ older version). Might be worth a try. -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 02:56:03 2019 Received: (at 35696) by debbugs.gnu.org; 28 May 2019 06:56:03 +0000 Received: from localhost ([127.0.0.1]:54922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVW1i-0000hI-HH for submit@debbugs.gnu.org; Tue, 28 May 2019 02:56:02 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:42670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVW1a-0000gR-N8; Tue, 28 May 2019 02:55:55 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 0AD6861; Tue, 28 May 2019 15:55:52 +0900 (JST) From: Ikumi Keita To: David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <87ef4ki1v2.fsf@fencepost.gnu.org> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> <87ef4ki1v2.fsf@fencepost.gnu.org> Comments: In-reply-to David Kastrup message dated "Mon, 27 May 2019 13:16:33 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Date: Tue, 28 May 2019 15:55:51 +0900 Message-ID: <29412.1559026551@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain >>>>> David Kastrup writes: > The current code is already a sledgehammer that looks like a "not again" > approach of evading yet another changed API. Looking at the history of > the recommended replacements, I see that the Ghostscript developers > state that some of those were removed in some Ghostscript versions but > reinstated. > So it's conceivable that reverting the last change to these code lines > is all that it would take to work with current Ghostscript (at the price > of breaking _some_ older version). > Might be worth a try. Thanks for your advice, the attached patch works well. The foreground color of the generated image matches with the default face of emacs without `preview-pdf-color-string', at least for gs 9.27 on my machine. > (at the price of breaking _some_ older version). I don't know which version of gs needs `preview-pdf-color-string'. Maybe we should not delete it and instead introduce a user option as a flag whether to disable the function or not. What do others think? Regards, Ikumi Keita --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Remove-walk-around-for-older-Ghostscript-bug-35696-a.patch Content-Description: patch >From 1523e06d83996aa020d842328bff4ad91a894c41 Mon Sep 17 00:00:00 2001 From: Ikumi Keita Date: Tue, 28 May 2019 15:21:31 +0900 Subject: [PATCH] Remove walk around for older Ghostscript (bug#35696 and bug#35571) The codes once introduced as walk around for obsolete API now became incompatible with the current Ghostscript. So just remove it. * preview.el.in (preview-pdf-color-string): Remove. (preview-pdf2dsc-sentinel): Don't use the removed function. --- preview.el.in | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/preview.el.in b/preview.el.in index 30bf45bf..594e6e6b 100644 --- a/preview.el.in +++ b/preview.el.in @@ -742,19 +742,6 @@ Conversion from Emacs color numbers (0 to 65535) in VALUE to Ghostscript floats." (format "%g" (/ value 65535.0))) -(defun preview-pdf-color-string (colors) - "Return a string that patches PDF foreground color to work properly." - ;; Actually, this is rather brutal. It will only be invoked in - ;; cases, however, where previously it was not expected that - ;; anything readable turned up, anyway. - (let ((fg (aref colors 1))) - (if fg - (concat - "/GS_PDF_ProcSet GS_PDF_ProcSet dup maxlength dict copy dup begin\ -/graphicsbeginpage{//graphicsbeginpage exec " - (mapconcat #'preview-gs-color-value fg " ") - " 3 copy rg RG}bind store end readonly store ")))) - (defun preview-gs-color-string (colors) "Return a string setting up colors" (let ((bg (aref colors 0)) @@ -910,9 +897,6 @@ The usual PROCESS and COMMAND arguments for (cond ((eq status 'exit) (delete-process process) (setq TeX-sentinel-function nil) - (setq preview-gs-init-string - (concat preview-gs-init-string - (preview-pdf-color-string preview-colors))) (preview-prepare-fast-conversion) (when gsstart (if preview-gs-queue -- 2.21.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 04:17:31 2019 Received: (at 35696) by debbugs.gnu.org; 28 May 2019 08:17:31 +0000 Received: from localhost ([127.0.0.1]:54989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVXIZ-0002za-3R for submit@debbugs.gnu.org; Tue, 28 May 2019 04:17:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVXIW-0002zF-Rb; Tue, 28 May 2019 04:17:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVXIQ-0006QI-Qc; Tue, 28 May 2019 04:17:22 -0400 Received: from x5d85226d.dyn.telefonica.de ([93.133.34.109]:38640 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hVXIP-0001T2-Rr; Tue, 28 May 2019 04:17:22 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> <87ef4ki1v2.fsf@fencepost.gnu.org> <29412.1559026551@localhost> Date: Tue, 28 May 2019 10:17:19 +0200 In-Reply-To: <29412.1559026551@localhost> (Ikumi Keita's message of "Tue, 28 May 2019 15:55:51 +0900") Message-ID: <87tvdfgfhs.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: >>>>>> David Kastrup writes: >> The current code is already a sledgehammer that looks like a "not again" >> approach of evading yet another changed API. Looking at the history of >> the recommended replacements, I see that the Ghostscript developers >> state that some of those were removed in some Ghostscript versions but >> reinstated. > >> So it's conceivable that reverting the last change to these code lines >> is all that it would take to work with current Ghostscript (at the price >> of breaking _some_ older version). > >> Might be worth a try. > > Thanks for your advice, the attached patch works well. The foreground > color of the generated image matches with the default face of emacs > without `preview-pdf-color-string', at least for gs 9.27 on my machine. > >> (at the price of breaking _some_ older version). > > I don't know which version of gs needs `preview-pdf-color-string'. > Maybe we should not delete it and instead introduce a user option as a > flag whether to disable the function or not. What do others think? Ah, that removes the functionality completely. Since this patch sets up a per-page hook, it would be my guess that this was supposed to guard against cases where some images set up or leave their own page-wide color (possibly just using \usepackage{color} is enough to cause trouble). Maybe it's the best we can do for now. No idea. -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 10:29:44 2019 Received: (at 35696) by debbugs.gnu.org; 28 May 2019 14:29:44 +0000 Received: from localhost ([127.0.0.1]:56720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVd6m-0007bu-FQ for submit@debbugs.gnu.org; Tue, 28 May 2019 10:29:44 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:50266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVd6k-0007bc-14; Tue, 28 May 2019 10:29:42 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 95FF599; Tue, 28 May 2019 23:29:38 +0900 (JST) From: Ikumi Keita To: David Kastrup Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <87tvdfgfhs.fsf@fencepost.gnu.org> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> <87ef4ki1v2.fsf@fencepost.gnu.org> <29412.1559026551@localhost> <87tvdfgfhs.fsf@fencepost.gnu.org> Comments: In-reply-to David Kastrup message dated "Tue, 28 May 2019 10:17:19 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30670.1559053777.1@localhost> Date: Tue, 28 May 2019 23:29:38 +0900 Message-ID: <30671.1559053778@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> David Kastrup writes: >> Thanks for your advice, the attached patch works well. The foreground >> color of the generated image matches with the default face of emacs >> without `preview-pdf-color-string', at least for gs 9.27 on my machine. Ah, my bad, I was looking at the outcome of dvipng, not pdf2dsc. After I changed my setup to use pdf2dsc, the foreground color is just black. Especially, on the theme with dark background, math formulae are hard to read. So this patch does not make sense. Sorry. > Ah, that removes the functionality completely. Since this patch sets up > a per-page hook, it would be my guess that this was supposed to guard > against cases where some images set up or leave their own page-wide > color (possibly just using \usepackage{color} is enough to cause > trouble). Maybe it's the best we can do for now. No idea. Now I'm wondering where "the last change to these code lines" mentioned in your previous reply. The command "git log --grep=preview-pdf-color-string" shows only two entries for me: commit c5fe24eb9d59ff06be73f13d1a8c0a21885bc08c Author: Ralf Angeli Date: Wed Jun 8 07:16:21 2005 +0000 commit ed3cdfa35a8fd9a3df2954ef62f93b70459d872f Author: David Kastrup Date: Tue Apr 12 15:12:39 2005 +0000 The former involves only texinfo document change, so only meaningful commit is the latter. But the function `preview-pdf-color-string' was first introduced in the latter commit, and it already had exactly the same form as today at that time. I suppose the function has never changed since then. Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 10:35:19 2019 Received: (at 35696) by debbugs.gnu.org; 28 May 2019 14:35:19 +0000 Received: from localhost ([127.0.0.1]:56727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVdCA-0001So-OH for submit@debbugs.gnu.org; Tue, 28 May 2019 10:35:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVdC8-0001SM-9L; Tue, 28 May 2019 10:35:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdBt-0004vx-8W; Tue, 28 May 2019 10:35:03 -0400 Received: from x4e317eee.dyn.telefonica.de ([78.49.126.238]:33074 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hVdBh-0006Tj-RZ; Tue, 28 May 2019 10:34:53 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> <87ef4ki1v2.fsf@fencepost.gnu.org> <29412.1559026551@localhost> <87tvdfgfhs.fsf@fencepost.gnu.org> <30671.1559053778@localhost> Date: Tue, 28 May 2019 16:34:47 +0200 In-Reply-To: <30671.1559053778@localhost> (Ikumi Keita's message of "Tue, 28 May 2019 23:29:38 +0900") Message-ID: <87imtuzlyw.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: Hua Wang , 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, Arash Esbati , Gennady Uraltsev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: >>>>>> David Kastrup writes: >>> Thanks for your advice, the attached patch works well. The foreground >>> color of the generated image matches with the default face of emacs >>> without `preview-pdf-color-string', at least for gs 9.27 on my machine. > > Ah, my bad, I was looking at the outcome of dvipng, not pdf2dsc. After > I changed my setup to use pdf2dsc, the foreground color is just black. > Especially, on the theme with dark background, math formulae are hard to > read. So this patch does not make sense. Sorry. > >> Ah, that removes the functionality completely. Since this patch sets up >> a per-page hook, it would be my guess that this was supposed to guard >> against cases where some images set up or leave their own page-wide >> color (possibly just using \usepackage{color} is enough to cause >> trouble). Maybe it's the best we can do for now. No idea. > > Now I'm wondering where "the last change to these code lines" mentioned > in your previous reply. The command > "git log --grep=preview-pdf-color-string" > shows only two entries for me: > commit c5fe24eb9d59ff06be73f13d1a8c0a21885bc08c > Author: Ralf Angeli > Date: Wed Jun 8 07:16:21 2005 +0000 > > commit ed3cdfa35a8fd9a3df2954ef62f93b70459d872f > Author: David Kastrup > Date: Tue Apr 12 15:12:39 2005 +0000 > > The former involves only texinfo document change, so only meaningful > commit is the latter. But the function `preview-pdf-color-string' was > first introduced in the latter commit, and it already had exactly the > same form as today at that time. I suppose the function has never > changed since then. Ah, you are right. Sorry for the confusion. -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 05:47:03 2019 Received: (at 35696) by debbugs.gnu.org; 17 Jun 2019 09:47:03 +0000 Received: from localhost ([127.0.0.1]:41993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcoEB-0004CD-1g for submit@debbugs.gnu.org; Mon, 17 Jun 2019 05:47:03 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:43118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcoE8-0004Ba-Nd; Mon, 17 Jun 2019 05:47:01 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 85635BB; Mon, 17 Jun 2019 18:46:56 +0900 (JST) From: Ikumi Keita To: auctex-devel@gnu.org Subject: Re: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <24018.1558951405@localhost> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> Comments: In-reply-to Ikumi Keita message dated "Mon, 27 May 2019 19:03:25 +0900." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <73662.1560764809.1@localhost> Date: Mon, 17 Jun 2019 18:46:50 +0900 Message-ID: <73663.1560764810@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: 35571@debbugs.gnu.org, 35696@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi all, Now I have some spare time, so I'd like to continue to discuss what we should do about this issue. I'm now a bit inclined to take the option (2) and ask gs-devel to provide suitable Postscript(?) code for preview-latex. What do others think? Regards, Ikumi Keita >>>>> Ikumi Keita writes: > Then, I'd like to ask other developers what we should do. Some options > which came to my mind, in no particular order, are: > (1) Make `preview-pdf-color-string' just a no-op and drop the feature > to match the foreground color of the generated image with the default > face of emacs. > (2) Find someone to revise the Postscript code in > `preview-pdf-color-string'. Maybe we can ask the developer of > Ghostscript, looking at the paragraphs [1]: > "The process of "tidying" the Postscript name space should have removed > only non-standard and undocumented operators. Nevertheless, it is > possible that any integrations or utilities that rely on those > non-standard and undocumented operators may stop working, or may change > behaviour. > If you encounter such a case, please contact us (either the #ghostscript > IRC channel, or the gs-devel mailing list would be best), and we'll work > with you to either find an alternative solution." > (I'm not sure this is a good idea or not, since similar problems may > recur in future even if the current case is resolved.) > (3) Find and ask someone to develop elisp code along with the David's > suggestion of circumventing pdf2dsc. (Though I have an impression that > it's difficult to find a person skillful enough to carry out such a > task, other than David himself.) > Of course the alternatives are not limited to the above three. > [1] https://www.ghostscript.com/doc/9.27/History9.htm From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 05:58:47 2019 Received: (at 35696) by debbugs.gnu.org; 17 Jun 2019 09:58:47 +0000 Received: from localhost ([127.0.0.1]:42005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcoPX-0004SG-7M for submit@debbugs.gnu.org; Mon, 17 Jun 2019 05:58:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcoPV-0004S1-Mv; Mon, 17 Jun 2019 05:58:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hcoPP-0003w4-SG; Mon, 17 Jun 2019 05:58:39 -0400 Received: from x5d846e44.dyn.telefonica.de ([93.132.110.68]:53680 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hcoPN-00018Y-G3; Mon, 17 Jun 2019 05:58:39 -0400 From: David Kastrup To: Ikumi Keita Subject: Re: [AUCTeX-devel] bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> <73663.1560764810@localhost> Date: Mon, 17 Jun 2019 11:58:34 +0200 In-Reply-To: <73663.1560764810@localhost> (Ikumi Keita's message of "Mon, 17 Jun 2019 18:46:50 +0900") Message-ID: <878su0leid.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35696 Cc: auctex-devel@gnu.org, 35571@debbugs.gnu.org, 35696@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ikumi Keita writes: > Hi all, > > Now I have some spare time, so I'd like to continue to discuss what we > should do about this issue. > I'm now a bit inclined to take the option (2) and ask gs-devel to > provide suitable Postscript(?) code for preview-latex. What do others > think? Definitely worth a try, mentioning that this has to go through pdf2dsc . -- David Kastrup From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 08:09:12 2019 Received: (at 35696) by debbugs.gnu.org; 18 Jun 2019 12:09:12 +0000 Received: from localhost ([127.0.0.1]:43874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdCvH-0003xi-St for submit@debbugs.gnu.org; Tue, 18 Jun 2019 08:09:12 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:38326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdCvF-0003xU-Sg; Tue, 18 Jun 2019 08:09:10 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id A7FE4A0; Tue, 18 Jun 2019 21:09:06 +0900 (JST) From: Ikumi Keita To: David Kastrup Subject: Re: [AUCTeX-devel] bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews In-reply-to: <878su0leid.fsf@fencepost.gnu.org> References: <1993.1558185551@localhost> <8736lbsxhv.fsf@fencepost.gnu.org> <7795.1558865493@localhost> <874l5hjy4c.fsf@fencepost.gnu.org> <23187.1558940992@localhost> <87k1eci8br.fsf@fencepost.gnu.org> <24018.1558951405@localhost> <73663.1560764810@localhost> <878su0leid.fsf@fencepost.gnu.org> Comments: In-reply-to David Kastrup message dated "Mon, 17 Jun 2019 11:58:34 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <81059.1560859734.1@localhost> Date: Tue, 18 Jun 2019 21:08:55 +0900 Message-ID: <81060.1560859735@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: auctex-devel@gnu.org, 35571@debbugs.gnu.org, 35696@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> David Kastrup writes: > Ikumi Keita writes: >> Hi all, >> >> Now I have some spare time, so I'd like to continue to discuss what we >> should do about this issue. >> I'm now a bit inclined to take the option (2) and ask gs-devel to >> provide suitable Postscript(?) code for preview-latex. What do others >> think? > Definitely worth a try, mentioning that this has to go through pdf2dsc . OK, then I'll try. Best, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 08:14:27 2019 Received: (at 35696) by debbugs.gnu.org; 21 Jul 2019 12:14:27 +0000 Received: from localhost ([127.0.0.1]:58190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpAjS-0001Jb-W7 for submit@debbugs.gnu.org; Sun, 21 Jul 2019 08:14:27 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:38598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpAjP-0001Iy-5i; Sun, 21 Jul 2019 08:14:24 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 5B31174; Sun, 21 Jul 2019 21:14:20 +0900 (JST) From: Ikumi Keita Subject: Re: bug#35696; bug#35571; bug#36039 In-reply-to: <1993.1558185551@localhost> References: <1993.1558185551@localhost> Comments: In-reply-to Ikumi Keita message dated "Sat, 18 May 2019 22:19:11 +0900." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.2 To: Gennady Uraltsev , Hua Wang , Berthold Lorke MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <85210.1563711254.1@localhost> Date: Sun, 21 Jul 2019 21:14:15 +0900 Message-ID: <85211.1563711255@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35696 Cc: 35571@debbugs.gnu.org, 35696@debbugs.gnu.org, 36039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear the bug reporters, I just committed a "fix" for preview-latex in the git repository of AUCTeX. You can try it out at git://git.savannah.gnu.org/auctex.git . Unfortunately, the latest development version offers only partial solution if you are using gs 9.27. Please read on for detail. 1. When you use gs 9.28 or later after gs 9.28 is released, customize `preview-pdf-color-adjust-method' to t. This includes the case that your (Linux or *BSD) binary package manager distributes gs 9.27 with necessary patches. 2. When you use gs 9.26 or before, customize `preview-pdf-color-adjust-method' to `compatible'. 3. When you use gs 9.27 and it doesn't have the necessary patches applied, 3-1. if you don't customize the foreground color of Emacs, customize `preview-pdf-color-adjust-method' to `compatible'. 3-2. if you customize the foreground color of Emacs and the background is light (i.e. not dark), customize `preview-pdf-color-adjust-method' to `compatible' and `preview-reference-face' to have default (black) foreground color. 3-3. if you customize the foreground color of Emacs and the background is dark, customize `preview-pdf-color-adjust-method' to nil. This forces plain "black on white" appearance for the generated image. You can at least read what are written in the image although they may not match with your Emacs color well. Best regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 22 07:43:19 2019 Received: (at control) by debbugs.gnu.org; 22 Jul 2019 11:43:19 +0000 Received: from localhost ([127.0.0.1]:60065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpWit-00064e-7b for submit@debbugs.gnu.org; Mon, 22 Jul 2019 07:43:19 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:55980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpWin-00064Q-VT for control@debbugs.gnu.org; Mon, 22 Jul 2019 07:43:15 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 5B06483 for ; Mon, 22 Jul 2019 20:43:11 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #35571 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <88115.1563795786.1@localhost> Date: Mon, 22 Jul 2019 20:43:06 +0900 Message-ID: <88116.1563795786@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 35571 36039 35696 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 22 07:47:31 2019 Received: (at control) by debbugs.gnu.org; 22 Jul 2019 11:47:31 +0000 Received: from localhost ([127.0.0.1]:60076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpWmx-0008Ea-5L for submit@debbugs.gnu.org; Mon, 22 Jul 2019 07:47:31 -0400 Received: from smtp1.inetd.co.jp ([210.129.88.11]:56028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpWmu-0008Ck-2r for control@debbugs.gnu.org; Mon, 22 Jul 2019 07:47:28 -0400 Received: from localhost (210-20-196-114.rev.home.ne.jp [210.20.196.114]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 3605D9A for ; Mon, 22 Jul 2019 20:47:27 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #35571 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <88139.1563796044.1@localhost> Date: Mon, 22 Jul 2019 20:47:24 +0900 Message-ID: <88140.1563796044@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 35571 fixed close 35571 quit From unknown Sun Jun 22 22:41:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Aug 2019 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator