Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Stephan Witt
Am 20.02.2020 um 23:06 schrieb Jean-Marc Lasgouttes : > > Le 20/02/2020 à 22:10, Stephan Witt a écrit : >> Am 20.02.2020 um 19:24 schrieb Kornel Benko : >> Ok, now I propose this for forward-search: >> \bind "C-S-colon""forward-search" >> \bind "C-S-period" "f

Re: Perl and Indexing? [Re: Building windows installer questions]

2020-02-20 Thread Kornel Benko
Am Thu, 20 Feb 2020 16:36:37 -0500 schrieb Richard Kimberly Heck : > On 2/20/20 5:36 AM, Kornel Benko wrote: > > Am Wed, 19 Feb 2020 22:40:27 +0100 > > schrieb Jean-Marc Lasgouttes : > > > >> Le 19 février 2020 21:47:05 GMT+01:00, Kornel Benko a > >> écrit : > I'm trying to remember why

Re: Perl and Indexing? [Re: Building windows installer questions]

2020-02-20 Thread Richard Kimberly Heck
On 2/20/20 5:39 PM, Richard Kimberly Heck wrote: > On 2/20/20 5:10 PM, Jean-Marc Lasgouttes wrote: >> Le 20/02/2020 à 11:36, Kornel Benko a écrit : >>> No, why should it? If we provide lyx, we do not provide python. >>> >>> OTOH, package 'texlive-binaries' needs perl for instance and package >>> 't

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Kornel Benko
Am Thu, 20 Feb 2020 22:10:17 +0100 schrieb Stephan Witt : > Am 20.02.2020 um 19:24 schrieb Kornel Benko : > > > > Am Thu, 20 Feb 2020 18:10:30 +0100 > > schrieb Stephan Witt : > > > >> Am 20.02.2020 um 17:37 schrieb Stephan Witt : > >>> > >>> Am 20.02.2020 um 17:08 schrieb Stephan Witt :

Re: Perl and Indexing? [Re: Building windows installer questions]

2020-02-20 Thread Richard Kimberly Heck
On 2/20/20 5:10 PM, Jean-Marc Lasgouttes wrote: > Le 20/02/2020 à 11:36, Kornel Benko a écrit : >> No, why should it? If we provide lyx, we do not provide python. >> >> OTOH, package 'texlive-binaries' needs perl for instance and package >> 'texlive-base' wants >> 'perl-tk'. > > Yes, it is the purp

Re: Perl and Indexing? [Re: Building windows installer questions]

2020-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2020 à 11:36, Kornel Benko a écrit : No, why should it? If we provide lyx, we do not provide python. OTOH, package 'texlive-binaries' needs perl for instance and package 'texlive-base' wants 'perl-tk'. Yes, it is the purpose of a texlive distribution: provide everything needed to ma

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2020 à 22:10, Stephan Witt a écrit : Am 20.02.2020 um 19:24 schrieb Kornel Benko : Ok, now I propose this for forward-search: \bind "C-S-colon""forward-search" \bind "C-S-period" "forward-search" The duplication is intentional to make it work for d

Re: Perl and Indexing? [Re: Building windows installer questions]

2020-02-20 Thread Richard Kimberly Heck
On 2/20/20 5:36 AM, Kornel Benko wrote: > Am Wed, 19 Feb 2020 22:40:27 +0100 > schrieb Jean-Marc Lasgouttes : > >> Le 19 février 2020 21:47:05 GMT+01:00, Kornel Benko a écrit >> : I'm trying to remember why LyX needs Perl on Windows. If it were possible to avoid it, that would be worth

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Stephan Witt
Am 20.02.2020 um 19:24 schrieb Kornel Benko : > > Am Thu, 20 Feb 2020 18:10:30 +0100 > schrieb Stephan Witt : > >> Am 20.02.2020 um 17:37 schrieb Stephan Witt : >>> >>> Am 20.02.2020 um 17:08 schrieb Stephan Witt : Am 20.02.2020 um 16:49 schrieb Christopher Menzel : > >

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Kornel Benko
Am Thu, 20 Feb 2020 18:10:30 +0100 schrieb Stephan Witt : > Am 20.02.2020 um 17:37 schrieb Stephan Witt : > > > > Am 20.02.2020 um 17:08 schrieb Stephan Witt : > >> > >> Am 20.02.2020 um 16:49 schrieb Christopher Menzel > >> : > >>> > while working with SyncTeX I came to the conclus

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Kornel Benko
Am Thu, 20 Feb 2020 17:37:52 +0100 schrieb Stephan Witt : > Am 20.02.2020 um 17:08 schrieb Stephan Witt : > > > > Am 20.02.2020 um 16:49 schrieb Christopher Menzel : > > > >> > >>> while working with SyncTeX I came to the conclusion a standard > >>> key binding for "Navigate > Forward Searc

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Stephan Witt
Am 20.02.2020 um 17:37 schrieb Stephan Witt : > > Am 20.02.2020 um 17:08 schrieb Stephan Witt : >> >> Am 20.02.2020 um 16:49 schrieb Christopher Menzel : >>> while working with SyncTeX I came to the conclusion a standard key binding for "Navigate > Forward Search" would be very useful.

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Stephan Witt
Am 20.02.2020 um 17:08 schrieb Stephan Witt : > > Am 20.02.2020 um 16:49 schrieb Christopher Menzel : >> >>> while working with SyncTeX I came to the conclusion a standard >>> key binding for "Navigate > Forward Search" would be very useful. >> >> That's certainly one of my most-used custom keyb

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Stephan Witt
Am 20.02.2020 um 16:49 schrieb Christopher Menzel : > >> while working with SyncTeX I came to the conclusion a standard >> key binding for "Navigate > Forward Search" would be very useful. > > That's certainly one of my most-used custom keybindings. I use emacs bindings > so have mapped it to C-

Re: clang Warning: Padding Class...

2020-02-20 Thread Scott Kostyshak
On Thu, Feb 20, 2020 at 01:51:24AM -0500, Richard Kimberly Heck wrote: > On 2/19/20 9:56 PM, Scott Kostyshak wrote: > > On Wed, Feb 19, 2020 at 05:08:47PM -0500, Richard Kimberly Heck wrote: > > > >> On 2/19/20 4:48 PM, Jean-Marc Lasgouttes wrote: > >>> It is a good idea to have correct padding by

Re: Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Scott Kostyshak
On Thu, Feb 20, 2020 at 10:59:21AM +0100, Stephan Witt wrote: > Hi, > > while working with SyncTeX I came to the conclusion a standard > key binding for "Navigate > Forward Search" would be very useful. > > I’d like to propose: > > \bind "C-S-F" "forward-search“ > > The question is: is this non

Re: [RFC][PATCH] Change to buffer lookup for given temporary files

2020-02-20 Thread Pavel Sanda
On Thu, Feb 20, 2020 at 01:01:27PM +0100, Enrico Forestieri wrote: > On Thu, Feb 20, 2020 at 03:09:56AM -0500, Richard Kimberly Heck wrote: > > On 2/20/20 2:24 AM, Enrico Forestieri wrote: > > > On Wed, Feb 19, 2020 at 10:33:45PM +0100, Stephan Witt wrote: > > > > > >> What I wonder: there are the

Re: [RFC][PATCH] Fix for potential memory leak in GuiLyXFiles::updateContents

2020-02-20 Thread Stephan Witt
Am 20.02.2020 um 13:22 schrieb Enrico Forestieri : > > On Thu, Feb 20, 2020 at 09:37:12AM +0100, Stephan Witt wrote: >> Hi all, >> >> the last one of the potential memory leaks is a little bit trickier. >> >> The loop logic for subcatItem if cats contains catsave doesn’t guarantee >> a match so

Re: [RFC][PATCH] Fix for potential memory leak in GuiLyXFiles::updateContents

2020-02-20 Thread Enrico Forestieri
On Thu, Feb 20, 2020 at 09:37:12AM +0100, Stephan Witt wrote: > Hi all, > > the last one of the potential memory leaks is a little bit trickier. > > The loop logic for subcatItem if cats contains catsave doesn’t guarantee > a match so a check for the match is needed after all. > > This makes me

Re: [RFC][PATCH] Change to buffer lookup for given temporary files

2020-02-20 Thread Enrico Forestieri
On Thu, Feb 20, 2020 at 03:09:56AM -0500, Richard Kimberly Heck wrote: > On 2/20/20 2:24 AM, Enrico Forestieri wrote: > > On Wed, Feb 19, 2020 at 10:33:45PM +0100, Stephan Witt wrote: > > > >> What I wonder: there are the Qt elements used. Why don’t we rely > >> on the services of QFileInfo class?

Re: [PATCH] Fix write to uninitialized bytes for XCB event

2020-02-20 Thread Kornel Benko
Am Wed, 19 Feb 2020 22:45:12 +0100 schrieb Jean-Marc Lasgouttes : > Le 19 février 2020 22:25:31 GMT+01:00, Pavel Sanda a écrit : > >So the oldest distro on which I regularly compile lyx master has gcc > >4.8. > >Because I suspect no one around is using even older config we can't > >really > >guar

Re: Perl and Indexing? [Re: Building windows installer questions]

2020-02-20 Thread Kornel Benko
Am Wed, 19 Feb 2020 22:40:27 +0100 schrieb Jean-Marc Lasgouttes : > Le 19 février 2020 21:47:05 GMT+01:00, Kornel Benko a écrit : > >> I'm trying to remember why LyX needs Perl on Windows. If it were > >> possible to avoid it, that would be worth doing. > > > >Texlive has many perl scripts (in

Standard key binding for SyncTeX forward-search?

2020-02-20 Thread Stephan Witt
Hi, while working with SyncTeX I came to the conclusion a standard key binding for "Navigate > Forward Search" would be very useful. I’d like to propose: \bind "C-S-F" "forward-search“ The question is: is this non-controversial and can go to cua.bind? Otherwise I’d like to put it in mac.bind…

[RFC][PATCH] Fix for potential memory leak in GuiLyXFiles::updateContents

2020-02-20 Thread Stephan Witt
Hi all, the last one of the potential memory leaks is a little bit trickier. The loop logic for subcatItem if cats contains catsave doesn’t guarantee a match so a check for the match is needed after all. This makes me unsure what should be done in this case. Ignore it or warn about it or try som

Re: [RFC][PATCH] Change to buffer lookup for given temporary files

2020-02-20 Thread Richard Kimberly Heck
On 2/20/20 2:24 AM, Enrico Forestieri wrote: > On Wed, Feb 19, 2020 at 10:33:45PM +0100, Stephan Witt wrote: > >> What I wonder: there are the Qt elements used. Why don’t we rely >> on the services of QFileInfo class? E.g. canonicalFilePath() and >> friends? Are there historical reasons only? > Yes