From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nate Eldredge Newsgroups: gmane.emacs.bugs Subject: bug#376: latex error message starts dired Date: Sun, 8 Jun 2008 01:33:32 -0700 (PDT) Message-ID: References: <200806080341.m583fhEU080721@vulcan.lan> <87ve0ktkth.fsf@photon.caeruleus.net> Reply-To: Nate Eldredge , 376@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1212914847 9796 80.91.229.12 (8 Jun 2008 08:47:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2008 08:47:27 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 376@emacsbugs.donarmstrong.com To: Ralf Angeli Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 08 10:48:09 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 1K5GZJ-00064g-HG for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 10:48:05 +0200 Original-Received: from localhost ([127.0.0.1]:38740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5GYW-0004ug-52 for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 04:47:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5GYP-0004t4-K4 for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:47:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5GYO-0004sQ-SQ for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:47:09 -0400 Original-Received: from [199.232.76.173] (port=41244 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5GYO-0004sC-Ht for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:47:08 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43875) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5GYO-0000UF-0R for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:47:08 -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 m588l69a005386; Sun, 8 Jun 2008 01:47:06 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m588j3hc004307; Sun, 8 Jun 2008 01:45:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Nate Eldredge Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 08 Jun 2008 08:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 376 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12129141142408 (code B ref -1); Sun, 08 Jun 2008 08:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Jun 2008 08:35:14 +0000 Original-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 m588ZAHu002402 for ; Sun, 8 Jun 2008 01:35:11 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5GMo-0005cc-6T for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:35:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5GMk-0005by-Hm for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:35:09 -0400 Original-Received: from [199.232.76.173] (port=47001 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5GMk-0005bv-Bb for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:35:06 -0400 Original-Received: from euclid.ucsd.edu ([132.239.145.52]:44612) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5GMj-0007CG-Qx for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:35:06 -0400 Original-Received: from zeno.ucsd.edu (zeno.ucsd.edu [132.239.145.22]) by euclid.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id m588XXB08887; Sun, 8 Jun 2008 01:33:33 -0700 (PDT) Original-Received: from localhost (neldredg@localhost) by zeno.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id m588XXw09838; Sun, 8 Jun 2008 01:33:33 -0700 (PDT) X-Authentication-Warning: zeno.ucsd.edu: neldredg owned process doing -bs X-X-Sender: neldredg@zeno.ucsd.edu In-Reply-To: <87ve0ktkth.fsf@photon.caeruleus.net> X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 08 Jun 2008 04:47:09 -0400 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:18295 Archived-At: On Sun, 8 Jun 2008, Ralf Angeli wrote: > * Nate Eldredge (2008-06-08) writes: > >> Here is the output of latex, as it appears in the *tex-shell* buffer. > >> 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. > > The parser finds this error and subsequently tries to determine the file > name. In course of that it checks the "(\pi" construct with point right > before the backslash. In this case the form > (file-readable-p (thing-at-point 'filename)) > returns t and the file name is set to an empty string. (This is what > `(thing-at-point 'filename)' returns.) > > I'm not sure if this is a problem with `thing-at-point' or > `file-readable-p'. > > As a workaround you could enable file:line:error messages for latex. Ah, thanks for the suggestion. I did not know about that feature. That solves the problem for me. Thanks for investigating this bug. -- Nate Eldredge neldredge@math.ucsd.edu