Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread Brett Stahlman
On Sun, May 28, 2017 at 4:19 PM, Nikolay Aleksandrovich Pavlov wrote: [...] > > And why do you think that “do not make plugins reinwent the wheel” is > the same statement as “write needed functionality in C code”? You can > always add a new file to `autoload`,

Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread Nikolay Aleksandrovich Pavlov
2017-05-28 23:16 GMT+03:00 Brett Stahlman : > On Sun, May 28, 2017 at 1:10 PM, Nikolay Aleksandrovich Pavlov > wrote: > > [...] You may also ask Brett Stahlman whether my proposal is enough, it does not look like he thinks it is not, just

Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread Brett Stahlman
On Sun, May 28, 2017 at 1:10 PM, Nikolay Aleksandrovich Pavlov wrote: [...] >>> >>> You may also ask Brett Stahlman whether my proposal is enough, it does >>> not look like he thinks it is not, just that it may be less >>> convenient. >> >> I believe it would be possible to do

Re: E114: Missing quote in gvim.exe', '-c'

2017-05-28 Thread Ni Va
Le dimanche 28 mai 2017 21:49:03 UTC+2, Ni Va a écrit : > Hi, > > An attempt to modify Make_mvc.mak with a gvim -c command and it fails : > > let makefile = globpath(expand('$tmp'.'/vim/src'),'Make_mvc.mak') > call job_start([$vimruntime.'/gvim.exe', '-c', 'edit '.makefile, '-c', 'call >

E114: Missing quote in gvim.exe', '-c'

2017-05-28 Thread Ni Va
Hi, An attempt to modify Make_mvc.mak with a gvim -c command and it fails : let makefile = globpath(expand('$tmp'.'/vim/src'),'Make_mvc.mak') call job_start([$vimruntime.'/gvim.exe', '-c', 'edit '.makefile, '-c', 'call setline(1,"SDK_INCLUDE_DIR")']) Errors appear like that : rror detected

Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread 'Andy Wokula' via vim_use
Am 22.05.2017 um 20:14 schrieb Brett Stahlman: I would like to be able to save and restore mappings programmatically. In order to do so, however, I need to be able to determine the exact lhs and rhs used to create the mapping. I had assumed the lhs/rhs members of the dictionary returned by

Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread Nikolay Aleksandrovich Pavlov
2017-05-28 19:05 GMT+03:00 Brett Stahlman : > On Sun, May 28, 2017 at 6:50 AM, Nikolay Aleksandrovich Pavlov > wrote: >> 2017-05-28 8:57 GMT+03:00 Bram Moolenaar : >>> >>> Nikolay Pavlov wrote: >>> >>> [..] >>> >> Enable,

Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread Brett Stahlman
On Sun, May 28, 2017 at 6:50 AM, Nikolay Aleksandrovich Pavlov wrote: > 2017-05-28 8:57 GMT+03:00 Bram Moolenaar : >> >> Nikolay Pavlov wrote: >> >> [..] >> >>> >> Enable, disable, query, execute plus two callbacks. *Four* functions >>> >> and two callbacks

Re: Bug/non-determinism in output of maparg() and map commands

2017-05-28 Thread Nikolay Aleksandrovich Pavlov
2017-05-28 8:57 GMT+03:00 Bram Moolenaar : > > Nikolay Pavlov wrote: > > [..] > >> >> Enable, disable, query, execute plus two callbacks. *Four* functions >> >> and two callbacks in place of just two simple functions, mostly using >> >> the functionality that is already there.