Re: Weird behavior when vimscript is blocked with 'if 0'.

2010-10-20 Fir de Conversatie mattn
Hmm, it's better to run eval0 without evaluate. diff -r 94694351f592 src/eval.c --- a/src/eval.cFri Oct 15 20:20:05 2010 +0200 +++ b/src/eval.cThu Oct 21 10:35:33 2010 +0900 @@ -3337,6 +3337,14 @@ intfailed = FALSE; funcdict_T fudi; +if (eap->skip) {

Re: Weird behavior when vimscript is blocked with 'if 0'.

2010-10-20 Fir de Conversatie mattn
Hmm, it's better to run eval0 without evaluate. diff -r 94694351f592 src/eval.c --- a/src/eval.cFri Oct 15 20:20:05 2010 +0200 +++ b/src/eval.cThu Oct 21 10:31:56 2010 +0900 @@ -3337,6 +3337,14 @@ intfailed = FALSE; funcdict_T fudi; +if (eap->skip) {

Re: Patch 7.3.032

2010-10-20 Fir de Conversatie ZyX
Reply to message «Re: Patch 7.3.032», sent 01:44:45 21 October 2010, Thursday by ZyX: Here is a patch that fixes maparg() documentation typos. # HG changeset patch # User ZyX # Date 1287612404 -14400 # Node ID 3cf9202cdc9f10db5b35711cc0674e7fd07e41d1 # Parent 6c05b5e5c1be4ee9b8f96334b7fba7afa83

Re: Patch 7.3.032

2010-10-20 Fir de Conversatie ZyX
Reply to message «Patch 7.3.032», sent 23:24:38 21 October 2010, Thursday by Bram Moolenaar: And there is a typo: > "noremap" 1 if the {rhs} of the mapping is remappable. should be > "noremap" 1 if the {rhs} of the mapping is not remappable. signature.asc Description: This is a digitally sign

Re: Patch 7.3.032

2010-10-20 Fir de Conversatie ZyX
Reply to message «Patch 7.3.032», sent 23:24:38 21 October 2010, Thursday by Bram Moolenaar: I see this patch does not actually allow to save `

Re: Strange behavior on folds

2010-10-20 Fir de Conversatie Kana Natsuno
On Sep 11 2008, 11:36 am, "Kana Natsuno" wrote: > But that's not the problem I asked.  The problem is why Vim also checks > how {pattern} for '/' or '?' was inputted to determine whether folds > should be opened or not. After observation on 'foldopen' in 2 years, many users stumbled and reported

Re: [PATCH] Better placement of previewheight patch

2010-10-20 Fir de Conversatie Benjamin R. Haskell
On Wed, 20 Oct 2010, Bram Moolenaar wrote: Benjamin Haskell wrote: On Wed, 29 Sep 2010, Benjamin R. Haskell wrote: [updated patch] Didn't see any response to this. [this = updated patch] [updated patch again for style] Is this the same as this todo entry: Patch to use 'previewheight'

Re: [PATCH] Better placement of previewheight patch

2010-10-20 Fir de Conversatie Bram Moolenaar
Benjamin Haskell wrote: > On Wed, 29 Sep 2010, Benjamin R. Haskell wrote: > > > This placement probably makes more sense (supersedes the prior patch), > > but the ternaries are getting really ugly. > > > > Not sure what I was referring to in the first post (p_pvh didn't seem > > to be used in

Re: copen inside completefunc cause E315

2010-10-20 Fir de Conversatie Xavier Deguillard
On Wed, Oct 20, 2010 at 09:04:22PM +0200, Lech Lorens wrote: > On 20-Oct-2010 Lech Lorens wrote: > > OK, I can reproduce the crash. Do the following (vim-crash.vim > > attached): > > > > $ vim -u NONE -S vim-crash.vim > > Here's a patch fixing the problem and adding a proper test. > Thanks a l

Patch 7.3.032

2010-10-20 Fir de Conversatie Bram Moolenaar
Patch 7.3.032 Problem:maparg() doesn't return the flags, such as ,

Re: Patch 7.3.031

2010-10-20 Fir de Conversatie Kana Natsuno
On Thu, 21 Oct 2010 02:18:08 +0900, Bram Moolenaar wrote: > Patch 7.3.031 > Problem:Can't pass the X window ID to another application. > Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens) > Files:runtime/doc/eval.txt, src/eval.c, src/gui.c, src/vim.h, > src/

Re: copen inside completefunc cause E315

2010-10-20 Fir de Conversatie Lech Lorens
On 20-Oct-2010 Lech Lorens wrote: > OK, I can reproduce the crash. Do the following (vim-crash.vim > attached): > > $ vim -u NONE -S vim-crash.vim Here's a patch fixing the problem and adding a proper test. -- Cheers, Lech -- You received this message from the "vim_dev" maillist. Do not top-

Re: [PATCH] Better placement of previewheight patch

2010-10-20 Fir de Conversatie Benjamin R. Haskell
On Wed, 29 Sep 2010, Benjamin R. Haskell wrote: This placement probably makes more sense (supersedes the prior patch), but the ternaries are getting really ugly. Not sure what I was referring to in the first post (p_pvh didn't seem to be used in prepare_tagpreview). There's somewhere though

Patch 7.3.031

2010-10-20 Fir de Conversatie Bram Moolenaar
Patch 7.3.031 Problem:Can't pass the X window ID to another application. Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens) Files: runtime/doc/eval.txt, src/eval.c, src/gui.c, src/vim.h, src/os_unix.c *** ../vim-7.3.030/runtime/doc/eval.txt 2010-08-15 21:57:15.

Re: 7.3 unable to load ruby 1.9.2?

2010-10-20 Fir de Conversatie Bram Moolenaar
Jon Maken wrote: > I've tested the following patch for download [1] works so far with the > Ruby for Windows 1.8.7p302, 1.9.1p430, and 1.9.2p0 from > http://rubyinstaller.org > on a Win7 Ultimate 32-bit system using MSys/MinGW/TDM 4.5.0 or LLVM- > GCC 2.7. I haven't tested on my Ubuntu system a

Patch 7.3.030

2010-10-20 Fir de Conversatie Bram Moolenaar
Patch 7.3.030 Problem:Cannot store Dict and List in viminfo file. Solution: Add support for this. (Christian Brabandt) Files: runtime/doc/options.txt, src/eval.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, src/testdir/Make_os

Re: Weird behavior when vimscript is blocked with 'if 0'.

2010-10-20 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > My friends found weird behavior of vimscript. > Try following code. > - > let dict = {} > function! dict.func() > echo "fo" > return self > endfunction > > echo "=== test1" > if 1 | echo dict.func

Re: Weird behavior when vimscript is blocked with 'if 0'.

2010-10-20 Fir de Conversatie mattn
Ah, I found a bug of my patch. if 0 | call dict.func().func("|") | endif On Oct 20, 9:32 pm, mattn wrote: > Hi all. > > My friends found weird behavior of vimscript. > Try following code. > - > let dict = {} > function! dict.func() >   echo

Weird behavior when vimscript is blocked with 'if 0'.

2010-10-20 Fir de Conversatie mattn
Hi all. My friends found weird behavior of vimscript. Try following code. - let dict = {} function! dict.func() echo "fo" return self endfunction echo "=== test1" if 1 | echo dict.func().func() | endif echo "=== test

Re: [patch] fixed typos in help files

2010-10-20 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Attached patch fixes 2 typos in help files. Thanks! -- I'd like to meet the man who invented sex and see what he's working on now. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/spo

Re: copen inside completefunc cause E315

2010-10-20 Fir de Conversatie Bram Moolenaar
Xavier Deguillard wrote: > Here is a simple script which will cause the E315 error: > > function DummyComplete(findstart, base) > if a:findstart > return 1 > else > call setqflist([]) > copen > return [] > endif > endfunction > > setlocal completefunc

Updated list of features to vote on

2010-10-20 Fir de Conversatie Bram Moolenaar
Now that Vim 7.3 has been released, these features no longer need your votes, as they have been included: - "add the conceal patch from Vince Negri" - "add a strong encryption method" - "Add the relative numbers patch by Markus Heidelberg" - "add persistent undo: undo is still possible after exit

[patch] fixed typos in help files

2010-10-20 Fir de Conversatie Dominique Pellé
Attached patch fixes 2 typos in help files. Regards -- Dominique -- 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 http://www.vim.org/maillist.php diff -r 94694351f592 runtime/doc/if_pyth.txt