Re: Save on save

2020-03-30 Thread Jürgen Spitzmüller
Am Montag, den 30.03.2020, 21:14 +0200 schrieb Daniel: > Of course, this will leave unfixed the problem that by default LyX > does not saved inset states. LyX does save inset states. What it does not do is render the document dirty if an inset state changes. The latter would be too annoying. IMHO

Re: Save on save

2020-03-30 Thread Daniel
On 2020-03-30 19:12, Pavel Sanda wrote: On Mon, Mar 30, 2020 at 07:11:01PM +0200, Jürgen Spitzmüller wrote: I think that's all overkill. If we push my patch, Daniel can customize his preferred behavior and we others can all keep ours. I tend to agree with this. Pavel Of course, this will le

Re: Save on save

2020-03-30 Thread Pavel Sanda
On Mon, Mar 30, 2020 at 07:11:01PM +0200, Jürgen Spitzmüller wrote: > I think that's all overkill. If we push my patch, Daniel can customize > his preferred behavior and we others can all keep ours. I tend to agree with this. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.ly

Re: Save on save

2020-03-30 Thread Jürgen Spitzmüller
Am Montag, den 30.03.2020, 19:01 +0200 schrieb Pavel Sanda: > We already have 'Save transient properties' concept, so this > could be part of it or just another checkbox if ppl thing this > is important. > The document would be set dirty when this option would be on & > you changed the state of the

Re: Save on save

2020-03-30 Thread Kornel Benko
Am Mon, 30 Mar 2020 19:01:58 +0200 schrieb Pavel Sanda : > On Mon, Mar 30, 2020 at 06:43:35PM +0200, Daniel wrote: > > The only alternative, I can think of is enabling Save when an inset is > > changed but don't render the document dirty. But that doesn't seem > > completely different only more na

Re: Save on save

2020-03-30 Thread Pavel Sanda
On Mon, Mar 30, 2020 at 06:43:35PM +0200, Daniel wrote: > The only alternative, I can think of is enabling Save when an inset is > changed but don't render the document dirty. But that doesn't seem > completely different only more narrow. > > What did you have in mind? We already have 'Save trans

Re: Save on save

2020-03-30 Thread Daniel
On 2020-03-30 17:38, Pavel Sanda wrote: On Mon, Mar 30, 2020 at 04:46:33PM +0200, Daniel wrote: Windows, a star next to the title indicates that there are unsaved changes, on macOS a dot in the close button. LyX already provides those. Couldn't you start looking for those instead? Nope, my sol

Re: Save on save

2020-03-30 Thread Jürgen Spitzmüller
Am Montag, den 30.03.2020, 16:46 +0200 schrieb Daniel: > Alternatively, as mentioned that Libre provides a special Save > button symbol rather than disabled. Would that help, Not me. > or is it disabling in particular that is needed? Yes. Jürgen signature.asc Description: This is a digitally

Re: Save on save

2020-03-30 Thread Pavel Sanda
On Mon, Mar 30, 2020 at 04:46:33PM +0200, Daniel wrote: > Windows, a star next to the title indicates that there are unsaved changes, > on macOS a dot in the close button. LyX already provides those. Couldn't you > start looking for those instead? Nope, my solution is quite different, I'll just ad

Re: Save on save

2020-03-30 Thread Daniel
On 2020-03-30 14:24, Pavel Sanda wrote: On Mon, Mar 30, 2020 at 08:46:26AM +0200, Daniel wrote: What is lost if forced save is the default? It depends how exactly it is done. If the icon for save/menu does not look disabled after save, I will tend to press it just "for sure". This gives the f

Re: Save on save

2020-03-30 Thread Pavel Sanda
On Mon, Mar 30, 2020 at 08:46:26AM +0200, Daniel wrote: > What is lost if forced save is the default? It depends how exactly it is done. If the icon for save/menu does not look disabled after save, I will tend to press it just "for sure". This gives the file new timestamp and will sooner or later

Re: Save on save

2020-03-30 Thread Jean-Marc Lasgouttes
Le 29/03/2020 à 16:40, Jürgen Spitzmüller a écrit : Am Sonntag, den 29.03.2020, 16:35 +0200 schrieb Jean-Marc Lasgouttes: I would even not object to a patch that saves unconditionally. We could think afterwards about indicating dirty in the icon. We could do that on top of that, if we want. P

Re: Save on save

2020-03-30 Thread Jürgen Spitzmüller
Am Montag, den 30.03.2020, 11:35 +0200 schrieb Daniel: > The forced save I had in mind would still not save when the buffer > is > read only. The "ReadOnly" argument takes care of that, right? Sure. This only circumvents the "has unsaved changes" test. Jürgen signature.asc Description: This is

Re: Save on save

2020-03-30 Thread Daniel
On 2020-03-29 16:23, Jürgen Spitzmüller wrote: Any objections to the patch attached? Jürgen The forced save I had in mind would still not save when the buffer is read only. The "ReadOnly" argument takes care of that, right? Daniel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://li

TOC view for each kind of item in outliner

2020-03-30 Thread Daniel
I just wanted to throw this idea in. Maybe someone finds it interesting. It certainly needs more thought before it could be implemented. Currently, the outliner provides a plain list of each kind of item, e.g. a list of all citations within a (master) document. This is very handy for looking a