Re: Is :! buggy?

2021-05-30 Fir de Conversatie Christian Brabandt
On So, 30 Mai 2021, Felipe Contreras wrote: > Hello, > > If I run this: > > :call system('exo-open http://google.com') > > It works fine. > > But this doesn't: > > :!exo-open http://google.com > > I tried to reproduce what exo-open ultimately does, an the issue ends up > with a simple

Is :! buggy?

2021-05-30 Fir de Conversatie Felipe Contreras
Hello, If I run this: :call system('exo-open http://google.com') It works fine. But this doesn't: :!exo-open http://google.com I tried to reproduce what exo-open ultimately does, an the issue ends up with a simple g_spawn_async(). #include int main(void) { gchar *argv[] = {

"The Vim Mercurial repository" page needs to be updated

2021-05-30 Fir de Conversatie Ken Takata
Hi Bram, https://www.vim.org/mercurial.php needs to be updated because BitBucket stopped supporting mercurial. There are there places needs to be updated. Here: > You can obtain Vim for the first time with either one of these commands: > hg clone https://bitbucket.org/vim-mirror/vim > hg clone

Re: Insert non-rectangular selection

2021-05-30 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: > Maxim Kim wrote: > > > > > > like a `zp` command, that does not add any trailing spaces. > > > > > > Btw if you paste at the end of the `;text` no trailing spaces would be > > added. > > > Well, that messes with my own zp and zP maps, but no problem. I've also >

Patch 8.2.2914

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2914 Problem:Cannot paste a block without adding padding. Solution: Add "zp" and "zP" which paste without adding padding. (Christian Brabandt, closes #8289) Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c, src/register.c, src/vim.h,

Re: [PATCH] netrw: make gx work again

2021-05-30 Fir de Conversatie Felipe Contreras
On Sun, May 30, 2021 at 3:11 PM Felipe Contreras wrote: > > vim v8.1.1714 introduced a huge regression that basically made gx > unusable (see issue #4738) thanks to 85850f3a5 (Update runtime files, > 2019-07-19). Please don't reply to the original mail, reply to this one. I never get right

[PATCH] netrw: make gx work again

2021-05-30 Fir de Conversatie Felipe Contreras
vim v8.1.1714 introduced a huge regression that basically made gx unusable (see issue #4738) thanks to 85850f3a5 (Update runtime files, 2019-07-19). The gx mapping used to call CheckIfRemote() which always returned 0, When vim was updated to version 165 it was changed to

Re: [vim/vim] Add some more tests for ops.c (#8290)

2021-05-30 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sun, May 30, 2021 at 12:45 PM Bram Moolenaar wrote: > Looks like this triggers an ASAN error. Can you fix that? > > > I am taking a look at the ASAN error. The netbeans_inserted() call in op_addsub() is referring to a character which is already removed. I will see how to address

Re: Insert non-rectangular selection

2021-05-30 Fir de Conversatie Charles Campbell
Maxim Kim wrote: like a `zp` command, that does not add any trailing spaces. Btw if you paste at the end of the `;text` no trailing spaces would be added. Well, that messes with my own zp and zP maps, but no problem. I've also overridden p and P with them, so I can just eliminate zp

Re: Example in ":help v_b_I_example" is not correct

2021-05-30 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sun, May 30, 2021 at 12:09 PM Bram Moolenaar wrote: > > > Yegappan wrote: > > > The example shown in ":help v_b_I_example" doesn't work properly. > > After executing the commands, in the third line, the following text is > > present: > > > > abcdef ghi STRING jklmnopqrstuvwxyz >

Re: Example in ":help v_b_I_example" is not correct

2021-05-30 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > The example shown in ":help v_b_I_example" doesn't work properly. > After executing the commands, in the third line, the following text is > present: > > abcdef ghi STRING jklmnopqrstuvwxyz > > instead of the following: > > abcdef ghi STRINGjklmnopqrstuvwxyz > >

Re: Insert non-rectangular selection

2021-05-30 Fir de Conversatie Christian Brabandt
On Do, 27 Mai 2021, Bram Moolenaar wrote: > > Christian wrote: > > > On Di, 25 Mai 2021, Andre Tann wrote: > > > > > Hi all, > > > > > > I repeatedly have the following situation, and wonder how it can be > > > handled > > > better than I do it now. These lines must be merged > > > > > >

Patch 8.2.2913

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2913 Problem:MS-Windows conpty supports using mouse events. Solution: When enabling the mouse enable mouse input and disable quick edit mode. (Wez Furlong, closes #8280) Files: src/os_win32.c *** ../vim-8.2.2912/src/os_win32.c 2021-05-20 11:54:07.225060262

Example in ":help v_b_I_example" is not correct

2021-05-30 Fir de Conversatie Yegappan Lakshmanan
Hi, The example shown in ":help v_b_I_example" doesn't work properly. After executing the commands, in the third line, the following text is present: abcdef ghi STRING jklmnopqrstuvwxyz instead of the following: abcdef ghi STRINGjklmnopqrstuvwxyz Note the additional two spaces before

Re: [vim/vim] Appending text in visual block mode doesn't work properly when cursor is moved (#8288)

2021-05-30 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, May 30, 2021 at 9:50 AM Yegappan Lakshmanan < vim-dev-git...@256bit.org> wrote: > *Describe the bug* > When appending text in visual block mode, if the cursor is moved before the > start of the visual block, then incorrect text is inserted. > > *To Reproduce* > Detailed steps to

Re: Patch 8.2.2912

2021-05-30 Fir de Conversatie Maxim Kim
THANK YOU! THANKS Ken Takata! воскресенье, 30 мая 2021 г. в 19:09:36 UTC+3, Bram Moolenaar: > > I wrote: > > > Patch 8.2.2912 > > Problem: MS-Windows: most users expect using Unicode. > > Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, > > closes #3907) > > Files:

Re: Patch 8.2.2912

2021-05-30 Fir de Conversatie Bram Moolenaar
I wrote: > Patch 8.2.2912 > Problem:MS-Windows: most users expect using Unicode. > Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, > closes #3907) > Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h, >

Patch 8.2.2912

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2912 Problem:MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes #3907) Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h, src/testdir/test_writefile.vim ***

Re: [vim/vim] using tmux breaks vim's colors and termguicolors (#3608)

2021-05-30 Fir de Conversatie Bram Moolenaar
> > OK, so which one of the two should we recommend? > > And tmux faq: > > * https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-a-256-colour-terminal > * https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour Thanks, I'll include those links. -- TIM: To the north there lies a cave,

Patch 8.2.2911

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2911 Problem:Pattern "\%V" does not match all of block selection. (Rick Howe) Solution: Use the value of vi_curswant. (closes #8285) Files: src/regexp.c, src/testdir/test_search.vim, src/testdir/dumps/Test_hlsearch_block_visual_match.dump ***

Patch 8.2.2910

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2910 Problem:Test for cmdline window and terminal fails on MS-Windows. Solution: Skip the test on MS-Windows. Files: src/testdir/test_cmdline.vim *** ../vim-8.2.2909/src/testdir/test_cmdline.vim2021-05-30 13:53:43.220969186 +0200 --- src/testdir/test_cmdline.vim

Patch 8.2.2909

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2909 Problem:Build error with non-Unix system. Solution: Always include limits.h. Files: src/vim.h *** ../vim-8.2.2908/src/vim.h 2021-05-07 17:55:51.971584412 +0200 --- src/vim.h 2021-05-30 13:59:02.444047677 +0200 *** *** 46,54 # endif # endif

Patch 8.2.2908

2021-05-30 Fir de Conversatie Bram Moolenaar
Patch 8.2.2908 Problem:Crash when using a terminal popup window from the cmdline window. Solution: Instead of checking cmdwin_type call cmdwin_is_active(). (closes #8286) Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,