Re: default dir when save for first time is not cwd

2017-05-10 Thread Scott Kostyshak
On Wed, May 10, 2017 at 08:51:21AM +1200, Andrew Parsloe wrote: > > This is too late to be relevant but just for the record, on my system when > the Working Directory is not explicitly specified (or is .) both 2.1.5 and > 2.2.2 exhibit the same behaviour as 2.3: they open to 2.x/bin (windows 7).

Re: default dir when save for first time is not cwd

2017-05-09 Thread Andrew Parsloe
On 9/05/2017 11:04 p.m., Scott Kostyshak wrote: If the Working Directory slot is not filled on Windows (or if it contains just a period) File > Open opens to LyX 2.3/bin which seems dangerous to me. I agree it should not open to 2.3/bin. I imagine it should be the My Documents folder.

Re: default dir when save for first time is not cwd

2017-05-09 Thread Scott Kostyshak
On Tue, May 09, 2017 at 04:44:11PM +0200, Stephan Witt wrote: > Am 09.05.2017 um 15:39 schrieb Scott Kostyshak : > > > > On Tue, May 09, 2017 at 02:38:10PM +0200, Stephan Witt wrote: > > > >> Thank you too. Code-wise I think it’s ok now. No regression anymore. > >> But UI-wise

Re: default dir when save for first time is not cwd

2017-05-09 Thread Stephan Witt
Am 09.05.2017 um 15:39 schrieb Scott Kostyshak : > > On Tue, May 09, 2017 at 02:38:10PM +0200, Stephan Witt wrote: > >> Thank you too. Code-wise I think it’s ok now. No regression anymore. >> But UI-wise the translation is not ok. I have both versions here. First >> the german

Re: default dir when save for first time is not cwd

2017-05-09 Thread Scott Kostyshak
On Tue, May 09, 2017 at 02:38:10PM +0200, Stephan Witt wrote: > Thank you too. Code-wise I think it’s ok now. No regression anymore. > But UI-wise the translation is not ok. I have both versions here. First > the german and after it the english one - frankly said, I don’t know how > to fix it.

Re: default dir when save for first time is not cwd

2017-05-09 Thread Scott Kostyshak
On Tue, May 09, 2017 at 01:36:16PM +0200, Stephan Witt wrote: > Am 09.05.2017 um 13:04 schrieb Scott Kostyshak : > > > > On Mon, May 08, 2017 at 10:42:42PM +0200, Stephan Witt wrote: > > > >> The culprit in my case on Mac was the missing entry for document_dir (aka > >>

Re: default dir when save for first time is not cwd

2017-05-09 Thread Stephan Witt
Am 09.05.2017 um 13:04 schrieb Scott Kostyshak : > > On Mon, May 08, 2017 at 10:42:42PM +0200, Stephan Witt wrote: > >> The culprit in my case on Mac was the missing entry for document_dir (aka >> Working Directory). >> If I fill it with the name of my real document directory

Re: default dir when save for first time is not cwd

2017-05-09 Thread Scott Kostyshak
On Mon, May 08, 2017 at 10:42:42PM +0200, Stephan Witt wrote: > The culprit in my case on Mac was the missing entry for document_dir (aka > Working Directory). > If I fill it with the name of my real document directory (e.g. > /Users/stephan/Documents) then > it works for me too. The 2.2.3 LyX

Re: default dir when save for first time is not cwd

2017-05-09 Thread Scott Kostyshak
On Tue, May 09, 2017 at 10:36:02AM +1200, Andrew Parsloe wrote: > > > On 9/05/2017 8:42 a.m., Stephan Witt wrote: > > Am 08.05.2017 um 22:26 schrieb Andrew Parsloe : > > > > > > On 9/05/2017 2:41 a.m., Scott Kostyshak wrote: > > > > On Mon, May 08, 2017 at 12:14:02PM

Re: default dir when save for first time is not cwd

2017-05-08 Thread Andrew Parsloe
On 9/05/2017 8:42 a.m., Stephan Witt wrote: Am 08.05.2017 um 22:26 schrieb Andrew Parsloe : On 9/05/2017 2:41 a.m., Scott Kostyshak wrote: On Mon, May 08, 2017 at 12:14:02PM +1200, Andrew Parsloe wrote: On windows 7, alpha1-1, the Open dialogue displays the CWD.

Re: default dir when save for first time is not cwd

2017-05-08 Thread Stephan Witt
Am 08.05.2017 um 22:26 schrieb Andrew Parsloe : > > On 9/05/2017 2:41 a.m., Scott Kostyshak wrote: >> On Mon, May 08, 2017 at 12:14:02PM +1200, Andrew Parsloe wrote: >> >>> On windows 7, alpha1-1, the Open dialogue displays the CWD. >> >> For alpha1-1, if you open LyX

Re: default dir when save for first time is not cwd

2017-05-08 Thread Andrew Parsloe
On 9/05/2017 2:41 a.m., Scott Kostyshak wrote: On Mon, May 08, 2017 at 12:14:02PM +1200, Andrew Parsloe wrote: On windows 7, alpha1-1, the Open dialogue displays the CWD. For alpha1-1, if you open LyX from the GUI (the Start menu?), and you create a new document, type something, and go to

Re: default dir when save for first time is not cwd

2017-05-08 Thread Scott Kostyshak
On Mon, May 08, 2017 at 12:14:02PM +1200, Andrew Parsloe wrote: > On windows 7, alpha1-1, the Open dialogue displays the CWD. For alpha1-1, if you open LyX from the GUI (the Start menu?), and you create a new document, type something, and go to save or save as, where is the location in the

Re: default dir when save for first time is not cwd

2017-05-07 Thread Andrew Parsloe
On 8/05/2017 10:52 a.m., Scott Kostyshak wrote: On Sat, May 06, 2017 at 11:54:56PM +0200, Stephan Witt wrote: Am 12.10.2016 um 04:30 schrieb Scott Kostyshak : On Tue, Oct 11, 2016 at 12:27:51PM -0400, Richard Heck wrote: Looks fine to me. It's in at 892593f. Hi

Re: default dir when save for first time is not cwd

2017-05-07 Thread Scott Kostyshak
On Sat, May 06, 2017 at 11:54:56PM +0200, Stephan Witt wrote: > Am 12.10.2016 um 04:30 schrieb Scott Kostyshak : > > > > On Tue, Oct 11, 2016 at 12:27:51PM -0400, Richard Heck wrote: > > > >> Looks fine to me. > > > > It's in at 892593f. > > Hi Scott, I’m sorry to say that I

Re: default dir when save for first time is not cwd

2017-05-06 Thread Stephan Witt
Am 12.10.2016 um 04:30 schrieb Scott Kostyshak : > > On Tue, Oct 11, 2016 at 12:27:51PM -0400, Richard Heck wrote: > >> Looks fine to me. > > It's in at 892593f. Hi Scott, I’m sorry to say that I missed the consequence of this change. On Mac the initial value for CWD of a

Re: default dir when save for first time is not cwd

2016-10-11 Thread Scott Kostyshak
On Tue, Oct 11, 2016 at 12:27:51PM -0400, Richard Heck wrote: > Looks fine to me. It's in at 892593f. Scott signature.asc Description: PGP signature

Re: default dir when save for first time is not cwd

2016-10-11 Thread Richard Heck
On 10/10/2016 12:32 AM, Scott Kostyshak wrote: > On Fri, Jul 29, 2016 at 01:30:25PM -0400, Scott Kostyshak wrote: > >> I plan to soon propose to change the default of the working directory to >> '.', as this thread originally started out as. I would like to test a >> bit and take a look at where

Re: default dir when save for first time is not cwd

2016-10-09 Thread Scott Kostyshak
On Fri, Jul 29, 2016 at 01:30:25PM -0400, Scott Kostyshak wrote: > I plan to soon propose to change the default of the working directory to > '.', as this thread originally started out as. I would like to test a > bit and take a look at where else that path is used besides creating a > new file.

Re: default dir when save for first time is not cwd

2016-07-29 Thread Scott Kostyshak
On Tue, Jul 19, 2016 at 09:16:04PM -0400, Scott Kostyshak wrote: > Attached is an updated patch distinguishing TEXINPUTS. The patch is in at 9b64d7bd. If someone prefers for me to implement Guillaume's idea to reduce the size of the explanatory text, I am happy to do so. I plan to soon propose

Re: default dir when save for first time is not cwd

2016-07-19 Thread Scott Kostyshak
On Mon, Jul 18, 2016 at 04:28:11PM +0100, Guillaume Munch wrote: > Le 18/07/2016 06:02, Scott Kostyshak a écrit : > > Attached is a patch with a detailed commit message, and a screenshot of > > the paths preferences tab with the patch. > > > > Any thoughts? > > > > Regarding the help text, one

Re: default dir when save for first time is not cwd

2016-07-18 Thread Richard Heck
On 07/18/2016 02:16 AM, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 07:53, Scott Kostyshak a écrit : >> On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: >> >>> Shouldn't you make a difference in the help string? >> >> If that is the case then definitely yes. And that also

Re: default dir when save for first time is not cwd

2016-07-18 Thread Guillaume Munch
Le 18/07/2016 06:02, Scott Kostyshak a écrit : Attached is a patch with a detailed commit message, and a screenshot of the paths preferences tab with the patch. Any thoughts? Regarding the help text, one could just display the first sentence and have the rest in a tooltip. A "?" icon could

Re: default dir when save for first time is not cwd

2016-07-18 Thread Scott Kostyshak
On Mon, Jul 18, 2016 at 08:16:42AM +0200, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 07:53, Scott Kostyshak a écrit : > > On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: > > > > > Shouldn't you make a difference in the help string? > > > > If that is the case then

Re: default dir when save for first time is not cwd

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 07:53, Scott Kostyshak a écrit : On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: Shouldn't you make a difference in the help string? If that is the case then definitely yes. And that also diminishes one of the advantages of consistency I claimed. Well,

Re: default dir when save for first time is not cwd

2016-07-17 Thread Scott Kostyshak
On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: > Shouldn't you make a difference in the help string? If that is the case then definitely yes. And that also diminishes one of the advantages of consistency I claimed. Scott signature.asc Description: PGP signature

Re: default dir when save for first time is not cwd

2016-07-17 Thread Jean-Marc Lasgouttes
Le 18/07/2016 07:02, Scott Kostyshak a écrit : Attached is a patch with a detailed commit message, and a screenshot of the paths preferences tab with the patch. Any thoughts? It looks to me that the meaning of "." in TEXINPUTS is relative to current document, while other variables are

Re: default dir when save for first time is not cwd

2016-07-17 Thread Scott Kostyshak
Attached is a patch with a detailed commit message, and a screenshot of the paths preferences tab with the patch. Any thoughts? Scott From a2cb63c10cc6a7978c914ff50ff45db97598d9d5 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sun, 17 Jul 2016 04:57:39 -0400 Subject:

Re: default dir when save for first time is not cwd

2016-07-02 Thread Scott Kostyshak
On Sat, Jul 02, 2016 at 11:57:14PM +0200, Guillaume Munch wrote: > I only have an opinion for the working directory. Also I do not > understand which path field you are referring to (lost in translation). It is the first one in the paths tab. In English "Working directory", in French "Répertoire

Re: default dir when save for first time is not cwd

2016-07-02 Thread Guillaume Munch
Le 01/07/2016 03:01, Scott Kostyshak a écrit : On Fri, Jun 17, 2016 at 07:21:32PM -0400, Scott Kostyshak wrote: On Fri, Jun 17, 2016 at 10:33:03AM +0200, Jean-Marc Lasgouttes wrote: Le 17/06/2016 à 10:10, Scott Kostyshak a écrit : I guess the main question is: do you think a user would enter

Re: default dir when save for first time is not cwd

2016-06-30 Thread Scott Kostyshak
On Fri, Jun 17, 2016 at 07:21:32PM -0400, Scott Kostyshak wrote: > On Fri, Jun 17, 2016 at 10:33:03AM +0200, Jean-Marc Lasgouttes wrote: > > Le 17/06/2016 à 10:10, Scott Kostyshak a écrit : > > > I guess the main question is: do you think a user would enter a relative > > > path in that dialog

Re: default dir when save for first time is not cwd

2016-06-17 Thread Scott Kostyshak
On Fri, Jun 17, 2016 at 10:33:03AM +0200, Jean-Marc Lasgouttes wrote: > Le 17/06/2016 à 10:10, Scott Kostyshak a écrit : > > I guess the main question is: do you think a user would enter a relative > > path in that dialog intending for it to be immediately converted to an > > absolute path? The

Re: default dir when save for first time is not cwd

2016-06-17 Thread Jean-Marc Lasgouttes
Le 17/06/2016 à 10:10, Scott Kostyshak a écrit : I guess the main question is: do you think a user would enter a relative path in that dialog intending for it to be immediately converted to an absolute path? The more I think about it, I cannot think of such a case for any of the fields (although

Re: default dir when save for first time is not cwd

2016-06-17 Thread Scott Kostyshak
On Thu, Jun 16, 2016 at 11:04:10AM -0700, Pavel Sanda wrote: > Guillaume Munch wrote: > > Le 16/06/2016 01:30, Scott Kostyshak a écrit : > >> Currently if you start a new document and save, the default directory in > >> the save dialog is the home directory. This is true even if I start lyx > >>

Re: default dir when save for first time is not cwd

2016-06-17 Thread Scott Kostyshak
On Thu, Jun 16, 2016 at 07:27:37PM +, Paul A. Rubin wrote: > Scott Kostyshak lyx.org> writes: > > > > > Currently if you start a new document and save, the default directory in > > the save dialog is the home directory. This is true even if I start lyx > > from a different directory. I

Re: default dir when save for first time is not cwd

2016-06-16 Thread Paul A . Rubin
Scott Kostyshak lyx.org> writes: > > Currently if you start a new document and save, the default directory in > the save dialog is the home directory. This is true even if I start lyx > from a different directory. I would prefer for the default directory to > be the current working directory. >

Re: default dir when save for first time is not cwd

2016-06-16 Thread Pavel Sanda
Guillaume Munch wrote: > Le 16/06/2016 01:30, Scott Kostyshak a écrit : >> Currently if you start a new document and save, the default directory in >> the save dialog is the home directory. This is true even if I start lyx >> from a different directory. I would prefer for the default directory to

Re: default dir when save for first time is not cwd

2016-06-16 Thread Guillaume Munch
Le 16/06/2016 01:30, Scott Kostyshak a écrit : Currently if you start a new document and save, the default directory in the save dialog is the home directory. This is true even if I start lyx from a different directory. I would prefer for the default directory to be the current working

default dir when save for first time is not cwd

2016-06-15 Thread Scott Kostyshak
Currently if you start a new document and save, the default directory in the save dialog is the home directory. This is true even if I start lyx from a different directory. I would prefer for the default directory to be the current working directory. Has this been discussed before? Scott