[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Show the warning even when file cannot be determined
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] Show the warning even when file cannot be determined |
Date: |
Mon, 09 Mar 2015 09:03:27 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Mosè Giordano <address@hidden> writes:
Hi Mosè,
> sometimes AUCTeX cannot determine the file associated to a certain
> error or waning and refuses to display the help issuing an error like
> "Could not determine file for warning"
> or
> "Error occurred after last TeX file closed"
> (BTW: do we really need to have these two different messages?).
It should at least distinguish errors from warnings. Other than that,
I'd prefer if they were more uniform, e.g.,
"<Type> occured after last TeX file closed"
where <Type> is either Warning or Error.
> Sorry, I don't have an example at hand, but I'm sure most of you ran
> into this problem in the past.
No, neeeeevveerr. ;-)
> The attached patch in case a file cannot be determined visits the
> master file, issues the mentioned messages (not as errors) but
> displays the help anyway. Comments?
I didn't try it out but issuing the messages and displaying help sounds
right. However, I'm not sure if visiting the master file is sensible.
If we don't know the error/warning location anyway, we might as well
stay were we are.
Bye,
Tassilo