From unknown Fri Jun 20 18:15:11 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#22200 <22200@debbugs.gnu.org> To: bug#22200 <22200@debbugs.gnu.org> Subject: Status: 11.89; Incompatibility with TeX-file-line-error and preview-LaTeX-command-replacements Reply-To: bug#22200 <22200@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:15:11 +0000 retitle 22200 11.89; Incompatibility with TeX-file-line-error and preview-L= aTeX-command-replacements reassign 22200 auctex submitter 22200 Ivan Andrus severity 22200 normal tag 22200 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 17 21:46:31 2015 Received: (at submit) by debbugs.gnu.org; 18 Dec 2015 02:46:31 +0000 Received: from localhost ([127.0.0.1]:54898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9l3v-0000ZY-8C for submit@debbugs.gnu.org; Thu, 17 Dec 2015 21:46:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46750) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9l3t-0000ZL-6p for submit@debbugs.gnu.org; Thu, 17 Dec 2015 21:46:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9l3l-0000W8-UP for submit@debbugs.gnu.org; Thu, 17 Dec 2015 21:46:24 -0500 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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9l3l-0000W1-S6 for submit@debbugs.gnu.org; Thu, 17 Dec 2015 21:46:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9l3j-0003m8-Lx for bug-auctex@gnu.org; Thu, 17 Dec 2015 21:46:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9l3f-0000U1-G6 for bug-auctex@gnu.org; Thu, 17 Dec 2015 21:46:19 -0500 Received: from mail-ig0-x22a.google.com ([2607:f8b0:4001:c05::22a]:33461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9l3f-0000Tx-A6 for bug-auctex@gnu.org; Thu, 17 Dec 2015 21:46:15 -0500 Received: by mail-ig0-x22a.google.com with SMTP id mv3so25524590igc.0 for ; Thu, 17 Dec 2015 18:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=eno3Acey2hT+2NbP17eVoCSVMEQAnnDNJ1othSvy9g0=; b=MO/PDIKjYgX5enO9LooXAwWfWHOu2jFBELRCGZZmAItmDznRIym5SYZC4dbbNdwEQT 6D9Yy2nGDv0wTEvBino+YJoSve1o9Jk+NZnu2BCT2dpvCtO1TH6dNgF+ixPoVDSKktDl 7QKByVa3N94nxrPyMvBJNzDuHI9tVP7zI+mPqob3WahIn3Pmy+7YI8wZQ1/m/YphQW4H h8Ld9lwsizrJZS6VlSRn1bvpr7V0iVklXG2LQRx1387JhBl4NEYsJZRlDJfO06odT3ty 0gw/TSixiLo/ypTA/fiQrLeQiFB6RcG10NdY5TU2rf5WiBZQS/FASWKo6KeH+smqVO8r 7tmQ== X-Received: by 10.50.36.74 with SMTP id o10mr92369igj.73.1450406774591; Thu, 17 Dec 2015 18:46:14 -0800 (PST) Received: from [192.168.0.3] (174-23-133-67.slkc.qwest.net. [174.23.133.67]) by smtp.gmail.com with ESMTPSA id or1sm1852595igb.4.2015.12.17.18.46.12 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Dec 2015 18:46:13 -0800 (PST) From: Ivan Andrus Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 11.89; Incompatibility with TeX-file-line-error and preview-LaTeX-command-replacements Message-Id: <0D1CF280-5F2A-4D69-80F0-14814EBE29BB@gmail.com> Date: Thu, 17 Dec 2015 19:46:11 -0700 To: bug-auctex@gnu.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) X-Mailer: Apple Mail (2.3096.5) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) I started with $EMACS -Q -L ~/.emacs.d/elpa/auctex-11.89/ -l auctex-autoloads ./bug.tex where bug.tex contains \documentclass{article} \title{Bug example} \begin{document} Consider a multi-set of pairs $(x_{i},y_{i})$. \end{document} % Local Variables: % preview-LaTeX-command-replacements: (preview-LaTeX-disable-pdfoutput) % End: I allow setting the file local variables and then hit C-c C-p C-p to turn previews on. The preview process hangs with output below. It's waiting for input that can never come. This is due to -file-line-error being after "\pdfoutput=3D0 " on the command line. Running `Preview-LaTeX' on `_region_' with ``pdflatex "\pdfoutput=3D0 " = -file-line-error = "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{previe= w}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,flo= ats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" = "\input" _region_.tex'' This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) = (preloaded format=3Dpdflatex) restricted \write18 enabled. entering extended mode LaTeX2e <2015/10/01> patch level 2 Babel <3.9m> and hyphenation patterns for 79 languages loaded. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... =20 =20 <*> \pdfoutput=3D0 - file-line-error = \nonstopmode\nofiles\PassOptionsToPackage... ?=20 As it turns out my setup no longer needs to set `preview-LaTeX-command-replacements', but if someone does need it they won't be able to use it with `TeX-file-line-error'. Moreover, the problem is quite confusing and took me a while to figure out. -Ivan Emacs : GNU Emacs 25.1.50.4 (x86_64-apple-darwin15.0.0, NS = appkit-1404.13 Version 10.11.1 (Build 15B42)) of 2015-12-06 Package: 11.89 Run buffer contents: Running `Preview-LaTeX' on `bug' with ``pdflatex -ini = -interaction=3Dnonstopmode "&pdflatex" prv_bug.ini "\pdfoutput=3D0 " = -file-line-error = "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{previe= w}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,flo= ats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" = "\input" bug.tex'' This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (INITEX) restricted \write18 enabled. entering extended mode (./prv_bug.ini LaTeX2e <2015/10/01> patch level 2 Babel <3.9m> and hyphenation patterns for 79 languages loaded. (/usr/local/texlive/2015/texmf-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2015/texmf-dist/tex/latex/tools/.tex File ignored)) ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... =20 =20 <*> &pdflatex prv_bug.ini \pdfoutput=3D0 - file-line-error = \nonstopmode\nofile... No auxiliary output files. (./bug.tex = (/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo) Overfull \hbox (20.0pt too wide) detected at line 289 [] [1]) ) (see the transcript file for additional information) Beginning to dump on file prv_bug.fmt (preloaded format=3Dprv_bug 2015.12.17) 7180 strings of total length 118071 52641 memory locations dumped; current usage is 227&50199 3830 multiletter control sequences \font\nullfont=3Dnullfont \font\OMX/cmex/m/n/5=3Dcmex10 \font\tenln=3Dline10 \font\tenlnw=3Dlinew10 \font\tencirc=3Dlcircle10 \font\tencircw=3Dlcirclew10 \font\OT1/cmr/m/n/5=3Dcmr5 \font\OT1/cmr/m/n/7=3Dcmr7 \font\OT1/cmr/m/n/10=3Dcmr10 \font\OML/cmm/m/it/5=3Dcmmi5 \font\OML/cmm/m/it/7=3Dcmmi7 \font\OML/cmm/m/it/10=3Dcmmi10 \font\OMS/cmsy/m/n/5=3Dcmsy5 \font\OMS/cmsy/m/n/7=3Dcmsy7 \font\OMS/cmsy/m/n/10=3Dcmsy10 \font\OT1/cmr/m/n/12=3Dcmr12 \font\OT1/cmr/m/n/8=3Dcmr8 \font\OT1/cmr/bx/n/10=3Dcmbx10 \font\OT1/cmr/bx/it/10=3Dcmbxti10 \font\OT1/cmr/m/it/10=3Dcmti10 \font\OT1/cmtt/m/n/10=3Dcmtt10 \font\OT1/cmss/m/n/10=3Dcmss10 5716 words of font info for 21 preloaded fonts 1141 hyphenation exceptions Hyphenation trie of length 335584 has 8267 ops out of 35111 143 for language 79 110 for language 78 138 for language 77 7 for language 76 12 for language 75 52 for language 74 127 for language 73 183 for language 72 71 for language 71 248 for language 70 62 for language 69 66 for language 68 119 for language 66 43 for language 65 58 for language 64 7 for language 63 194 for language 62 37 for language 61 852 for language 60 852 for language 59 21 for language 58 38 for language 57 77 for language 56 58 for language 55 105 for language 54 25 for language 53 27 for language 52 37 for language 51 229 for language 50 38 for language 49 21 for language 48 147 for language 36 185 for language 35 50 for language 34 18 for language 33 389 for language 32 235 for language 31 207 for language 30 39 for language 29 76 for language 28 40 for language 27 88 for language 26 31 for language 25 113 for language 22 145 for language 21 377 for language 20 224 for language 19 265 for language 18 60 for language 17 63 for language 16 19 for language 15 14 for language 14 2 for language 13 21 for language 12 12 for language 11 5 for language 10 148 for language 7 97 for language 6 137 for language 5 409 for language 4 411 for language 3 2 for language 1 181 for language 0 0 words of pdfTeX memory 0 indirect objects Output written on prv_bug.dvi (1 page, 212 bytes). Transcript written on prv_bug.log. TeX Output exited abnormally with code 1 at Thu Dec 17 19:30:38 Running `Preview-LaTeX' on `_region_' with ``pdflatex "\pdfoutput=3D0 " = -file-line-error = "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{previe= w}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,flo= ats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" = "\input" _region_.tex'' This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) = (preloaded format=3Dpdflatex) restricted \write18 enabled. entering extended mode LaTeX2e <2015/10/01> patch level 2 Babel <3.9m> and hyphenation patterns for 79 languages loaded. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... =20 =20 <*> \pdfoutput=3D0 - file-line-error = \nonstopmode\nofiles\PassOptionsToPackage... ?=20 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-version "11.89" LaTeX-command-style '(("" "%(PDF)%(latex) %(file-line-error) = %(extraopts) %S%(PDFout)")) image-types '(svg imagemagick png gif tiff jpeg xpm xbm pbm) 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 "/Library/TeX/texbin/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}\"%' %t") preview-required-option-list '("active" "tightpage" "auctex" = (preview-preserve-counters "counters")) preview-preserve-counters nil 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 '(preview-LaTeX-disable-pdfoutput) preview-dump-replacements '(preview-LaTeX-command-replacements ("\\`\\([^ ]+\\)\\(\\( +-\\([^ = \\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini -interaction=3Dnonstopmode = \"&\\1\" " preview-format-name ".ini \\5") ) preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" = \\(.*\\)\\'" "\\1 -interaction=3Dnonstopmode \"&" preview-format-name "\" \\2") ) preview-auto-cache-preamble 'ask preview-TeX-style-dir "/Users/iandrus/.emacs.d/elpa/auctex-11.89/latex" ) Output from running `/Library/TeX/texbin/rungs -h': GPL Ghostscript 9.16 (2015-03-30) Copyright (C) 2015 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 = resolution -sDEVICE=3D select device | -dBATCH exit after last = file -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 = appledmp 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 = cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 = cfax chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cp50 cups = declj250 deskjet devicen dfaxhigh dfaxlow 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 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 = ibmpro ijs imagen inferno ink_cov inkcov itk24i itk38 iwhi iwlo iwlq = 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 mag16 mag256 md1xMono md2k md50Eco md50Mono md5k mgr4 mgr8 mgrgray2 mgrgray4 = mgrgray8 mgrmono miff24 mj500c mj6000c mj700v2c mj8000c ml600 necp6 npdl = nullpage oce9050 oki182 oki4w okiibm oprp opvp paintjet pam pamcmyk32 pamcmyk4 = pbm pbmraw pcl3 pcx16 pcx24b pcx256 pcx2up pcxcmyk pcxgray pcxmono = 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 pnm = pnmraw ppm ppmraw pr1000 pr1000_4 pr150 pr201 ps2write psdcmyk psdcmykog = psdrgb pxlcolor pxlmono r4081 rinkj rpdl samsunggdi sgirgb sj48 spotcmyk = st800 stcolor sunhmono t4693d2 t4693d4 t4693d8 tek4696 tiff12nc tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4 tiffgray tifflzw tiffpack tiffscaled tiffsep tiffsep1 txtwrite uniprint x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono x11rg16x x11rg32x xcf xes xpswrite Search path: /usr/local/share/ghostscript/9.16/Resource/Init : /usr/local/share/ghostscript/9.16/lib : /usr/local/share/ghostscript/9.16/Resource/Font : /usr/local/share/ghostscript/fonts : /usr/local/share/fonts/default/ghostscript : /usr/local/share/fonts/default/Type1 : /usr/local/share/fonts/default/TrueType : /usr/lib/DPS/outline/base : /usr/openwin/lib/X11/fonts/Type1 : = /usr/openwin/lib/X11/fonts/TrueType : /usr/share/cups/fonts For more information, see /usr/local/share/ghostscript/9.16/doc/Use.htm. Please report bugs to bugs.ghostscript.com. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 17 23:06:23 2015 Received: (at 22200) by debbugs.gnu.org; 18 Dec 2015 04:06:23 +0000 Received: from localhost ([127.0.0.1]:55014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9mJD-0002RM-BA for submit@debbugs.gnu.org; Thu, 17 Dec 2015 23:06:23 -0500 Received: from mail-ig0-f181.google.com ([209.85.213.181]:33256) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9mJC-0002RA-5j for 22200@debbugs.gnu.org; Thu, 17 Dec 2015 23:06:22 -0500 Received: by mail-ig0-f181.google.com with SMTP id mv3so26368849igc.0 for <22200@debbugs.gnu.org>; Thu, 17 Dec 2015 20:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ngbkOztT+PErGrDBVfaVFjnC3/3Q2ya8KvJsuO7JIUg=; b=aQK8LSrUo/1IBt81KDEuu1cFvXDMmxZVovLKeTqKt5DOV6ba990BdWcZ/ImGuCU5Zm f23pr7NwzEzkZpZzO7IwIbdLCyrxuDoI7iH9vXnpn55e8KsauIpgA6u7jczHYgiCNDJA vahyFvqJ4XNVGyNplgupa1Ha0tS1gCtDL2vw24+oDa3huGaHm3fjT5wrKl0MNpFu2xTT siu5VKMz8K6koYJaIZJgrrUD/ggf2R/qE/v6I9ty1ThclxN4h8kFomTMM69nBDA1MSfn AmpOxypU3etX7S2x0JlHBmkaChP+kzftO4rYTu9ZQWsEVlrOxQKGbk8xmVejnybK2Yrp hwHQ== X-Received: by 10.50.78.66 with SMTP id z2mr428374igw.15.1450411576682; Thu, 17 Dec 2015 20:06:16 -0800 (PST) Received: from [192.168.0.3] (174-23-133-67.slkc.qwest.net. [174.23.133.67]) by smtp.gmail.com with ESMTPSA id j10sm1954760igx.13.2015.12.17.20.06.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Dec 2015 20:06:15 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: bug#22200: Acknowledgement (11.89; Incompatibility with TeX-file-line-error and preview-LaTeX-command-replacements) From: Ivan Andrus In-Reply-To: Date: Thu, 17 Dec 2015 21:06:14 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <67BDBF40-1DF0-4A64-B40B-E9113A36515C@gmail.com> References: <0D1CF280-5F2A-4D69-80F0-14814EBE29BB@gmail.com> To: 22200@debbugs.gnu.org X-Mailer: Apple Mail (2.3096.5) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22200 Cc: auctex-devel 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: -0.7 (/) I just reported bug 22200 [1], and I think I have a fix for it. It seems the problem is that preview-LaTeX-disable-pdfoutput does not = handle more than one space separating arguments in the command line. = The patch below makes it handle multiple spaces. Since I=E2=80=99m not = a frequent committer, I thought I should run it past people before = pushing (I think I have push access). -Ivan [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22200 commit 2ebd71de819d18d153c4b3f18dcb39ce9f245c86 Author: Ivan Andrus Date: Thu Dec 17 21:04:04 2015 -0700 Fix bug in `preview-LaTeX-disable-pdfoutput' * preview.el.in (preview-LaTeX-disable-pdfoutput): Allow one or more spaces between command line arguments. diff --git a/preview.el.in b/preview.el.in index 2eee66e..8a58104 100644 --- a/preview.el.in +++ b/preview.el.in @@ -3207,8 +3207,8 @@ and strings get evaluated as replacement strings." (defconst preview-LaTeX-disable-pdfoutput '(("\\`\\(pdf[^ ]*\\)\ -\\(\\( [-&]\\([^ \"]\\|\"[^\"]*\"\\)*\\|\ - \"[-&][^\"]*\"\\)*\\)\\(.*\\)\\'" +\\(\\( +[-&]\\([^ \"]\\|\"[^\"]*\"\\)*\\|\ + +\"[-&][^\"]*\"\\)*\\)\\(.*\\)\\'" . ("\\1\\2 \"\\\\pdfoutput=3D0 \" \\5"))) "This replacement places `\"\\pdfoutput=3D0 \"' after the options of any command starting with `pdf'.")= From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 18 14:15:41 2015 Received: (at 22200) by debbugs.gnu.org; 18 Dec 2015 19:15:41 +0000 Received: from localhost ([127.0.0.1]:55979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aA0VB-0006mC-Lq for submit@debbugs.gnu.org; Fri, 18 Dec 2015 14:15:41 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43203) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aA0V9-0006iy-Ao for 22200@debbugs.gnu.org; Fri, 18 Dec 2015 14:15:39 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EE0B920784 for <22200@debbugs.gnu.org>; Fri, 18 Dec 2015 14:15:38 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Fri, 18 Dec 2015 14:15:38 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=kVnnAVIHDQz8PaB exun3RvWNp7Q=; b=Xg+bW4kAyKiO0yQOGVooyG9BM10MsBvgNWcM3EguGmOaC3L Js1lGF6XyZqzXz9ajZY7Z2jIviNxXOjXvhP4BNxJJ+f7vDsBcITmUGz9xwaoU2Bd PbGiKFczfbuJGfIhK72KyKbt6xwx1RbJ7E5/Qyp582mc2QeKWsYxmP1Oxyo0= X-Sasl-enc: 8qq6FWv5zmNpmxZ7OoylClpoi9MPj/QteIxwOkDBCLSb 1450466138 Received: from thinkpad-t440p (unknown [2.161.140.208]) by mail.messagingengine.com (Postfix) with ESMTPA id 1554D6800A2; Fri, 18 Dec 2015 14:15:37 -0500 (EST) From: Tassilo Horn To: Ivan Andrus Subject: Re: bug#22200: Acknowledgement (11.89; Incompatibility with TeX-file-line-error and preview-LaTeX-command-replacements) References: <0D1CF280-5F2A-4D69-80F0-14814EBE29BB@gmail.com> <67BDBF40-1DF0-4A64-B40B-E9113A36515C__26182.4863184758$1450411642$gmane$org@gmail.com> Date: Fri, 18 Dec 2015 20:15:35 +0100 In-Reply-To: <67BDBF40-1DF0-4A64-B40B-E9113A36515C__26182.4863184758$1450411642$gmane$org@gmail.com> (Ivan Andrus's message of "Thu, 17 Dec 2015 21:06:14 -0700") Message-ID: <87io3v1sbs.fsf@gnu.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 22200 Cc: 22200@debbugs.gnu.org, auctex-devel 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: 0.2 (/) Ivan Andrus writes: > I just reported bug 22200 [1], and I think I have a fix for it. > > It seems the problem is that preview-LaTeX-disable-pdfoutput does not > handle more than one space separating arguments in the command line. > The patch below makes it handle multiple spaces. Since I=E2=80=99m not a > frequent committer, I thought I should run it past people before > pushing (I think I have push access). I think you are right and the patch looks good. Feel free to commit it and close the bug. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 09:05:57 2016 Received: (at control) by debbugs.gnu.org; 8 Jan 2016 14:05:57 +0000 Received: from localhost ([127.0.0.1]:42418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHXfw-0006pV-Vw for submit@debbugs.gnu.org; Fri, 08 Jan 2016 09:05:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54965) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aHXfv-0006pI-F6 for control@debbugs.gnu.org; Fri, 08 Jan 2016 09:05:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHXfn-0004O3-Cl for control@debbugs.gnu.org; Fri, 08 Jan 2016 09:05:50 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHXfn-0004Nz-9z for control@debbugs.gnu.org; Fri, 08 Jan 2016 09:05:47 -0500 Received: from [212.189.140.214] (port=13454 helo=debenv) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aHXfm-00043U-NM for control@debbugs.gnu.org; Fri, 08 Jan 2016 09:05:47 -0500 Date: Fri, 08 Jan 2016 15:05:34 +0100 Message-Id: <87h9iow4i9.fsf@gnu.org> To: control@debbugs.gnu.org From: mose@gnu.org (=?utf-8?Q?Mos=C3=A8?= Giordano) Subject: control message for bug #22200 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) tags 22200 fixed From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 29 13:26:46 2016 Received: (at control) by debbugs.gnu.org; 29 Dec 2016 18:26:46 +0000 Received: from localhost ([127.0.0.1]:59378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMfPa-0000wR-BU for submit@debbugs.gnu.org; Thu, 29 Dec 2016 13:26:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMfPX-0000wE-Tu for control@debbugs.gnu.org; Thu, 29 Dec 2016 13:26:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMfPN-0001WR-MK for control@debbugs.gnu.org; Thu, 29 Dec 2016 13:26:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMfPN-0001WL-JJ for control@debbugs.gnu.org; Thu, 29 Dec 2016 13:26:33 -0500 Received: from [151.45.143.79] (port=58462 helo=debenv) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cMfPM-0001mL-Od for control@debbugs.gnu.org; Thu, 29 Dec 2016 13:26:33 -0500 Date: Thu, 29 Dec 2016 19:26:27 +0100 Message-Id: <87mvfewq0c.fsf@gnu.org> To: control@debbugs.gnu.org From: mose@gnu.org (=?utf-8?Q?Mos=C3=A8?= Giordano) Subject: control message for bug #22200 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) tags 22200 fixed close 22200 From unknown Fri Jun 20 18:15:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 Jan 2017 12: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