Interesting discovery from automatic tools (python code)

2022-07-30 Thread José Matos
Yesterday I found a tool to upgrade the python code to new versions. https://github.com/asottile/pyupgrade This is interesting in itself. :-) First because it allows to upgrade the code to a given version, such as it is I have applied in a way that it is compatible with python 2.7 that we suppor

Re: Interesting discovery from automatic tools (python code)

2022-07-30 Thread Pavel Sanda
On Sat, Jul 30, 2022 at 12:31:57PM +0100, José Matos wrote: > I think that this should be applied. I wanted to commit for you, but this is what I get when trying to apply the patch: patching file lib/lyx2lyx/lyx2lyx_tools.py patching file lib/lyx2lyx/lyx_0_12.py patching file lib/lyx2lyx/lyx_1_2.

Re: Interesting discovery from automatic tools (python code)

2022-07-30 Thread José Matos
On Sat, 2022-07-30 at 14:22 +0200, Pavel Sanda wrote: > I wanted to commit for you, but this is what I get when trying to > apply the patch: Thank you. I will look into this why is this failing. -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listi

Re: Interesting discovery from automatic tools (python code)

2022-07-30 Thread José Matos
On Sat, 2022-07-30 at 14:22 +0200, Pavel Sanda wrote: > On Sat, Jul 30, 2022 at 12:31:57PM +0100, José Matos wrote: > > I think that this should be applied. > > I wanted to commit for you, but this is what I get when trying to > apply the patch: Oops, I took the patch in the wrong directory. I t

Re: [patch] Selection stats in statusbar

2022-07-30 Thread Pavel Sanda
On Fri, Jul 15, 2022 at 12:05:25AM +0200, Pavel Sanda wrote: > On Thu, Jul 14, 2022 at 09:31:06AM +0200, Daniel wrote: > > >The drawback is that's it's difficult to understand the interaction between > > >the two timers now. I stared on the code for couple minutes and it was > > >not clear to me wh

Re: Interesting discovery from automatic tools (python code)

2022-07-30 Thread Pavel Sanda
On Sat, Jul 30, 2022 at 05:49:05PM +0100, José Matos wrote: > In any case the code after this patch is more correct, and that is > always a good thing. Good. This one applies, so it's in now. Now that I have you on hotline, any chance to have a look at the configure patch we discussed in March? :)

LYXERR0 / lyxerr Output Discrepancies

2022-07-30 Thread Joel Kulesza
LyX Developers, I regularly perform command-line-based execution of LyX and am subject to the resulting CLI output. I've noticed messages have several formats despite both being driven by `src/support/debug.h`. For example, I see messages coming from both Buffer.cpp: LYXERR0("Warning: a buffer

Re: Interesting discovery from automatic tools (python code)

2022-07-30 Thread José Matos
On Sun, 2022-07-31 at 00:44 +0200, Pavel Sanda wrote: > Good. This one applies, so it's in now. > Now that I have you on hotline, any chance to have a look at the > configure patch we discussed in March? :) > (Was: LyX 2.4.0 (IM policy.xml ban on eps/pdf conversions)) > > Pavel That was the next