Incorrect handling of netrw window on session restore

2018-07-13 Fir de Conversatie dmitriy . paklin
Started learning vim just about month ago and now trying to have netrw file-browser window loaded with the rest of the session but not getting it back when the session is sourced. What I get is some real strange behavior depending on what window/tab is active when running :mksession command.

Re: matchaddpos() eventually becomes slow

2018-07-13 Fir de Conversatie Rick Howe
> One thing that won't work (even though it was not a good idea anyway): > If code would use manual IDs of 1000 and higher, assuming that matches > without a match ID would never reach 1000. > This breaks, because your proposal sets the next_match_id to one more > than the manual ID, thus they

Re: How to determine the x and y position of the Vim text window on screen

2018-07-13 Fir de Conversatie Tony Mechelynck
On Sat, Jul 14, 2018 at 1:30 AM, tooth pik wrote: > are you looking for :winpos? No, according to earllier posts in this thread he doesn't want to know the pixel position of the Vim screen relative to the desktop, but the position in character cells of the current window (containing one view on

Re: How to determine the x and y position of the Vim text window on screen

2018-07-13 Fir de Conversatie tooth pik
are you looking for :winpos? On Fri, Jul 13, 2018 at 5:30 PM, Shidong Wang wrote: > I want to get the position of a window, but my vim has no +py/+py3 support. > > 发自我的华为手机 > > 原始邮件 > 主题:Re: How to determine the x and y position of the Vim text window on > screen >

Re: How to determine the x and y position of the Vim text window on screen

2018-07-13 Fir de Conversatie Shidong Wang
I want to get the position of a window, but my vim has no +py/+py3 support. 发自我的华为手机 原始邮件 主题:Re: How to determine the x and y position of the Vim text window on screen 发件人:Christian Brabandt 收件人:vim_dev 抄送: On Sa, 07 Jul 2018, Shidong Wang wrote: > Hello, any update on this

Re: How to determine the x and y position of the Vim text window on screen

2018-07-13 Fir de Conversatie Christian Brabandt
On Sa, 07 Jul 2018, Shidong Wang wrote: > Hello, any update on this topic? I want to use vim script to get the windows > position instead of using `pyeval('vim.current.window.col') `. What exactly is your problem? Best, Christian -- Es ist falsch, mit dem Zahnstocher an Probleme

Re: Netrw doesn't work on Windows correctly. Please permit us to modify code on github.com

2018-07-13 Fir de Conversatie Christian Brabandt
On Di, 03 Jul 2018, norbert.keli...@opeast.org wrote: > I am another Windows user having a problem with the copy function in netrw. > > I was getting the "not executable error," so I downloaded and installed v163b > from your website. Now the error is different: > > **error** (netrw) copy

Patch 8.1.0180

2018-07-13 Fir de Conversatie Bram Moolenaar
Patch 8.1.0180 Problem:Static analysis errors in Lua interface. (Coverity) Solution: Check for NULL pointers. Files: src/if_lua.c *** ../vim-8.1.0179/src/if_lua.cSat Jul 7 23:07:35 2018 --- src/if_lua.cFri Jul 13 22:05:37 2018 *** *** 958,964

Corrections for the russian transliteration of the Bram Moolenaar's name

2018-07-13 Fir de Conversatie Denis Krivosheev
According to the rules of the Dutch-Russian transliteration, Bram Moolenaar's name should be translated not as Брам Мооленаар, but as Брам Моленар. Patches attached. Denis Krivosheev. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the

Re: matchaddpos() eventually becomes slow

2018-07-13 Fir de Conversatie Bram Moolenaar
Rick Howe wrote: > One of my plugins uses matchaddpos() to highlight some part of lines/columns > in a file. If the file is big and it is used a lot of times, > the plugin eventually becomes very slow. > > For example, in gvim 8.1 on my Windows 7, the following sample shows around > 0.9sec,

Patch 8.1.0179

2018-07-13 Fir de Conversatie Bram Moolenaar
Patch 8.1.0179 Problem:Redundant condition for boundary check. Solution: Remove the condition. (Dominique Pelle). Change FALSE to FAIL. Files: src/undo.c *** ../vim-8.1.0178/src/undo.c 2018-07-08 16:50:33.111216814 +0200 --- src/undo.c 2018-07-13 16:27:37.721354663 +0200