Re: Vim9 autoload case regression

2022-01-15 Fir de Conversatie Christian J. Robinson
I've changed my get_autoload_prefix() to always use vim_strsave() and I haven't noticed any issues yet. On Fri, Jan 14, 2022 at 6:33 AM Christian Robinson wrote: > > > > On Jan 14, 2022, at 6:20 AM, Bram Moolenaar wrote: > > > >  > > Christian J. Robinson wrote: > > > >> With the "import

Patch 8.2.4103

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4103 Problem:Vim9: variable declared in for loop not initialzed. Solution: Always initialze the variable. (closes #9535) Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c, src/testdir/test_vim9_assign.vim *** ../vim-8.2.4102/src/vim9instr.c

Patch 8.2.4102

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4102 Problem:Vim9: import cannot be used after method. Solution: Recognize an imported function name. (closes #9496) Files: src/eval.c, src/testdir/test_vim9_import.vim *** ../vim-8.2.4101/src/eval.c 2022-01-12 15:15:22.871212756 + --- src/eval.c 2022-01-15

Patch 8.2.4101

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4101 Problem:Warning for unused argument in tiny version. Solution: Add "UNUSED". Files: src/getchar.c *** ../vim-8.2.4100/src/getchar.c 2022-01-15 18:25:04.657419390 + --- src/getchar.c 2022-01-15 18:46:07.390962759 + *** *** 3811,3817

Patch 8.2.4100

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4100 Problem:Early return when getting the 'formatlistpat' value. Solution: Remove the first line. (Christian Brabandt) Files: src/option.c, src/testdir/test_breakindent.vim *** ../vim-8.2.4099/src/option.c2022-01-15 10:00:59.576603900 + --- src/option.c

Patch 8.2.4099

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4099 Problem:Vim9: cannot use Vim9 syntax in mapping. Solution: Add to use the script context for a command. Files: runtime/doc/map.txt, src/normal.c, src/getchar.c, src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c, src/keymap.h,

Re: Patch 8.2.4093

2022-01-15 Fir de Conversatie Christian Brabandt
On Sa, 15 Jan 2022, Dominique Pellé wrote: > option.c:7062:9: warning: code will never be executed [-Wunreachable-code] > if (buf->b_p_flp == NULL || *buf->b_p_flp == NUL) > ^~~ Ooops that was a first version and should have been removed. Here is another patch on top of that:

Patch 8.2.4098

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4098 Problem:Typing "interrupt" at debug prompt may keep exception around, causing function calls to fail. Solution: Discard any exception at the toplevel. (closes #9532) Files: src/main.c *** ../vim-8.2.4097/src/main.c 2022-01-13 16:06:42.510068321 + ---

Patch 8.2.4097

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4097 Problem:Wrong number in error message on 32 bit system. (John Paul Adrian Glaubitz) Solution: Add type cast. (closes #9527) Files: src/vim9compile.c *** ../vim-8.2.4096/src/vim9compile.c 2022-01-13 21:15:17.237958552 + --- src/vim9compile.c

Patch 8.2.4096

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4096 Problem:Linux CI: unnecessarily installing packages Solution: Only install packages for huge build. (Ozaki Kiichi, closes #9530) Files: .github/workflows/ci.yml *** ../vim-8.2.4095/.github/workflows/ci.yml2022-01-14 21:28:55.580849073 + ---

Re: Vim9 script feature-complete

2022-01-15 Fir de Conversatie Niklas Lindström
On Sat, Jan 15, 2022 at 1:25 PM Doug Kearns wrote: > > On Thu, 13 Jan 2022 at 04:55, Manuel Ortega wrote: > > > Ah, it seems I misremembered the details. But my point remains pretty much > > the same. I'd said it was unexpected for the comment char of vim9script to > > be '#'; it's at least

Patch 8.2.4095

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4095 Problem:Sed script not recognized by the first line. Solution: Recognize a sed script starting with "#n". (Doug Kearns) Files: runtime/scripts.vim, src/testdir/test_filetype.vim *** ../vim-8.2.4094/runtime/scripts.vim 2022-01-05 20:56:34.633480269 + ---

Re: Vim9 script feature-complete

2022-01-15 Fir de Conversatie Doug Kearns
On Thu, 13 Jan 2022 at 04:55, Manuel Ortega wrote: > Ah, it seems I misremembered the details. But my point remains pretty much > the same. I'd said it was unexpected for the comment char of vim9script to > be '#'; it's at least as unexpected for it to be '#', and even > more unexpected for

Re: Patch 8.2.4093

2022-01-15 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Bram Moolenaar wrote: > > > Patch 8.2.4093 > > Problem:Cached breakindent values not initialized properly. > > Solution: Initialize and cache formatlistpat. (Christian Brabandt, > > closes #9526, closes #9512) > > Files: runtime/doc/options.txt,

Patch 8.2.4094

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4094 Problem:'virtualedit' is window-local but using buffer-local enum. Solution: Use window-local enum. (closes #9529) Files: src/option.h, src/optiondefs.h *** ../vim-8.2.4093/src/option.h2022-01-08 12:41:12.208795550 + --- src/option.h2022-01-15

Re: Patch 8.2.4093

2022-01-15 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Patch 8.2.4093 > Problem:Cached breakindent values not initialized properly. > Solution: Initialize and cache formatlistpat. (Christian Brabandt, > closes #9526, closes #9512) > Files: runtime/doc/options.txt, src/indent.c, src/option.c, >

Patch 8.2.4093

2022-01-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.4093 Problem:Cached breakindent values not initialized properly. Solution: Initialize and cache formatlistpat. (Christian Brabandt, closes #9526, closes #9512) Files: runtime/doc/options.txt, src/indent.c, src/option.c, src/proto/option.pro,