From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#376: marked as done (latex error message starts dired) Date: Fri, 25 Jul 2008 11:50:03 -0700 Message-ID: References: <87y73pkdmw.fsf@stupidchicken.com> <200806080341.m583fhEU080721@vulcan.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1217011803-12481-0" X-Trace: ger.gmane.org 1217012903 18433 80.91.229.12 (25 Jul 2008 19:08:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 19:08:23 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 25 21:09:11 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KMSee-0007bv-5q for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2008 21:08:40 +0200 Original-Received: from localhost ([127.0.0.1]:53245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMSdk-0002WI-Gf for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2008 15:07:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMSdQ-0002KG-JV for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 15:07:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMSdP-0002Ip-CX for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 15:07:23 -0400 Original-Received: from [199.232.76.173] (port=38187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMSdO-0002IX-JU for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 15:07:22 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37653) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMSdN-0001NI-W4 for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 15:07:22 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6PJ7Jew017921; Fri, 25 Jul 2008 12:07:20 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6PIo3Kk012510; Fri, 25 Jul 2008 11:50:03 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 376 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18861 Archived-At: This is a multi-part message in MIME format... ------------=_1217011803-12481-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 25 Jul 2008 14:44:07 -0400 with message-id <87y73pkdmw.fsf@stupidchicken.com> and subject line Re: latex error message starts dired has caused the Emacs bug report #376, regarding latex error message starts dired to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 376: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D376 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1217011803-12481-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.8 required=4.0 tests=BAYES_00,FOURLA,MDO_DATING2, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Jun 2008 03:41:57 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m583fpEs027462 for ; Sat, 7 Jun 2008 20:41:52 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5Bmw-0005w1-Pt for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 23:41:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5Bmw-0005vp-3N for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 23:41:50 -0400 Received: from [199.232.76.173] (port=54290 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5Bmw-0005vm-0O for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 23:41:50 -0400 Received: from mail9.dslextreme.com ([66.51.199.94]:47087) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K5Bmv-0001za-DD for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 23:41:49 -0400 Received: (qmail 28683 invoked from network); 8 Jun 2008 03:41:45 -0000 Received: from unknown (HELO vulcan.lan) (208.127.139.48) by mail9.dslextreme.com with (DHE-RSA-AES256-SHA encrypted) SMTP; Sat, 07 Jun 2008 20:41:45 -0700 Received: from vulcan.lan (localhost.lan [127.0.0.1]) by vulcan.lan (8.13.8/8.13.8) with ESMTP id m583fhmI080724 for ; Sat, 7 Jun 2008 20:41:43 -0700 (PDT) (envelope-from nate@vulcan.lan) Received: (from nate@localhost) by vulcan.lan (8.13.8/8.13.8/Submit) id m583fhEU080721; Sat, 7 Jun 2008 20:41:43 -0700 (PDT) (envelope-from nate) Date: Sat, 7 Jun 2008 20:41:43 -0700 (PDT) Message-Id: <200806080341.m583fhEU080721@vulcan.lan> From: Nate Eldredge To: bug-gnu-emacs@gnu.org Subject: latex error message starts dired X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) In latex mode, when latex produces an error, sometimes using C-x ` (next-error) opens a dired buffer instead of jumping to the error. Here is a file which reproduces it. ============ snip ================== \documentclass[12pt]{article} \usepackage{amsthm} \usepackage{amsmath} \newcommand{\polar}{x} \newcommand{\oldlambda}{xx} \begin{document} \begin{proof} \begin{align} g(\polar, s) &= \Re \phi(se^{i\polar})\frac{1}{4\pi}s \psi(i(\pi-se^{i\polar}),\pi-s) \\ k(\sqrt{\oldlambda}, \polar, s) &= e^{ \end{align} \end{proof} \end{document} ================ snip ==================== Visit the file with C-x C-f emacs-tex-error.tex Compile it with C-c C-f Try to jump to next error with C-x ` You should find yourself in a dired session (at least that's what it does for me), which is not useful. Here is the output of latex, as it appears in the *tex-shell* buffer. ================= snip ================== nate@vulcan:~/bugs$ latex \\nonstopmode\\input emacs-tex-error.tex This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode LaTeX2e <2003/12/01> Babel and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. (./emacs-tex-error.tex (/usr/local/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/local/share/texmf-dist/tex/latex/base/size12.clo)) (/usr/local/share/texmf-dist/tex/latex/amscls/amsthm.sty) (/usr/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/local/share/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/local/share/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/local/share/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/local/share/texmf-dist/tex/latex/amsmath/amsopn.sty)) (./emacs-tex-error.aux) Runaway argument? g(\polar , s) &= \Re \phi (se^{i\polar })\frac {1}{4\pi }s \psi (i(\pi \ETC. ! Paragraph ended before \align was complete. \par l.21 ! Missing $ inserted. $ l.21 ! Missing } inserted. } l.21 ! Missing \endgroup inserted. \endgroup l.21 ! Display math should end with $$. \@@par l.21 ! Extra }, or forgotten \endgroup. \par ...m \@noitemerr {\@@par }\fi \else {\@@par } \fi l.21 ! LaTeX Error: \begin{align} on input line 15 ended by \end{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.22 \end{document} [1] (./emacs-tex-error.aux) ) (\end occurred inside a group at level 2) ### semi simple group (level 2) entered at line 15 (\begingroup) ### semi simple group (level 1) entered at line 13 (\begingroup) ### bottom level (see the transcript file for additional information) Output written on emacs-tex-error.dvi (1 page, 276 bytes). Transcript written on emacs-tex-error.log. nate@vulcan:~/bugs$ ===================== snip ===================== Any suggestions appreciated. Thanks! In GNU Emacs 22.2.1 (x86_64-pc-freebsd, GTK+ Version 2.12.9) of 2008-06-07 on vulcan.lan Windowing system distributor `The X.Org Foundation', version 11.0.10400000 configured using `configure '--with-gtk' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' 'amd64-freebsd' 'build_alias=amd64-freebsd' 'host_alias=amd64-freebsd' 'target_alias=amd64-freebsd' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x C-f ~ b / b u g e m t C-c C-f C-x ` Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Loading help-mode...done Making completion list... Loading tex-mode... Loading regexp-opt...done Loading tex-mode...done (No files need saving) Loading dired...done Loading emacsbug...done ------------=_1217011803-12481-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 376-done) by emacsbugs.donarmstrong.com; 25 Jul 2008 18:42:37 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6PIgY6s011255 for <376-done@emacsbugs.donarmstrong.com>; Fri, 25 Jul 2008 11:42:35 -0700 Received: by cyd (Postfix, from userid 1000) id DD6D257E311; Fri, 25 Jul 2008 14:44:07 -0400 (EDT) From: Chong Yidong To: Ralf Angeli Cc: Nate Eldredge , 376-done@emacsbugs.donarmstrong.com Subject: Re: latex error message starts dired References: <878wvpzx2m.fsf@stupidchicken.com> <87ej5h7t00.fsf@photon.caeruleus.net> Date: Fri, 25 Jul 2008 14:44:07 -0400 In-Reply-To: <87ej5h7t00.fsf@photon.caeruleus.net> (Ralf Angeli's message of "Fri, 25 Jul 2008 19:50:39 +0200") Message-ID: <87y73pkdmw.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Ralf Angeli writes: >> How bout the following patch to tex-mode? > > Looks okay (without actually trying it). (I'd probably move the > `setq' call into the `string=' call.) Of course it will still lose if > there is a string after the paren which corresponds to the name of an > existing file, but the chances for that are really slim. Thanks. ------------=_1217011803-12481-0--