bug#24877: Feature request: let TeX-error-overview show warnings, but ignore them in TeX-next-error

2016-11-06 Thread Clément Pit--Claudel
On 2016-11-06 18:20, Mosè Giordano wrote:
> Hi Clément,

Hi Mosè,

>> […] It could say "no errors or warning to show; try
>> customizing `…'"?
>
> That's a sensible suggestion, thanks.  Maybe we can conditionally
> add that suggestion when there are warnings/bad boxes.  I can do
> this, but not right now, probably tomorrow or in the next few days.
> Feel free to ping me here if I miss to do it this week.

Great, thanks!

>> Also, the error list has a menu that allows me to change what kind
>> of errors are displayed but it's useless here: AucTeX errors out
>> instead of showing an empty list when there's nothing to display)
> 
> Sorry, I don't get what you mean here.

I meant that AucTeX could show an empty list instead of raising an error when 
there's nothing to display.  Then I could use the menu bar in that window to 
enable display of warnings.

> I could agree on
> changing the defaults of `TeX-debug-warnings' and
> `TeX-debug-bad-boxes' (I do it in my init file),

Please don't :) It's convenient to be able to quickly jump to the next error.

> If instead you truly believe this is a good idea, please start a discussion at
> auctex-de...@gnu.org so that other people can participate, bug tracker is not
> a good place for this stuff.

Got it! I have limited bandwidth and advising TeX-errors-overview works for me, 
so I'll drop the issue :)

Clément.



signature.asc
Description: OpenPGP digital signature
___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#24866: AucTeX not working on Emacs 25.1.1 for Mac

2016-11-06 Thread Mosè Giordano
Hi Lars,

2016-11-05 12:42 GMT+01:00 Lars Eriksson :
> A correction:
> I made a mistake in my test with the 24.5, I was too quick on the keyboard
> With the auctex error there is no syntax highlighting. I installed 24.5 and
> AucTeX and opened emacs with a latex file and got syntax highlighting so I
> believed auctex was loaded but it was not, at the time of me sending the
> mail. Some more testing showed that my Mac had started Emacs from the dmg
> file that was still open at the time of testing and only loaded the standard
> latex mode and gave me syntax highlighting and I jumped to the conclusion
> that all was working… But when the dmg was unmounted AucTeX was not working.
>
> So the latest AucTeX-build did not work on 24.5….
> I later tried the old Au11.89 and Em 24.5 without success (same error) so I
> went for Au 11.88 and Em 24.5 and can confirm that this works for me.
> I have AucTex in the distribution place
>  /Applications/Emacs.app/Contents/Resources/site-lisp
> and

The source tree of AUCTeX has been changed in 11.89, so in principle
it makes sense that you actually experience the problem with version
11.89 but not 11.88.  What looks strange to me is that the change
actually simplified things moving all files to the same directory.
I'll try to reproduce your issue.

Bye,
Mosè



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


bug#24877: Feature request: let TeX-error-overview show warnings, but ignore them in TeX-next-error

2016-11-06 Thread Mosè Giordano
Hi Clément,

2016-11-04 17:00 GMT+01:00 Clément Pit--Claudel :
> Hi all,
>
> I just found about TeX-error-overview, but when I first tried to use it it 
> just complained that there were "no errors or warning to show".  Reading 
> through the implementation, I realized that it filters warnings using 
> TeX-error-list-skip-warning-p, which itself excludes all warnings by default 
> (maybe the message should be changed? It could say "no errors or warning to 
> show; try customizing `…'"?

That's a sensible suggestion, thanks.  Maybe we can conditionally add
that suggestion when there are warnings/bad boxes.  I can do this, but
not right now, probably tomorrow or in the next few days.  Feel free
to ping me here if I miss to do it this week.

> Also, the error list has a menu that allows me to change what kind of errors 
> are displayed but it's useless here: AucTeX errors out instead of showing an 
> empty list when there's nothing to display)

Sorry, I don't get what you mean here.

> I found this default surprising, until I realized that it's also used for 
> TeX-next-error (and it makes a lot of sense to jump to errors first, instead 
> of warnings).  So now I have my own wrapper that binds TeX-debug-warnings and 
> TeX-debug-bad-boxes to t around a call to TeX-error-overview; that's not very 
> user-friendly.
>
> Maybe we need separate parameters for the error list and for the next-error 
> function? I don't usually want to browse through warnings if there are 
> errors, but I seldom want to see a list of only errors.  Another option would 
> be to show all warnings in the error list when there are no errors.
>
> In any case, I think it would make sense to have a different default for the 
> errors and warnings list and for the next-error function.

I don't quite agree on this.  I think there are already many options
available in this regard, I fear that adding even more complexity
(different behavior for `TeX-next-error` and `TeX-erorr-overview`) is
going to confuse users, that tend no to read documentation at all (and
it seems you confirmed this suspect ;-).  I could agree on changing
the defaults of `TeX-debug-warnings' and `TeX-debug-bad-boxes' (I do
it in my init file), but I'm personally against duplicating options
for the two error reporting tools.  If instead you truly believe this is a
good idea, please start a discussion at auctex-de...@gnu.org so that
other people can participate, bug tracker is not a good place for this
stuff.

Bye,
Mosè



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex