Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread Stephan Witt
Am 31.07.2022 um 12:41 schrieb José Matos : > > On Sun, 2022-07-31 at 11:16 +0200, Pavel Sanda wrote: >> Sure, whatever you need :) >> The patch is in. >> >> Pavel > > First attempt. :-) > > The code is straightforward, on my system it works in both python2 and > python3. FWIW the only differen

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread José Matos
On Sun, 2022-07-31 at 20:30 +0200, Pavel Sanda wrote: > Will take little time, hopefully tomorrow. P No problem. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread José Matos
On Sun, 2022-07-31 at 20:09 +0200, Pavel Sanda wrote: > It's in. Pavel Thank you. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread Pavel Sanda
On Sun, Jul 31, 2022 at 11:41:02AM +0100, José Matos wrote: > Please test it. Will take little time, hopefully tomorrow. P -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread Pavel Sanda
On Sun, Jul 31, 2022 at 06:37:29PM +0100, José Matos wrote: > On Sun, 2022-07-31 at 11:16 +0200, Pavel Sanda wrote: > > On Sun, Jul 31, 2022 at 07:15:29AM +0100, José Matos wrote: > > > Now in the context of the pyupgrade fixes this is applied to top > > > /lib > > > scripts. I need this before wor

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread José Matos
On Sun, 2022-07-31 at 11:16 +0200, Pavel Sanda wrote: > On Sun, Jul 31, 2022 at 07:15:29AM +0100, José Matos wrote: > > Now in the context of the pyupgrade fixes this is applied to top > > /lib > > scripts. I need this before working on configure.py. > > Sure, whatever you need :) > The patch is i

Re: Wrong commit ?

2022-07-31 Thread Kornel Benko
Am Sun, 31 Jul 2022 18:48:01 +0200 schrieb Jean-Pierre Chrétien : > Dear Developers, > > While committing a very minor change in the French UserGuide, I had a warning > about the fact that I was in "Detached HEAD mode". > > I committed nevertheless, but I see in the log that there is something

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread José Matos
On Sun, 2022-07-31 at 07:15 +0100, José Matos wrote: > In order to keep some sanity Python does not allow to stack > prefixes, like > >  fur"\begin_layout {layout}" Actually thinking a bit and researching a little more this is wrong: https://docs.python.org/3/reference/lexical_analysis.html#strin

Wrong commit ?

2022-07-31 Thread Jean-Pierre Chrétien
Dear Developers, While committing a very minor change in the French UserGuide, I had a warning about the fact that I was in "Detached HEAD mode". I committed nevertheless, but I see in the log that there is something fishy: $ git log commit 4c72d8aeac01c53e27732999108f249356e67c5c (HEAD -> m

Re: [LyX/master] Do not override (Back)Tab in Adv F&R when it is useful

2022-07-31 Thread José Matos
On Sun, 2022-07-31 at 13:52 +0200, Jean-Marc Lasgouttes wrote: > Thanks for the offer José, but I took a different way, which does not > change the  syntax. I have not documented it yet though. > > JMarc That is nice to know. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.or

Re: [LyX/master] Do not override (Back)Tab in Adv F&R when it is useful

2022-07-31 Thread Jean-Marc Lasgouttes
Thanks for the offer José, but I took a different way, which does not change the syntax. I have not documented it yet though. JMarc Le 31 juillet 2022 12:50:34 GMT+02:00, "José Matos" a écrit : >I can do the python part if you want to. :-) > -- lyx-devel mailing list lyx-devel@lists.lyx.or

Re: [patch] Selection stats in statusbar

2022-07-31 Thread Scott Kostyshak
On Sun, Jul 31, 2022 at 11:34:25AM +0200, Pavel Sanda wrote: > On Sun, Jul 31, 2022 at 05:16:17AM -0400, Scott Kostyshak wrote: > > I'm on vacation and won't be able to test for a few weeks. Can you do > > the test I described before? Just select a big document, and then hold > > Shift + to decrea

Re: [LyX/master] Do not override (Back)Tab in Adv F&R when it is useful

2022-07-31 Thread José Matos
On Tue, 2022-07-19 at 10:10 +0200, Jean-Marc Lasgouttes wrote: > However, I am not sure how to implement the prefs2prefs part, firstly > because one have to handle quotes (or absence thereof) and spaces and > secondly because I am bad at python. > > So do we want to do this for 2.4? I can do all t

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread José Matos
On Sun, 2022-07-31 at 11:16 +0200, Pavel Sanda wrote: > Sure, whatever you need :) > The patch is in. > > Pavel First attempt. :-) The code is straightforward, on my system it works in both python2 and python3. FWIW the only difference is: --- configure2.log 2022-07-31 11:32:45.733253492 +

Re: [patch] Selection stats in statusbar

2022-07-31 Thread Pavel Sanda
On Sun, Jul 31, 2022 at 05:16:17AM -0400, Scott Kostyshak wrote: > I'm on vacation and won't be able to test for a few weeks. Can you do > the test I described before? Just select a big document, and then hold > Shift + to decrease the selection towards the beginning of the > document. I just coun

Re: [patch] Selection stats in statusbar

2022-07-31 Thread Scott Kostyshak
On Sun, Jul 31, 2022 at 12:35:30AM +0200, Pavel Sanda wrote: > 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 no

Re: Interesting discovery from automatic tools (python code)

2022-07-31 Thread Pavel Sanda
On Sun, Jul 31, 2022 at 07:15:29AM +0100, José Matos wrote: > Now in the context of the pyupgrade fixes this is applied to top /lib > scripts. I need this before working on configure.py. Sure, whatever you need :) The patch is in. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://li

Re: LYXERR0 / lyxerr Output Discrepancies

2022-07-31 Thread Jean-Marc Lasgouttes
Hi Joel, LYXERR0 and LYXERR are wrappers around lyxerr. They are normally the preferred form. JMarc Le 31 juillet 2022 03:50:50 GMT+02:00, Joel Kulesza a écrit : >Is there a reason that these diagnostic messages have different approaches >and forms (maybe to avoid constructing a string to s