Re: quickfix information

2016-07-17 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Jul 17, 2016 at 10:00 PM, LCD 47 wrote: > On 17 July 2016, Yegappan Lakshmanan wrote: >> Hi, >> >> On Mon, Apr 13, 2015 at 5:04 AM, wrote: >> > Hello, >> > >> > I did not expect that many reactions. This is nice. Thank you all >> > for your interest in the matter. >> > >> >> > Ah,

Re: quickfix information

2016-07-17 Fir de Conversatie LCD 47
On 17 July 2016, Yegappan Lakshmanan wrote: > Hi, > > On Mon, Apr 13, 2015 at 5:04 AM, wrote: > > Hello, > > > > I did not expect that many reactions. This is nice. Thank you all > > for your interest in the matter. > > > >> > Ah, but as long as you are OK with that information showing up > >> >

Re: netrw tree list produces modified buffers when refreshing

2016-07-17 Fir de Conversatie Tony Mechelynck
On Mon, Jul 18, 2016 at 12:29 AM, Michal Grochmal wrote: > Hello, > > Apologies if this email bounces several times, it is my first time using > googlegroups. And I am struggling with their we interface. > > I believe I found a bug in the runtime/autoload/netrw.vim script (the > path is based on

netrw tree list produces modified buffers when refreshing

2016-07-17 Fir de Conversatie Michal Grochmal
Hello, Apologies if this email bounces several times, it is my first time using googlegroups. And I am struggling with their we interface. I believe I found a bug in the runtime/autoload/netrw.vim script (the path is based on the repository structure). Since `netrw` is a script originally by Dr

Re: Got E121: Undefined variable in lambda function

2016-07-17 Fir de Conversatie Ken Takata
Hi, 2016/7/17 Sun 21:26:29 UTC+9 itchyny wrote: > I additionally submit another test case. > > let Y = {f -> (({x -> f ({y -> x(x)(y)})}) ({x -> f ({y -> x(x)(y)})}))} > let Fact = {f -> {x -> (x == 0 ? 1 : x * f(x - 1))}} > echo Y(Fact)(5) > > I expect this script prints 120 but I got E110: Mis

Re: quickfix information

2016-07-17 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Jul 17, 2016 at 5:27 PM, Yegappan Lakshmanan wrote: > Hi, > > On Mon, Apr 13, 2015 at 5:04 AM, wrote: >> Hello, >> >> I did not expect that many reactions. This is nice. >> Thank you all for your interest in the matter. >> >>> > Ah, but as long as you are OK with that information sh

Re: strikethrough text in gvim

2016-07-17 Fir de Conversatie Ken Takata
Hi, 2016/4/27 Wed 0:41:07 UTC+9 Ken Takata wrote: > Hi, > > 2016/4/26 Tue 22:57:57 UTC+9 Christian Brabandt wrote: > > Am 2016-04-26 15:51, schrieb Ken Takata: > > [strikethrough patch] > > > > > Thank you for checking. > > > Now I check with Win32 GUI and also with terminal (mintty). Both works

Re: [patch] Add constans for type()

2016-07-17 Fir de Conversatie Ken Takata
Hi Bram, 2016/7/16 Sat 21:21:11 UTC+9 Bram Moolenaar wrote: > Ken Takata wrote: > > > The help of type() says: > > > > To avoid the magic numbers it should be used this way: > > > :if type(myvar) == type(0) > > :if type(myvar) == type("") > >

Re: quickfix information

2016-07-17 Fir de Conversatie Yegappan Lakshmanan
Hi, On Mon, Apr 13, 2015 at 5:04 AM, wrote: > Hello, > > I did not expect that many reactions. This is nice. > Thank you all for your interest in the matter. > >> > Ah, but as long as you are OK with that information showing up in >> > the title, if you can set w:quickfix_title to an arbitrary s

Buffer overflow when using trunc_string()

2016-07-17 Fir de Conversatie Yegappan Lakshmanan
Hi, Running the message_test executable with address sanitizer enabled and the following test code in message_test.c: trunc_string((char_u *)"a text that fits", buf, 34, 40); produces a buffer overflow in utf_head_off(): AddressSanitizer: global-buffer-overflow mbyte.c:3740 in utf_head_off

Patch 7.4.2066

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2066 Problem:getcompletion() not well tested. Solution: Add more testing. Files: src/testdir/test_cmdline.vim *** ../vim-7.4.2065/src/testdir/test_cmdline.vim2016-07-09 19:20:54.674656045 +0200 --- src/testdir/test_cmdline.vim2016-07-17 23:31:01.694406410 +0

Compiler warning (type mismatch) for quickfix.c at patchlevel 7.4.2065

2016-07-17 Fir de Conversatie Tony Mechelynck
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/lib

Patch 7.4.2065

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2065 Problem:Compiler warns for uninitialzed variable. (John Marriott) Solution: Set lnum to the right value. Files: src/evalfunc.c *** ../vim-7.4.2064/src/evalfunc.c 2016-07-17 22:13:26.813095293 +0200 --- src/evalfunc.c 2016-07-17 22:31:14.302451011 +0200 ***

Re: Patch 7.4.2063

2016-07-17 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 18-Jul-2016 6:14 AM, Bram Moolenaar wrote: > > Patch 7.4.2063 > > Problem:eval.c is still too big. > > Solution: Split off internal functions to evalfunc.c. > > Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h, > > src/globals.h, src/vim

Patch 7.4.2064

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2064 Problem:Coverity warns for possible buffer overflow. Solution: Use vim_strcat() instead of strcat(). Files: src/quickfix.c *** ../vim-7.4.2063/src/quickfix.c 2016-07-17 19:25:00.964690765 +0200 --- src/quickfix.c 2016-07-17 22:19:02.545753576 +0200 ***

Re: Patch 7.4.2063

2016-07-17 Fir de Conversatie John Marriott
On 18-Jul-2016 6:14 AM, Bram Moolenaar wrote: Patch 7.4.2063 Problem:eval.c is still too big. Solution: Split off internal functions to evalfunc.c. Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h, src/globals.h, src/vim.h, src/proto/eval.pro, src/pr

No v7.4.2062 tag on the hg mirror

2016-07-17 Fir de Conversatie Tony Mechelynck
I suppose this is an ovsersight: the current tip of the hg mirror (changeset 695186e11daa «commit https://github.com/vim/vim/commit/840268400dc8fda62a14f8a084e8b1ea46619454 Author: Bram Moolenaar Date: Sun Jul 17 20:37:43 2016 +0200 patch 7.4.2062 Problem:Using dummy variable to com

Patch 7.4.2062

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2062 Problem:Using dummy variable to compute struct member offset. Solution: Use offsetof(). Files: src/globals.h, src/macros.h, src/vim.h, src/spell.c *** ../vim-7.4.2061/src/globals.h 2016-07-17 18:28:59.023697505 +0200 --- src/globals.h 2016-07-17 20:20:28.785

Re: Patch 7.4.2055

2016-07-17 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > Hi Bram, > > 2016/7/17 Sun 21:57:30 UTC+9 Bram Moolenaar wrote: > > Patch 7.4.2055 > > Problem:eval.c is too big. > > Solution: Move Dictionary functions to dict.c. > > Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h, > > src/proto/eval.pro, src

Re: Patch 7.4.2055

2016-07-17 Fir de Conversatie Ken Takata
Hi Bram, 2016/7/17 Sun 21:57:30 UTC+9 Bram Moolenaar wrote: > Patch 7.4.2055 > Problem:eval.c is too big. > Solution: Move Dictionary functions to dict.c. > Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h, > src/proto/eval.pro, src/proto/dict.pro, src/Makefile, Filel

Patch 7.4.2061

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2061 Problem:qf_init_ext() is too big. Solution: Move code to qf_parse_line() (Yegappan Lakshmanan) Files: src/quickfix.c, src/testdir/test_quickfix.vim *** ../vim-7.4.2060/src/quickfix.c 2016-07-16 18:24:52.468279220 +0200 --- src/quickfix.c 2016-07-17 19:19:55.07

Patch 7.4.2060

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2060 (after 7.4.2059) Problem:Wrong file name. Solution: Fix typo. Files: src/Make_mvc.mak *** ../vim-7.4.2059/src/Make_mvc.mak2016-07-17 18:41:43.083790495 +0200 --- src/Make_mvc.mak2016-07-17 19:01:05.959697946 +0200 *** *** 1165,1171 $(OUTDIR

Patch 7.4.2059

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2059 Problem:Non-Unix builds fail. Solution: Update Makefiles for new files. Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak *** ../vim-7.4.2

Re: Patch 7.4.2057

2016-07-17 Fir de Conversatie Cesar Romani
I'm building vim on Windows 7 with MinGW. On latest pull, I'm getting a lot of undefined references. Attached is the output. Many thanks in advance, -- Cesar -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For mor

Re: Patch 7.4.2057

2016-07-17 Fir de Conversatie Ken Takata
Hi Bram, 2016/7/17 Sun 22:46:52 UTC+9 Bram Moolenaar wrote: > Patch 7.4.2057 > Problem:eval.c is too big. > Solution: Move List functions to list.c > Files: src/eval.c, src/dict.c, src/list.c, src/proto.h, src/Makefile, > src/globals.h, src/proto/eval.pro, src/proto/list.pro

RFE: additional Make rule to avoid missing files when using a shadow dir

2016-07-17 Fir de Conversatie Tony Mechelynck
Problem: When using a shadow dir repeatedly, new sources (added after the creation of the shadowdir) are seen as "missing" and the build fails. Solution (untested): Add the following rules to src/Makefile (They will only come into play when building in a shadow dir) %.c: ../$@ ln -sv $< %.h: .

Re: Updates to the runtime files

2016-07-17 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sun, Jul 17, 2016 at 5:49 AM, Bram Moolenaar wrote: > > Dominique Pellé wrote: > >> Yegappan Lakshmanan wrote: >> >> > Hi, >> > >> > I am attaching a minor update to the runtime files. >> > >> > - Yegappan >> >> Hi Yegappan >> >> There is a typo in your patch for function matchstrpos(

Patch 7.4.2057

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2057 Problem:eval.c is too big. Solution: Move List functions to list.c Files: src/eval.c, src/dict.c, src/list.c, src/proto.h, src/Makefile, src/globals.h, src/proto/eval.pro, src/proto/list.pro, Filelist *** ../vim-7.4.2056/src/eval.c 2016-07-17 14:56:41.71055

Patch 7.4.2056

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2056 (after 7.4.2055) Problem:Build fails. Solution: Add missing changes. Files: src/proto.h *** ../vim-7.4.2055/src/proto.h 2016-07-16 14:46:51.135240543 +0200 --- src/proto.h 2016-07-17 13:44:35.266502970 +0200 *** *** 67,72 --- 67,73 # ifdef FEAT_C

Patch 7.4.2055

2016-07-17 Fir de Conversatie Bram Moolenaar
Patch 7.4.2055 Problem:eval.c is too big. Solution: Move Dictionary functions to dict.c. Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h, src/proto/eval.pro, src/proto/dict.pro, src/Makefile, Filelist *** ../vim-7.4.2054/src/eval.c 2016-07-15 21:24:41.193452608 +0

Re: Updates to the runtime files

2016-07-17 Fir de Conversatie Bram Moolenaar
Dominique Pellé wrote: > Yegappan Lakshmanan wrote: > > > Hi, > > > > I am attaching a minor update to the runtime files. > > > > - Yegappan > > Hi Yegappan > > There is a typo in your patch for function matchstrpos(): > > |matchstrpos()| match and postions of a pattern in a string > > posti

Re: Patch 7.4.2049

2016-07-17 Fir de Conversatie Bram Moolenaar
Gary Johnson wrote: > On 2016-07-16, Bram Moolenaar wrote: > > Patch 7.4.2049 > > Problem:There is no way to get a list of the error lists. > > Solution: Add ":chistory" and ":lhistory". > > Files: src/ex_cmds.h, src/quickfix.c, src/ex_docmd.c, src/message.c, > > src/proto/

Re: Updates to the runtime files

2016-07-17 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > I am attaching a minor update to the runtime files. Thanks. I'll also include the list of patches. -- PRINCE:He's come to rescue me, father. LAUNCELOT: (embarrassed) Well, let's not jump to conclusions ... "Monty Python and the Holy Grail" PYTHON (MONTY)

Re: Got E121: Undefined variable in lambda function

2016-07-17 Fir de Conversatie itchyny
I additionally submit another test case. let Y = {f -> (({x -> f ({y -> x(x)(y)})}) ({x -> f ({y -> x(x)(y)})}))} let Fact = {f -> {x -> (x == 0 ? 1 : x * f(x - 1))}} echo Y(Fact)(5) I expect this script prints 120 but I got E110: Missing ')' in 7.4.2049 (and also with the experimental patch). I

Re: Got E121: Undefined variable in lambda function

2016-07-17 Fir de Conversatie Ken Takata
Hi, 2016/7/17 Sun 19:37:09 UTC+9 Ken Takata wrote: > Hi itchyny, > > 2016/7/17 Sun 10:08:02 UTC+9 itchyny wrote: > > On Sunday, July 17, 2016 at 2:56:44 AM UTC+9, Bram Moolenaar wrote: > > > Ken Hamada wrote: > > > > > > > Hi Bram and Ken Takata. > > > > > > > > I think there is some problem in

Re: Got E121: Undefined variable in lambda function

2016-07-17 Fir de Conversatie Ken Takata
Hi itchyny, 2016/7/17 Sun 10:08:02 UTC+9 itchyny wrote: > On Sunday, July 17, 2016 at 2:56:44 AM UTC+9, Bram Moolenaar wrote: > > Ken Hamada wrote: > > > > > Hi Bram and Ken Takata. > > > > > > I think there is some problem in variable substitution of lambda function. > > > > > > echo ({y -> ({

Re: Updates to the runtime files

2016-07-17 Fir de Conversatie Dominique Pellé
Yegappan Lakshmanan wrote: > Hi, > > I am attaching a minor update to the runtime files. > > - Yegappan Hi Yegappan There is a typo in your patch for function matchstrpos(): |matchstrpos()| match and postions of a pattern in a string postions -> positions Regards Dominique -- -- You receiv