Subject: bug#376: latex error message starts dired

From: Nate Eldredge <[email-masked]>
Date: Sun, 8 Jun 2008 01:33:32 -0700 (PDT)

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
[email-masked]