Re: [PATCH]Add an option for matchparen to disable it in insert mode

2013-05-01 Fir de Conversatie Fanhe Fanhed
I just reproduce. eg: edit tag.c of vim sorce code file, and go to 2000 line number, input the follow func(() , snekjglenlnsekgnel|) '|' means the cursor. Then go to type. And type again after run :NoMatchParen. In fact, the reason is this sentence in matchparen.vim let [m_lnum,

capture() function to get output of command

2013-05-01 Fir de Conversatie mattn
Hi, list. I wrote a patch to add new function 'capture()'. When you want to get a list of all commands/functions/mappings with using vim script, probably, you'll do like follow. - let funcs = '' redir = funcs silent! function redir END

Re: capture() function to get output of command

2013-05-01 Fir de Conversatie Andy Wokula
Am 01.05.2013 13:21, schrieb mattn: Hi, list. I wrote a patch to add new function 'capture()'. When you want to get a list of all commands/functions/mappings with using vim script, probably, you'll do like follow. - let funcs = '' redir = funcs silent! function

Re: capture() function to get output of command

2013-05-01 Fir de Conversatie mattn
Yes, I know. Probably a nice addition, but one can already do all of this in vimscript, see attachment. In your example, replace capture() with StrRedir(). No, it can't. It depend on your vim script. We want to get the result without side effect. -

1.0[0] occur E695: Cannot index a Funcref.

2013-05-01 Fir de Conversatie mattn
Separate checking of expression for VAR_FUNC and VAR_FLOAT. https://gist.github.com/5495114 - Yasuhiro Matsumoto -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: capture() function to get output of command

2013-05-01 Fir de Conversatie Andy Wokula
Am 01.05.2013 14:11, schrieb mattn: Yes, I know. Probably a nice addition, but one can already do all of this in vimscript, see attachment. In your example, replace capture() with StrRedir(). No, it can't. It depend on your vim script. We want to get the result without side effect.

[PATCH] (21/27?) Python interface improvements: add tests for vim.bufferlist

2013-05-01 Fir de Conversatie ZyX
“27?” means that I am not sure whether there will not be some fixes to the existing patches. # HG changeset patch # User ZyX kp-...@ya.ru # Date 1367169637 -14400 # Branch python-extended-2 # Node ID 0dca91db547a8b20984492d342b51f08146bd503 # Parent e29132a9a246e303b8ce749564f7328bc2329ac0 Add

[PATCH] (21/27?) Python interface improvements: add vim.tabpages and vim.current.tabpage

2013-05-01 Fir de Conversatie ZyX
“27?” means that I am not sure whether I won’t have to post some fixes. # HG changeset patch # User ZyX kp-...@ya.ru # Date 1367416513 -14400 # Branch python-extended-2 # Node ID 204a9f2a4e8361a4a06b364acd971314ce23 # Parent 0dca91db547a8b20984492d342b51f08146bd503 Add vim.tabpages and

[PATCH] (22/27?) Python interface improvements: make KeyErrors use PyErr_SetObject

2013-05-01 Fir de Conversatie ZyX
Reason: stack trace printer assumes such errors contain keys in messages thus translated “no such buffer” (or like) gets displayed as `'\xNN\xNN…'`. This patch makes stack trace printer assumption true. # HG changeset patch # User ZyX kp-...@ya.ru # Date 1367208763 -14400 # Branch

[PATCH] (23/27?) Python interface improvements: transform and clean python exceptions

2013-05-01 Fir de Conversatie ZyX
# HG changeset patch # User ZyX kp-...@ya.ru # Date 1367209675 -14400 # Branch python-extended-2 # Node ID 14b6c739b0be3839693bf9bfcf9103f4f135a65d # Parent 3075a07310c74b64b5d55cd5f205ca6e1d690ed5 Transform and clean python exceptions: - some IndexErrors are normally TypeErrors (things like

[PATCH] (24/27?) Python interface improvements: add ability to assign to more vim.current attributes

2013-05-01 Fir de Conversatie ZyX
# HG changeset patch # User ZyX kp-...@ya.ru # Date 1367415057 -14400 # Branch python-extended-2 # Node ID 1af3f5a86428608eddca083bb94c574910828bd6 # Parent 14b6c739b0be3839693bf9bfcf9103f4f135a65d Add ability to assign to vim.current.{tabpage,buffer,window} diff -r 14b6c739b0be -r 1af3f5a86428

[PATCH] (25/27?) Python interface improvements: make vim.error Exception subclass

2013-05-01 Fir de Conversatie ZyX
String exceptions are long since deprecated. # HG changeset patch # User ZyX kp-...@ya.ru # Date 1367413912 -14400 # Branch python-extended-2 # Node ID 3b5aba648b4a0b20a0787dce993953cb14e7d55c # Parent 1af3f5a86428608eddca083bb94c574910828bd6 Make vim.error Exception subclass Requires at least

[PATCH] (26/27?) Python interface improvements: check whether PyObject_IsTrue failed

2013-05-01 Fir de Conversatie ZyX
# HG changeset patch # User ZyX kp-...@ya.ru # Date 1367416122 -14400 # Branch python-extended-2 # Node ID 9a4df126f7c42e0b81df62eba1249300a906f450 # Parent 3b5aba648b4a0b20a0787dce993953cb14e7d55c Check PyObject_IsTrue for failure diff -r 3b5aba648b4a -r 9a4df126f7c4 src/if_py_both.h ---

[PATCH] (27/27?) Python interface improvements: add tests for various python interfaces

2013-05-01 Fir de Conversatie ZyX
# HG changeset patch # User ZyX kp-...@ya.ru # Date 1367420260 -14400 # Branch python-extended-2 # Node ID 9f25c7e5b0bdee4ecace3c2a337af3e60394e03e # Parent 9a4df126f7c42e0b81df62eba1249300a906f450 Add tests for vim.{current,window*,tabpage*} diff -r 9a4df126f7c4 -r 9f25c7e5b0bd

Re: [PATCH]Add an option for matchparen to disable it in insert mode

2013-05-01 Fir de Conversatie Gary Johnson
On 2013-05-01, Fanhe Fanhed wrote: I just reproduce. eg: edit tag.c of vim sorce code file, and go to 2000 line number, input the follow func(() , snekjglenlnsekgnel|) '|' means the cursor. Then go to type. Highlights the leftmost parenthesis and the cursor smoothly. And

Re: vim in terminal not redrawing background

2013-05-01 Fir de Conversatie Hayaki Saito
Hi, It seems for me this problem is not a bug of VIM. I guess it is the well-known issue around terminfo bce(background color erase) capability. This issue occurs If you declare $TERM as a bce terminal such as xterm although you use a non-bce terminal such as GNU Screen / tmux. Hayaki Saito

Re: Access will be denied if you use POST requests more than 15 times within 4 hours from now on

2013-05-01 Fir de Conversatie Bram Moolenaar
Marc Weber wrote: I've introduced a total limit of 500 POST requests within 4h which is slightly more than POST requests happen within 24h on an average day (380 posts in 24h) Thus if a bot uses multiple IPs, he should still fail soon (unfortunately everybody else, too) - I think its more

Re: [PATCH]Add an option for matchparen to disable it in insert mode

2013-05-01 Fir de Conversatie Bram Moolenaar
Fanhe Fanhed wrote: matchparen plugin in CursorMoveI autocmd is too slow while typing. So I wish disable it in insert mode. I suppose this is because the syntax highlighting for the language is slow. Disabling it for all file types is a bit of a blunt instrument then. How about allowing the

Re: 1.0[0] occur E695: Cannot index a Funcref.

2013-05-01 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: Separate checking of expression for VAR_FUNC and VAR_FLOAT. https://gist.github.com/5495114 Thanks, I have added it to the todo list. -- Place mark here -[ ]- if you want a dirty monitor. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net

Re: vim in terminal not redrawing background

2013-05-01 Fir de Conversatie Christian Brabandt
Hi Ondrej! On Di, 30 Apr 2013, Ondrej Platek wrote: Hello, I would like to report buggy behavior of Vim. When using Vim in terminal it happens that the area not filled with text is not redrawn and it remains black. I am using light color theme. See the enclosed picture. I am using Vim

Re: macosx x11/motif gvim-7.3.706+ E250 dialog on startup

2013-05-01 Fir de Conversatie Bram Moolenaar
Max Kirillov wrote: Hi. I also experienced this problem for some time. I dicovered there was some editing mistakes in recent which caused showing this message even if fontset is not used. Patch which corrects the mistake is after the signature. It soppressed the message for me. The

Re: [PATCH] (27/27?) Python interface improvements: add tests for various python interfaces

2013-05-01 Fir de Conversatie Bram Moolenaar
ZyX wrote: Add tests for vim.{current,window*,tabpage*} Added up to patch 27 in the todo list, thanks! Everybody: please comment on Python API changes. -- hundred-and-one symptoms of being an internet addict: 263. You have more e-mail addresses than shorts. /// Bram Moolenaar --