Re: Inverted colors for cursor

2016-10-22 Thread racoon
I am confused now. Yes, you can change the cursor color in the current version of LyX. And the checked Use System Settings checkbox is visible in Joel's screenshot. If it is unchecked the cursor color can be changed. But I suggest to abandon this option and go for an inverted cursor color.

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Enrico Forestieri
On Fri, Oct 21, 2016 at 11:16:30PM +, Guenter Milde wrote: > On 2016-10-21, Enrico Forestieri wrote: > > On Fri, Oct 21, 2016 at 07:05:29PM +, Guenter Milde wrote: > >> On 2016-10-21, Enrico Forestieri wrote: > > >> > I think that the old "None (no fontenc)" was more than adequate. > >>

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 15:59, Joel Kulesza wrote: On Sat, Oct 22, 2016 at 7:55 AM, racoon > wrote: The benefit of removing (or almost removing) space around insets is to make sure it is not mistaken for a "real" space. Since many insets are working

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 17:15, Enrico Forestieri a écrit : If you ask me, I think that 99.99% of users didn't change that default. If someone was needing a different encoding, it is much more likely that he stumbled upon the custom setting in the document settings dialog rather than that setting in the

Re: Candidates for stable

2016-10-22 Thread Jürgen Spitzmüller
Am Samstag, den 15.10.2016, 11:11 +0200 schrieb Jürgen Spitzmüller: > * Improve bibliography info display: > http://www.lyx.org/trac/changeset/ba171930/lyxgit > http://www.lyx.org/trac/changeset/2c4673af/lyxgit > http://www.lyx.org/trac/changeset/1c725c91/lyxgit >

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
Why not let inversion be the default behavior and then let users choose? Perhaps I want my cursor to also stand out from my text... On Sat, Oct 22, 2016 at 6:53 AM, racoon wrote: > On 22.10.2016 14:38, Joel Kulesza wrote: > >> With the ability to tweak the cursor color, I agree

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 15:10, Joel Kulesza wrote: Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor color but instead enforce inverted color. I think an inverted cursor has the benefit of being visible in any situation while the downsides seem small. I

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 16:58, Enrico Forestieri a écrit : I still wonder why we should keep this preference. Good observation. I think for backward compatibility. Otherwise we don't know what was the old default. Suppose that a user unchecked that preference, meaning that no fontenc is loaded. If we

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 05:05:04PM +0200, Jean-Marc Lasgouttes wrote: > Le 22/10/2016 à 16:58, Enrico Forestieri a écrit : > > > I still wonder why we should keep this preference. > > > > Good observation. I think for backward compatibility. Otherwise we > > don't know what was the old default.

Re: [LyX/master] Remove unused methods in anononymous namespace

2016-10-22 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 17:52, Jean-Marc Lasgouttes a écrit : commit 4065f596ada672c58787a0f9faa2278621545ab9 Author: Jean-Marc Lasgouttes Date: Wed Oct 19 17:51:32 2016 +0200 Remove unused methods in anononymous namespace These have been flagged by gcc 6. Richard, OK

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 17:08, racoon a écrit : But I guess one could argue that this is a WYSIWYG thing and the only thing we need in LyX is to clearly see whether a space is a "real" space or not. We can allow for spacing as long as it is smaller enough than interword space. What needs to be done

Re: Inverted colors for cursor

2016-10-22 Thread Guillaume Munch
Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now. This would only be sensible when the cursor

Re: For $100, would you change a default font?

2016-10-22 Thread Uwe Stöhr
Am 22.10.2016 um 08:43 schrieb Jürgen Spitzmüller: Why don't you simply set your preferred "default font" and hit "Save as Document Defaults"? Then this will be _your_ personal default. Hi Paul, now that you got what you wanted for free, maybe you want to support LyX anyway with a donation?

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 13:40, Enrico Forestieri a écrit : Moreover, we add a new entry "LyX Default", which corresponds to what is now the default (i.e, load fontenc with the value specified in Tools->Preferences->Output->LaTeX). I still wonder why we should keep this preference. JMarc

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 16:57, racoon a écrit : The cursor policy isn't fancy but just what other writer apps have. That is also where I had the idea about treating insets as characters is from. But as I said, this is just something to consider. You seem to suggest it's a bad idea. :) Can you point me

Re: For $100, would you change a default font?

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 05:35, Paul Johnson a écrit : I use LyX all the time. I love it and encourage everybody to try it. I usually get great results.Except when I am in a hurry and forget to change default fonts. In particular, I've been stung by the combination of the listings class and default

Re: [LyX/master] Update local boost version to version 1.62

2016-10-22 Thread Jean-Marc Lasgouttes
Le 21/10/2016 à 18:02, Richard Heck a écrit : What shall we do about 2.2.x? The warnings with gcc 6 are annoying, so I guess we will eventually have to update for branch. They are indeed annoying. This seems a good time to do it for stable, since we just did a release and have lots of time for

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 05:16:49PM +0200, Jean-Marc Lasgouttes wrote: > Le 22/10/2016 à 17:15, Enrico Forestieri a écrit : > > If you ask me, I think that 99.99% of users didn't change that default. > > If someone was needing a different encoding, it is much more likely that > > he stumbled upon

Re: [LyX/master] Remove unused methods in anononymous namespace

2016-10-22 Thread Richard Heck
On 10/22/2016 11:15 AM, Jean-Marc Lasgouttes wrote: > Le 19/10/2016 à 17:52, Jean-Marc Lasgouttes a écrit : >> commit 4065f596ada672c58787a0f9faa2278621545ab9 >> Author: Jean-Marc Lasgouttes >> Date: Wed Oct 19 17:51:32 2016 +0200 >> >> Remove unused methods in

Re: Candidates for stable

2016-10-22 Thread Richard Heck
On 10/22/2016 01:32 PM, Jürgen Spitzmüller wrote: > Am Samstag, den 15.10.2016, 11:11 +0200 schrieb Jürgen Spitzmüller: >> * Improve bibliography info display: >> http://www.lyx.org/trac/changeset/ba171930/lyxgit >> http://www.lyx.org/trac/changeset/2c4673af/lyxgit >>

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
Interesting, yes, the options are different when that checkbox is selected (I would have expected them to remain the same but be overridden by the system colors). Furthermore, unchecking that box (which is checked, by default, I believe), permits me to change colors for items like the shaded box

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor color but instead enforce inverted color. I think an inverted cursor has the benefit of being visible in any situation while the downsides seem small. I think most people are either working with a very

Re: Some inset offset fine tuning

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 11:33, racoon a écrit : Does anyone happen to know where the area of insets for clicks and hover with the mouse is set? I don't mean the paintings but the interaction. There seem to be several problems with it I could have a look at. 1. The area if off by a couple of pixels,

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 17:02, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 16:57, racoon a écrit : The cursor policy isn't fancy but just what other writer apps have. That is also where I had the idea about treating insets as characters is from. But as I said, this is just something to consider. You seem

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Then it would mean that the change can be done in system prefs. JMarc Le 22 octobre 2016 08:42:18 GMT+02:00, racoon a écrit : >>Wait a sec. Might be that this is because you use system colors? > >Daniel

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 16:42, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now.

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.10.2016, 18:41 +0200 schrieb Enrico Forestieri: > The main differences between OT1 and T1 are explained here: > http://tex.stackexchange.com/questions/664/why-should-i-use-usepackag > et1fontenc > > If one changed it to OT1, now he would find that bitmapped fonts are > being

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 15:47, Joel Kulesza wrote: On Sat, Oct 22, 2016 at 7:20 AM, racoon > wrote: However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 16:31, Joel Kulesza wrote: On Sat, Oct 22, 2016 at 8:19 AM, racoon > wrote: One question: would it be helpful if one could choose copy, paste, delete, etc. from the inset button's context menu? I don't see how this could

Re: [patch] support for Asturian etc.

2016-10-22 Thread Uwe Stöhr
Am 21.10.2016 um 01:58 schrieb Uwe Stöhr: There are in fact 4 such languages that are not RTL/BiDi. Attached is therefore a better patch with support for these. OK, it is now in. Since all languages are non-RTL, they behave like all other languages supported in polyglossia but not babel.

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
On Sat, Oct 22, 2016 at 7:55 AM, racoon wrote: > > > The benefit of removing (or almost removing) space around insets is to > make sure it is not mistaken for a "real" space. Since many insets are > working just like characters it seems reasonable to make the spacing around >

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
On Sat, Oct 22, 2016 at 8:19 AM, racoon wrote: > One question: would it be helpful if one could choose copy, paste, delete, >> etc. from the inset button's context menu? >> > I don't see how this could hurt. My workflow now is usually to position the cursor in front of the

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now. This would only be sensible when the cursor

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Jürgen Spitzmüller
Am Samstag, den 22.10.2016, 16:37 +0200 schrieb Jean-Marc Lasgouttes: > Le 22/10/2016 à 13:40, Enrico Forestieri a écrit : > > Moreover, we add a new entry "LyX Default", which corresponds > > to what is now the default (i.e, load fontenc with the value > > specified > > in

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 04:37:04PM +0200, Jean-Marc Lasgouttes wrote: > Le 22/10/2016 à 13:40, Enrico Forestieri a écrit : > > Moreover, we add a new entry "LyX Default", which corresponds > > to what is now the default (i.e, load fontenc with the value specified > > in

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Guillaume Munch
Le 22/10/2016 à 17:16, Jean-Marc Lasgouttes a écrit : Le 22/10/2016 à 17:15, Enrico Forestieri a écrit : If you ask me, I think that 99.99% of users didn't change that default. If someone was needing a different encoding, it is much more likely that he stumbled upon the custom setting in the

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 14:38, Joel Kulesza wrote: With the ability to tweak the cursor color, I agree with Daniel's suggestion to implement the inverted color patch. Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor color but instead enforce inverted

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
On Sat, Oct 22, 2016 at 7:20 AM, racoon wrote: > > However, I am at the moment considering to change LyX's spacing such that > the cursor before an element starts directly at the element. As is the case > with normal characters. It is just a thought for now. This would only be >

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 14:53, racoon a écrit : On 22.10.2016 14:38, Joel Kulesza wrote: With the ability to tweak the cursor color, I agree with Daniel's suggestion to implement the inverted color patch. Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 17:07, racoon wrote: On 22.10.2016 17:02, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 16:57, racoon a écrit : The cursor policy isn't fancy but just what other writer apps have. That is also where I had the idea about treating insets as characters is from. But as I said, this is

Re: Add Assumption to Theorems.inc

2016-10-22 Thread Paul A. Rubin
On 10/21/2016 10:06 PM, Andrew Parsloe wrote: Dear LyX developers, I find myself needing an Assumption environment every now and again and think it should be added to Theorems.inc and its relatives. (As far as I can tell it isn't defined in any of the Theorems-.inc included in the

Re: Master is slow

2016-10-22 Thread Guillaume Munch
Le 18/10/2016 à 21:44, Guillaume Munch a écrit : Profiling shows that calls to BufferParams::isExportableFormat are numerous and expensive when doing char-forward (33% of the total amount of CPU). This is called from GuiView::updateToolbars -> GuiView::getStatus. There is room for improvement,

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Guenter Milde
On 2016-10-22, Enrico Forestieri wrote: > On Sat, Oct 22, 2016 at 05:16:49PM +0200, Jean-Marc Lasgouttes wrote: >> Le 22/10/2016 à 17:15, Enrico Forestieri a écrit : >> > If you ask me, I think that 99.99% of users didn't change that default. >> > If someone was needing a different encoding, it is

Re: [LyX/master] Do some caching of window title and related UI

2016-10-22 Thread Guillaume Munch
Le 19/10/2016 à 12:00, Jean-Marc Lasgouttes a écrit : @@ -1388,8 +1388,15 @@ QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const void GuiWorkArea::updateWindowTitle() { - d->lyx_view_->updateWindowTitle(this); - titleChanged(this); + Buffer const & buf

Re: [LyX/2.2.3-staging] Status and configure for 2.2.3.

2016-10-22 Thread Guillaume Munch
Le 21/09/2016 à 22:31, Richard Heck a écrit : commit 076736369f11016e5ed5a0a7dec0a58fc610c608 Author: Richard Heck Date: Wed Sep 21 16:30:58 2016 -0400 Status and configure for 2.2.3. --- Hi Richard, I have rebased 2.2.3-staging branch on top of 2.2.x. You can now

Re: Add Assumption to Theorems.inc

2016-10-22 Thread Andrew Parsloe
On 23/10/2016 4:48 a.m., Paul A. Rubin wrote: On 10/21/2016 10:06 PM, Andrew Parsloe wrote: Dear LyX developers, I find myself needing an Assumption environment every now and again and think it should be added to Theorems.inc and its relatives. (As far as I can tell it isn't defined in any of

[patch] support for Urdu

2016-10-22 Thread Uwe Stöhr
Support for Urdu was once denied because of font problems. The corresponding bug reported by an Urdu-speaking LyX user is fixed in LyX 2.2: http://www.lyx.org/trac/ticket/9066 Therefore I don't see a reason why LyX cannot support Urdu. Attached is the patch and a LyX testfile to play with.

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Guenter Milde
On 2016-10-22, Enrico Forestieri wrote: > On Sat, Oct 22, 2016 at 05:05:04PM +0200, Jean-Marc Lasgouttes wrote: >> Le 22/10/2016 à 16:58, Enrico Forestieri a écrit : >> > > I still wonder why we should keep this preference. >> > >> > Good observation. I think for backward compatibility.

Re: Inverted colors for cursor

2016-10-22 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: > > As LyX stands now, it is often very difficult to put the mouse cursor > between two insets, because insets, contrary to characters, are active > beasts. If you click a bit to close to them, something happens. This is why >

Re: [LyX/master] Move class definitions inside main class

2016-10-22 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 11:26:15PM +0200, Guillaume Munch wrote: > commit 148b3ae773c441430311feb29eba01a765bc6c48 > Author: Guillaume Munch > Date: Tue Oct 11 12:09:38 2016 +0200 > > Move class definitions inside main class > > Prepare for following commits. >

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Guenter Milde
On 2016-10-22, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Samstag, den 22.10.2016, 16:37 +0200 schrieb Jean-Marc Lasgouttes: >> Le 22/10/2016 à 13:40, Enrico Forestieri a écrit : >> > Moreover, we add a new entry "LyX Default", which corresponds >> > to

Re: [LyX/master] Move class definitions inside main class

2016-10-22 Thread Guillaume Munch
Le 23/10/2016 à 00:09, Enrico Forestieri a écrit : On Sat, Oct 22, 2016 at 11:26:15PM +0200, Guillaume Munch wrote: commit 148b3ae773c441430311feb29eba01a765bc6c48 Author: Guillaume Munch Date: Tue Oct 11 12:09:38 2016 +0200 Move class definitions inside main class

Re: [LyX/master] Move class definitions inside main class

2016-10-22 Thread Enrico Forestieri
On Sun, Oct 23, 2016 at 12:26:55AM +0200, Guillaume Munch wrote: > Le 23/10/2016 à 00:09, Enrico Forestieri a écrit : > > On Sat, Oct 22, 2016 at 11:26:15PM +0200, Guillaume Munch wrote: > > > > > commit 148b3ae773c441430311feb29eba01a765bc6c48 > > > Author: Guillaume Munch > > >

Re: Master is slow

2016-10-22 Thread Richard Heck
On 10/22/2016 01:39 PM, Guillaume Munch wrote: > Le 18/10/2016 à 21:44, Guillaume Munch a écrit : >> >> Profiling shows that calls to BufferParams::isExportableFormat >> are numerous and expensive when doing char-forward (33% of the total >> amount of CPU). This is called from

Re: LinuxDay @ Pisa - Oct 22nd

2016-10-22 Thread Tommaso Cucinotta
On 29/09/2016 19:02, Tommaso Cucinotta wrote: 15-min demo about LyX at the upcoming LinuxDay, on Oct 22nd in Pisa (Italy), and I've just been notified that this might really happen :-)! Indeed, it happened :-)! Just a quick note that all attendees raised their hands when asked about

procmail (was: [PATCH] Re: Return + Return in nested environments)

2016-10-22 Thread Pavel Sanda
Enrico Forestieri wrote: > Yes, of course, because procmail inserted a ">" just in front of the > "From " line in the attachment (which I do manually). > > Care to share the corresponding config line(s) for procmail? Hmm, nothing special: :0 *List-Post:

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 04:10, Joel Kulesza wrote: On Fri, Oct 21, 2016 at 3:56 PM, racoon > wrote: On 21.10.2016 21:47, Joel Kulesza wrote: Instead of this, I would rather see a customizable cursor color in the Preferences -> Colors

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 04:10, Joel Kulesza wrote: On Fri, Oct 21, 2016 at 3:56 PM, racoon > wrote: On 21.10.2016 21:47, Joel Kulesza wrote: Instead of this, I would rather see a customizable cursor color in the Preferences -> Colors

Re: For $100, would you change a default font?

2016-10-22 Thread Jürgen Spitzmüller
Am Freitag, den 21.10.2016, 22:35 -0500 schrieb Paul Johnson: > I use LyX all the time. I love it and encourage everybody to try it.  > > I usually get great results.Except when I am in a hurry and forget to > change default fonts. In particular, I've been stung by the > combination of the

Re: Some inset offset fine tuning

2016-10-22 Thread racoon
On 21.10.2016 16:29, Jean-Marc Lasgouttes wrote: Le 21/10/2016 à 16:18, racoon a écrit : Just an update of the fix. No work done on the scaling yet or other insets yet. But I realised that the cursor takes the space of the first pixels of the character. So the space between insets has at least