Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-11 Fir de Conversatie Bram Moolenaar
> 2017-05-08 13:53 GMT+03:00 Bram Moolenaar : > > > > Christian Brabandt wrote: > > > >> On Mi, 03 Mai 2017, h_east wrote: > >> > >> > 'gdefault' invertes the 'g' flag of `:substitute`. > >> > In addition to 'edcompatible', it also inverts the 'c' flag. > >> > > >> > When

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-11 Fir de Conversatie Bram Moolenaar
Andy Wokula wrote: > Am 08.05.2017 um 12:53 schrieb Bram Moolenaar: > > For flexibility this needs to work recursively. We could do something > > like: > > > > let saved_options = options_save() > > ... do your stuff ... > > call options_restore(saved_options) > > > > The options

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-11 Fir de Conversatie Bram Moolenaar
> >> Besides that, plugin writers also have a problem with very common > >> options, such as 'wrapscan' and 'ignorecase'. We are nog going to > >> remove these. Having an easy way to set these to their default, and > >> restore them later (without side effects), would be very useful. > >> > >>

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-09 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 08.05.2017 um 22:28 schrieb Gary Johnson: On 2017-05-08, 'Andy Wokula' via vim_dev wrote: Am 08.05.2017 um 12:53 schrieb Bram Moolenaar: For flexibility this needs to work recursively. We could do something like: let saved_options = options_save() ... do your stuff ...

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-09 Fir de Conversatie Tony Mechelynck
I'd rather remove as little existing stuff as possible, especially when (for someone who knows how to read the help) it is known to work as specified. Why not concentrate on the items in todo.txt before we start waving sabers around into the existing code? Best regards, Tony. -- -- You

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-09 Fir de Conversatie h_east
Hi Bram and all, 2017-5-8(Mon) 19:53:37 UTC+9 Bram Moolenaar: > Christian Brabandt wrote: > > > On Mi, 03 Mai 2017, h_east wrote: > > > > > 'gdefault' invertes the 'g' flag of `:substitute`. > > > In addition to 'edcompatible', it also inverts the 'c' flag. > > > > > > When using `:substitute`

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie Gary Johnson
On 2017-05-08, 'Andy Wokula' via vim_dev wrote: > Am 08.05.2017 um 12:53 schrieb Bram Moolenaar: > >For flexibility this needs to work recursively. We could do something > >like: > > > > let saved_options = options_save() > > ... do your stuff ... > > call

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 08.05.2017 um 12:53 schrieb Bram Moolenaar: For flexibility this needs to work recursively. We could do something like: let saved_options = options_save() ... do your stuff ... call options_restore(saved_options) The options being saved should be small to keep this

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 08.05.2017 um 13:04 schrieb Christian Brabandt: On Mo, 08 Mai 2017, Bram Moolenaar wrote: Besides that, plugin writers also have a problem with very common options, such as 'wrapscan' and 'ignorecase'. We are nog going to remove these. Having an easy way to set these to their default,

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 03.05.2017 um 11:11 schrieb Christian Brabandt: Hi h_east! On Mi, 03 Mai 2017, h_east wrote: 'gdefault' invertes the 'g' flag of `:substitute`. In addition to 'edcompatible', it also inverts the 'c' flag. When using `:substitute` with plugin, save and restore of the above options are

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > > > On Mi, 03 Mai 2017, h_east wrote: > > > > > > > 'gdefault' invertes the 'g' flag of `:substitute`. > > > > In addition to 'edcompatible', it also inverts the 'c' flag. > > > > > > > > When using `:substitute` with plugin, save and restore of the above > > > >

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie Bram Moolenaar
Justin M. Keyes wrote: > On Mon, May 8, 2017 at 12:53 PM, Bram Moolenaar wrote: > > > > Christian Brabandt wrote: > > > >> On Mi, 03 Mai 2017, h_east wrote: > >> > >> > 'gdefault' invertes the 'g' flag of `:substitute`. > >> > In addition to 'edcompatible', it also inverts

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie Justin M. Keyes
On Mon, May 8, 2017 at 12:53 PM, Bram Moolenaar wrote: > > Christian Brabandt wrote: > >> On Mi, 03 Mai 2017, h_east wrote: >> >> > 'gdefault' invertes the 'g' flag of `:substitute`. >> > In addition to 'edcompatible', it also inverts the 'c' flag. >> > >> > When using

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie Christian Brabandt
On Mo, 08 Mai 2017, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Mi, 03 Mai 2017, h_east wrote: > > > > > 'gdefault' invertes the 'g' flag of `:substitute`. > > > In addition to 'edcompatible', it also inverts the 'c' flag. > > > > > > When using `:substitute` with plugin,

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-08 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Mi, 03 Mai 2017, h_east wrote: > > > 'gdefault' invertes the 'g' flag of `:substitute`. > > In addition to 'edcompatible', it also inverts the 'c' flag. > > > > When using `:substitute` with plugin, save and restore of the above options > > are necessary, it is

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-03 Fir de Conversatie h_east
Hi Justin, 2017-5-3(Wed) 18:44:14 UTC+9 Justin M. Keyes: > On Wed, May 3, 2017 at 11:11 AM, Christian Brabandt wrote: > > Hi h_east! > > > > On Mi, 03 Mai 2017, h_east wrote: > > > >> 'gdefault' invertes the 'g' flag of `:substitute`. > >> In addition to 'edcompatible', it also inverts the 'c'

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-03 Fir de Conversatie h_east
Hi ChrisBra, 2017-5-3(Wed) 18:11:16 UTC+9 Christian Brabandt: > Hi h_east! > > On Mi, 03 Mai 2017, h_east wrote: > > > 'gdefault' invertes the 'g' flag of `:substitute`. > > In addition to 'edcompatible', it also inverts the 'c' flag. > > > > When using `:substitute` with plugin, save and

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-03 Fir de Conversatie François Ingelrest
Hi, On 3 May 2017 at 11:11, Christian Brabandt wrote: > So gdefault seems to be popular to a certain degree. I wouldn't have > thought that, it is just such an obscure option. I've always used it, it's quite handy to always replace all occurrences and not just the first one.

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-03 Fir de Conversatie Justin M. Keyes
On Wed, May 3, 2017 at 11:11 AM, Christian Brabandt wrote: > Hi h_east! > > On Mi, 03 Mai 2017, h_east wrote: > >> 'gdefault' invertes the 'g' flag of `:substitute`. >> In addition to 'edcompatible', it also inverts the 'c' flag. >> >> When using `:substitute` with plugin,

Re: [proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-03 Fir de Conversatie Christian Brabandt
Hi h_east! On Mi, 03 Mai 2017, h_east wrote: > 'gdefault' invertes the 'g' flag of `:substitute`. > In addition to 'edcompatible', it also inverts the 'c' flag. > > When using `:substitute` with plugin, save and restore of the above options > are necessary, it is a little weird. > > I propose

[proposal][patch] Want to stop supporting troublesome options 'gdefault' and 'edcompatible'.

2017-05-03 Fir de Conversatie h_east
Hi Bram and all, 'gdefault' invertes the 'g' flag of `:substitute`. In addition to 'edcompatible', it also inverts the 'c' flag. When using `:substitute` with plugin, save and restore of the above options are necessary, it is a little weird. I propose to stop supporting these options. Please