Re: TeXFiles.py compatibility with Nix on macOS

2019-06-27 Thread Jean-Marc Lasgouttes
Le 25/06/2019 à 19:59, Guenter Milde a écrit : OTOH, the concern I remember reading in this list some years ago was about LyX startup times (if I remember right). If the proposed change only affects (re)configuring, I have no objections. Thanks. JMarc

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-27 Thread Jean-Marc Lasgouttes
Le 25/06/2019 à 18:46, Richard Kimberly Heck a écrit : I pushed the patch to master at 642b4acc.  Riki, OK for backport? Yes. Thanks. Done now. JMarc

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-25 Thread Guenter Milde
On 2019-06-25, Michael Roitzsch wrote: >> I paused a bit at first due to the remark from Günter: >> > I remember that some people complained because of delays when >> > symlinks point to removable media or "the cloud". So there might be >> > no "one setting fits all" approach. >> But now I think

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-25 Thread Richard Kimberly Heck
On 6/25/19 10:01 AM, Jean-Marc Lasgouttes wrote: > Le 25/06/2019 à 15:21, Michael Roitzsch a écrit : >> Hi JMarc, >> >>> I paused a bit at first due to the remark from Günter: I remember that some people complained because of delays when symlinks point to removable media or "the cloud". S

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-25 Thread Jean-Marc Lasgouttes
Le 25/06/2019 à 15:21, Michael Roitzsch a écrit : Hi JMarc, I paused a bit at first due to the remark from Günter: I remember that some people complained because of delays when symlinks point to removable media or "the cloud". So there might be no "one setting fits all" approach. But now I t

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-25 Thread Michael Roitzsch
Hi JMarc, > I paused a bit at first due to the remark from Günter: > > I remember that some people complained because of delays when symlinks > > point to removable media or "the cloud". So there might be no "one setting > > fits all" approach. > > But now I think that the TeX is supposed to sear

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-25 Thread Jean-Marc Lasgouttes
Le 24/06/2019 à 17:21, Michael Roitzsch a écrit : Hi all, Good point. These will be my first lines of Python-code, but I’ll try. I tested this with an artificial symlink cycle and it worked: […] Any feedback regarding my code? I have used it for paper writing within LyX and everything appea

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-24 Thread Michael Roitzsch
Hi all, > Good point. These will be my first lines of Python-code, but I’ll try. I > tested this with an artificial symlink cycle and it worked: > […] Any feedback regarding my code? I have used it for paper writing within LyX and everything appears to be fine for me. Regards, Michael

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-07 Thread Jean-Marc Lasgouttes
Le 06/06/2019 à 10:12, Guenter Milde a écrit : It seems that the thing to do is to keep track of visited directories, like here for example: https://stackoverflow.com/questions/36977259/avoiding-infinite-recursion-with-os-walk Could you have a go at it? Unless José beats you to it... I remem

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-06 Thread Michael Roitzsch
Hi JMarc, > It seems that the thing to do is to keep track of visited directories, like > here for example: > https://stackoverflow.com/questions/36977259/avoiding-infinite-recursion-with-os-walk Good point. These will be my first lines of Python-code, but I’ll try. I tested this with an artifi

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-06 Thread Guenter Milde
On 2019-06-05, Jean-Marc Lasgouttes wrote: > Le 05/06/2019 à 12:49, José Abílio Matos a écrit : >> On Wednesday, 5 June 2019 10.55.11 WEST Jean-Marc Lasgouttes wrote: I hope this change can be considered for inclusion in a future LyX version. Regards, Michael >> The problem wi

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-05 Thread Jean-Marc Lasgouttes
Le 05/06/2019 à 12:49, José Abílio Matos a écrit : On Wednesday, 5 June 2019 10.55.11 WEST Jean-Marc Lasgouttes wrote: I hope this change can be considered for inclusion in a future LyX version. Regards, Michael The problem with this approach is the same problem that we have when traversing a

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-05 Thread José Abílio Matos
On Wednesday, 5 June 2019 10.55.11 WEST Jean-Marc Lasgouttes wrote: > > --- lyxgit/lib/scripts/TeXFiles.py 2019-05-31 16:27:47.0 > > +0200 > > +++ lyxgit/lib/scripts/TeXFiles.py 2019-05-29 10:38:25.0 > > +0200 > > @@ -116,7 +116,7 @@ > > if not os.path.isdir(dir): > > cont

Re: TeXFiles.py compatibility with Nix on macOS

2019-06-05 Thread Jean-Marc Lasgouttes
Le 31/05/2019 à 16:28, Michael Roitzsch a écrit : Hi LyX developers, Nix (https://nixos.org) is a Unix package manager, which I use to install LaTeX on macOS. A peculiarity of Nix is that all packages are installed into separate directories and the actual directory tree is then constructed via

TeXFiles.py compatibility with Nix on macOS

2019-05-31 Thread Michael Roitzsch
Hi LyX developers, Nix (https://nixos.org) is a Unix package manager, which I use to install LaTeX on macOS. A peculiarity of Nix is that all packages are installed into separate directories and the actual directory tree is then constructed via symlinks. This interacts badly with the way LyX cu