Re: [vim/vim] :help netrw-browse-maps show wrong mapping for netrw-c (#6266)

2020-06-15 Fir de Conversatie Charles Campbell
DiegoRenner (Vim Github Repository) wrote: *Describe the bug* In the output of :help netrw-browse-maps the keybinding to change the diretory to the current one is declared to be c. In the output of :help netrw-c however it is said that the keybinding for this is now cd which seems to be

Patch 8.2.0986

2020-06-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.0986 (after 8.2.0985) Problem:MS-Windows: functions test fails. Solution: Only simplify ///path on Unix. Files: src/testdir/test_functions.vim *** ../vim-8.2.0985/src/testdir/test_functions.vim 2020-06-15 21:41:51.791814391 +0200 --- src/testdir/test_functions.vim

Re: [vim/vim] "simplify()" does not reduce multiple leading path separators (#6263)

2020-06-15 Fir de Conversatie Gary Johnson
On 2020-06-15, dylnmc wrote: > @brammool I have been following this issue, and I was hoping that there could > be an optional parameter to remove all forward slashes at the front except for > the first one. > > This is because I am using paths as keys to a dictionary, and without simplify > ()

Patch 8.2.0985

2020-06-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.0985 Problem:Simplify() does not remove slashes from "///path". Solution: Reduce > 2 slashes to one. (closes #6263) Files: src/findfile.c, src/testdir/test_functions.vim *** ../vim-8.2.0984/src/findfile.c 2020-06-12 22:59:07.266097201 +0200 --- src/findfile.c

Re: Enhancement idea: "vim --get-vimruntime"

2020-06-15 Fir de Conversatie Gary Johnson
On 2020-06-15, Peter Whittaker wrote: > On Fri, Jun 12, 2020 at 1:36 PM Bram Moolenaar wrote: > > Peter Whittaker wrote: > > > > > vimrntm=$(vim --not-a-term -T dumb --cmd 'echo $VIMRUNTIME' --cmd quit | \ > > > tr -d '\n\r' |sed -E 's,[^/]+,,') > > > > > > What I'd really like is "vimrntm=$(vim

Patch 8.2.0984

2020-06-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.0984 Problem:Not using previous window when closing a shell popup window. Solution: Use "prevwin" if it was set. (closes #6267) Files: src/popupwin.c, src/testdir/test_popupwin.vim *** ../vim-8.2.0983/src/popupwin.c 2020-05-30 20:30:42.896816552 +0200 ---

Re: [vim/vim] "simplify()" does not reduce multiple leading path separators (#6263)

2020-06-15 Fir de Conversatie Gary Johnson
On 2020-06-15, lacygoill wrote: > This is not a bug. The simplify() function should leave two leading > slashes alone. > > Although, if the specification says that more than 2 leading slashes should be > treated as a single slash, then maybe this could be considered as a bug: > > echo

Re: Enhancement idea: "vim --get-vimruntime"

2020-06-15 Fir de Conversatie Peter Whittaker
On Fri, Jun 12, 2020 at 1:36 PM Bram Moolenaar wrote: > Peter Whittaker wrote: > > > vimrntm=$(vim --not-a-term -T dumb --cmd 'echo $VIMRUNTIME' --cmd quit | \ > > tr -d '\n\r' |sed -E 's,[^/]+,,') > > > > What I'd really like is "vimrntm=$(vim --get-vimruntime)" > > I think you already found a

Patch 8.2.0983

2020-06-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.0983 Problem:SConstruct file type not recognized. Solution: Use python for SConstruct files. (Roland Hieber) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.0982/runtime/filetype.vim2020-06-14 20:04:28.432529296 +0200 ---

Patch 8.2.0982

2020-06-15 Fir de Conversatie Bram Moolenaar
Patch 8.2.0982 Problem:Insufficient testing for reading/writing files. Solution: Add more tests. (Yegappan Lakshmanan, closes #6257) Add "ui_delay" to test_override() and use it for the CTRL-O test. Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,

Re: [vim/vim] "simplify()" does not reduce multiple leading path separators (#6263)

2020-06-15 Fir de Conversatie Gary Johnson
On 2020-06-15, lacygoill wrote: > Describe the bug > > simplify() does not reduce multiple leading path separators. > > To Reproduce > > Run this shell command: > > vim -Nu NONE -es +"pu=simplify('//tmp')|%p" +'qa!' > > The output is //tmp. > > Expected behavior > > The output is /tmp. > >

Re: [vim/vim] How can we distinguish normal windows and aucmd_win? (#6264)

2020-06-15 Fir de Conversatie Yegappan Lakshmanan
Hi, On Mon, Jun 15, 2020 at 9:22 AM itchyny wrote: > *Is your feature request about something that is currently impossible or > hard to do? Please describe the problem.* > The :doautoall command uses the temporary window (aucmd_win) for a buffer > which does not belong to the visible windows.

Re: Patch 8.2.0970

2020-06-15 Fir de Conversatie Bram Moolenaar
Christ van Willegen wrote: > two typos fixed below... Thanks! -- WOMAN: Well, 'ow did you become king then? ARTHUR: The Lady of the Lake, [angels sing] her arm clad in the purest shimmering samite, held aloft Excalibur from the bosom of the water signifying by Divine

Re: Patch 8.2.0970

2020-06-15 Fir de Conversatie Christ van Willegen
Hi, two typos fixed below... Christ van Willegen On Sat, Jun 13, 2020 at 3:48 PM Bram Moolenaar wrote: > Patch 8.2.0970 > Problem:Terminal properties are not available in Vim script. > Solution: Add the terminalprops() function. > Files: src/term.c, src/proto/term.pro,