[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: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] Show the warning even when file cannot be determined |
Date: |
Mon, 9 Mar 2015 22:17:26 +0100 |
Hi Tassilo,
2015-03-09 9:03 GMT+01:00 Tassilo Horn <address@hidden>:
> 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.
I went for "Could not determine file for <type>", it looks more clear to me.
>> 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.
Indeed I was unsure between these two options, I decided to stay where
we are in the end.
Thanks,
Mosè