From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.bugs Subject: bug#376: latex error message starts dired Date: Sun, 08 Jun 2008 10:03:38 +0200 Message-ID: <87ve0ktkth.fsf@photon.caeruleus.net> References: <200806080341.m583fhEU080721@vulcan.lan> Reply-To: Ralf Angeli , 376@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212930469 17106 80.91.229.12 (8 Jun 2008 13:07:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2008 13:07:49 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 376@emacsbugs.donarmstrong.com To: Nate Eldredge Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 08 15:08:31 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 1K5KdJ-000502-KJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 15:08:29 +0200 Original-Received: from localhost ([127.0.0.1]:43049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5KcW-0007Ot-Fc for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 09:07:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5GF5-00012t-P7 for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:27:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5GF3-0000zh-Ua for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:27:11 -0400 Original-Received: from [199.232.76.173] (port=49475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5GF3-0000zN-MG for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:27:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47344) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5GF3-0006SP-4H for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 04:27:09 -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 m588R6r4000593; Sun, 8 Jun 2008 01:27:06 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m588A6da028606; Sun, 8 Jun 2008 01:10:06 -0700 X-Loop: don@donarmstrong.com Resent-From: Ralf Angeli Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 08 Jun 2008 08:10:06 +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 376-submit@emacsbugs.donarmstrong.com id=B376.121291223126453 (code B ref 376); Sun, 08 Jun 2008 08:10:06 +0000 Original-Received: (at 376) by emacsbugs.donarmstrong.com; 8 Jun 2008 08:03:51 +0000 Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5883lAC026442 for <376@emacsbugs.donarmstrong.com>; Sun, 8 Jun 2008 01:03:49 -0700 Original-Received: from photon.caeruleus.net (p54A50322.dip0.t-ipconnect.de [84.165.3.34]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1K5FsI3Pno-0004tV; Sun, 08 Jun 2008 10:03:40 +0200 In-Reply-To: <200806080341.m583fhEU080721@vulcan.lan> (Nate Eldredge's message of "Sat, 7 Jun 2008 20:41:43 -0700 (PDT)") X-Provags-ID: V01U2FsdGVkX1/o/PiYUTu/y783HxSOrbjdFWdEfxSVGy2dqWM D0r/zYppZIg1JkHFejVDFBT5SaURgtZvtT/uzKUquTjqM/RtJx Kzuh7NzdIa6s3SuCwyJAA== X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 08 Jun 2008 04:27:11 -0400 X-Mailman-Approved-At: Sun, 08 Jun 2008 09:06:05 -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:18298 Archived-At: * 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. -- Ralf