Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Danek Duvall
On Fri, Jun 29, 2012 at 12:55:10PM +0200, Bram Moolenaar wrote: > Patch 7.3.569 > Problem:Evaluating Vim expression in Python is insufficient. > Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX) > Files:runtime/doc/eval.txt, runtime/doc/if_pyth.txt, src/eval.c

Re: Patch 7.3.582

2012-06-29 Fir de Conversatie Christian J. Robinson
On Fri, 29 Jun 2012, Cesar Romani wrote: I'm building vim on windows 7 with MinGW. By upgrading from 7.3.566 to 7.3.582 I get the following compile error: I can confirm this; although I'm using Make_cyg.mak, I get some of the same error(s): os_win32.c:157: warning: initialization from incom

Re: Patch 7.3.582

2012-06-29 Fir de Conversatie Cesar Romani
I'm building vim on windows 7 with MinGW. By upgrading from 7.3.566 to 7.3.582 I get the following compile error: --- ... os_win32.c: In function 'mch_avail_mem': os_win32.c:5012:2: error: unknown type name 'MEMORYSTATUSEX' os_win32.c:5014:4: error: request for member 'dwLength' i

Patch 7.3.582

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.582 (after 7.3.576) Problem:Missing parts of the test OK file. Solution: Add the missing parts. Files: src/testdir/test68.ok *** ../vim-7.3.581/src/testdir/test68.ok2012-06-13 17:28:51.0 +0200 --- src/testdir/test68.ok 2012-06-29 15:00:13.0 +02

Re: Patch 7.3.576

2012-06-29 Fir de Conversatie Bram Moolenaar
Tor Perkins wrote: > On Fri, Jun 29, 2012 at 03:05:02PM +0200, Bram Moolenaar wrote: > > > > Patch 7.3.576 > > Problem:Formatting of lists inside comments is not right yet. > > Solution: Use another solution and add a test. (Tor Perkins) > > Files: src/edit.c, src/misc1.c, src/tes

Vim crashes when using fugitive

2012-06-29 Fir de Conversatie Lech Lorens
The attached bash script crash.sh causes Vim to crash. I found where a NULL pointer is being dereferenced and fixed it (find the backtrace at the moment of the crash below at [1]). However (here's the question to Tim Pope), if I apply the patch (the attached fix.patch) that avoids the crash, I am l

Re: Patch 7.3.550

2012-06-29 Fir de Conversatie Lech Lorens
On 13 June 2012 14:05, Bram Moolenaar wrote: > > I wrote: > >> Patch 7.3.550 (after 7.3.541) >> Problem:    With "j" in 'formatoptions' a list leader is not removed. (Gary >>           Johnson) >> Solution:   Don't ignore the start of a three part comment. (Lech Lorens) >> Files:            src/op

Re: Patch 7.3.579

2012-06-29 Fir de Conversatie Ingo Karkat
On 29-Jun-2012 17:58:34 +0200, Bram Moolenaar wrote: > Ingo Karkat wrote: > >> On 29-Jun-2012 16:28:48 +0200, Bram Moolenaar wrote: >> >>> Patch 7.3.579 (after 7.3.569) >>> Problem:Can't compile with Python 2.5. >>> Solution: Use PyCObject when Capsules are not available. >>> Files:

feature request (or request for howto if already possible)

2012-06-29 Fir de Conversatie Dave
I love vim's syntax highlighting ... I wish I could say "vim --cat file.c" and have it just be a "cat file.c" (to stdout) only with all appropriate highlighting. piping to "less -R" should work too. :) -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply be

Re: Patch 7.3.576

2012-06-29 Fir de Conversatie Tor Perkins
On Fri, Jun 29, 2012 at 03:05:02PM +0200, Bram Moolenaar wrote: > > Patch 7.3.576 > Problem:Formatting of lists inside comments is not right yet. > Solution: Use another solution and add a test. (Tor Perkins) > Files:src/edit.c, src/misc1.c, src/testdir/test68.in, > src

Patch 7.3.581

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.581 Problem:Problems compiling with Python. Solution: Pick UCS2 or UCS4 function at runtime. (lilydjwg) Files: src/if_python.c *** ../vim-7.3.580/src/if_python.c 2012-06-29 16:28:23.0 +0200 --- src/if_python.c 2012-06-29 19:10:53.0 +0200

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Raymond Ko
On Friday, June 29, 2012 12:13:34 PM UTC-4, 依云 wrote: > On Fri, Jun 29, 2012 at 08:01:29AM -0700, Raymond Ko wrote: > > Hello all, > > > > I am trying to build the newest version of VIM on Windows with MinGW 4.7.1 > > and Python 2.7.3 and Python 3.23 bindings. Everything was compiling fined > >

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie lilydjwg
On Fri, Jun 29, 2012 at 08:01:29AM -0700, Raymond Ko wrote: > Hello all, > > I am trying to build the newest version of VIM on Windows with MinGW 4.7.1 > and Python 2.7.3 and Python 3.23 bindings. Everything was compiling fined > before, but as of this patch (probably) it no longer compiles beca

Re: Patch 7.3.579

2012-06-29 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: > On 29-Jun-2012 16:28:48 +0200, Bram Moolenaar wrote: > > > Patch 7.3.579 (after 7.3.569) > > Problem:Can't compile with Python 2.5. > > Solution: Use PyCObject when Capsules are not available. > > Files: src/if_py_both.h, src/if_python.c, src/if_python3.c > >

Re: Issue 72 in vim: :vimgrep with 'autochdir' set causes second match to be mis-located in CWD.

2012-06-29 Fir de Conversatie Ben Fritz
On Friday, June 29, 2012 9:08:48 AM UTC-5, (unknown) wrote: > Status: New > Owner: > Labels: Type-Defect Priority-Medium > > New issue 72 by inkar...@gmail.com: :vimgrep with 'autochdir' set causes > second match to be mis-located in CWD. > http://code.google.com/p/vim/issues/detail?id=72 >

Patch 7.3.580

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.580 Problem:Warning on 64 bit MS-Windows. Solution: Add type cast. (Mike Williams) Files: src/if_py_both.h *** ../vim-7.3.579/src/if_py_both.h 2012-06-29 16:28:23.0 +0200 --- src/if_py_both.h2012-06-29 17:49:59.0 +0200 *** *** 495,501

Re: Patch 7.3.579

2012-06-29 Fir de Conversatie Ingo Karkat
On 29-Jun-2012 16:28:48 +0200, Bram Moolenaar wrote: > Patch 7.3.579 (after 7.3.569) > Problem:Can't compile with Python 2.5. > Solution: Use PyCObject when Capsules are not available. > Files:src/if_py_both.h, src/if_python.c, src/if_python3.c Thanks for the quick response, Bra

Issues with langmap and scripts (e.g. VimOrganizer, VimOutliner)

2012-06-29 Fir de Conversatie vdeurzen
I have been trying out different outliner plugins for Vim, VimOrganizer, Vim Outliner and Hyperlist. This threw up quite a few issues for me. After a bit of research it turns out that the problems are caused by me using the 'langmap' feature (I use the colemake keyboard layout). The problem is t

Bug report: gvim 7.3 crashes trying to open an UNC path longer than 269 characters

2012-06-29 Fir de Conversatie Christian Brock
Hi folks, I hope this helps. --Chr. Bug: gVIM7.3 crashes trying to open an UNC path longer than 269 characters I do have a long windows UNC path, longer than 269 characters. Gvim crashes whenever I open the file using the gvim open-file-dialog. Pl

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Raymond Ko
Hello all, I am trying to build the newest version of VIM on Windows with MinGW 4.7.1 and Python 2.7.3 and Python 3.23 bindings. Everything was compiling fined before, but as of this patch (probably) it no longer compiles because the following linker error: C:\Users\root\AppData\Local\Temp\ccC

Patch 7.3.579

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.579 (after 7.3.569) Problem:Can't compile with Python 2.5. Solution: Use PyCObject when Capsules are not available. Files: src/if_py_both.h, src/if_python.c, src/if_python3.c *** ../vim-7.3.578/src/if_py_both.h 2012-06-29 16:19:46.0 +0200 --- src/if_py_both.h

Patch 7.3.578

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.578 Problem:Misplaced declaration. Solution: Move declaration to start of block. Files: src/if_py_both.h *** ../vim-7.3.577/src/if_py_both.h 2012-06-29 12:54:32.0 +0200 --- src/if_py_both.h2012-06-29 16:15:29.0 +0200 *** *** 818,838

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Bram Moolenaar
Andy Kittner wrote: > (apologies if anyone gets this twice, the reply didn't make it to the list > due to the wrong sender-adress) > > On 29.06.2012 15:17, Bram Moolenaar wrote:> > > It appears PyCapsule_GetPointer is new in Python 2.7. We should support > > Python 2.5. > > > > It is only used

Issue 72 in vim: :vimgrep with 'autochdir' set causes second match to be mis-located in CWD.

2012-06-29 Fir de Conversatie vim
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 72 by inkar...@gmail.com: :vimgrep with 'autochdir' set causes second match to be mis-located in CWD. http://code.google.com/p/vim/issues/detail?id=72 What steps will reproduce the problem? $ cd /tmp $ vim -N -u NONE :set

Patch 7.3.577

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.577 Problem:Size of memory does not fit in 32 bit unsigned. Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of GlobalMemoryStatus() when available. Files: src/misc2.c, src/option.c, src/os_amiga.c, src/os_msdos.c, src/os_win16.

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Andy Kittner
(apologies if anyone gets this twice, the reply didn't make it to the list due to the wrong sender-adress) On 29.06.2012 15:17, Bram Moolenaar wrote:> > It appears PyCapsule_GetPointer is new in Python 2.7. We should support > Python 2.5. > > It is only used in convert_dl(). Perhaps there is an

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: > On 29-Jun-2012 12:55:10 +0200, Bram Moolenaar wrote: > > > Patch 7.3.569 > > Problem:Evaluating Vim expression in Python is insufficient. > > Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX) > > Files: runtime/doc/eval.txt, runtime/doc/if_

Patch 7.3.576

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.576 Problem:Formatting of lists inside comments is not right yet. Solution: Use another solution and add a test. (Tor Perkins) Files: src/edit.c, src/misc1.c, src/testdir/test68.in, src/testdir/test69.ok *** ../vim-7.3.575/src/edit.c 2012-06-20 22:55:56.000

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Chris Sutcliffe
On 29 June 2012 08:57, Ingo Karkat wrote: > On 29-Jun-2012 12:55:10 +0200, Bram Moolenaar wrote: > >> Patch 7.3.569 >> Problem:    Evaluating Vim expression in Python is insufficient. >> Solution:   Add vim.bindeval().  Also add pyeval() and py3eval(). (ZyX) >> Files:            runtime/doc/eval.tx

Re: Patch 7.3.569

2012-06-29 Fir de Conversatie Ingo Karkat
On 29-Jun-2012 12:55:10 +0200, Bram Moolenaar wrote: > Patch 7.3.569 > Problem:Evaluating Vim expression in Python is insufficient. > Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX) > Files:runtime/doc/eval.txt, runtime/doc/if_pyth.txt, src/eval.c, >

Patch 7.3.575

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.575 Problem:"ygt" tries to yank instead of giving an error. (Daniel Mueller) Solution: Check for a pending operator. Files: src/normal.c *** ../vim-7.3.574/src/normal.c 2012-06-06 16:12:54.0 +0200 --- src/normal.c2012-06-29 13:50:26.0 +0200 **

Patch 7.3.574

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.574 Problem:When pasting a register in the search command line a CTRL-L character is not pasted. (Dominique Pelle) Solution: Escape the CTRL-L. (Christian Brabandt) Files: src/ex_getln.c *** ../vim-7.3.573/src/ex_getln.c 2012-06-06 12:02:57.0 +0200

Re: Issue 64 in vim: Can't paste the <0c> character on Ex or / command line when using 'incsearch'

2012-06-29 Fir de Conversatie vim
Updates: Status: Fixed Comment #2 on issue 64 by brammool...@gmail.com: Can't paste the <0c> character on Ex or / command line when using 'incsearch' http://code.google.com/p/vim/issues/detail?id=64 Patch included as 7.3.574. -- You received this message from the "vim_dev" maillist.

Patch 7.3.573

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.573 Problem:Using array index before bounds checking. Solution: Swap the parts of the condition. (Dominique Pelle) Files: src/ops.c *** ../vim-7.3.572/src/ops.c2012-06-13 17:28:51.0 +0200 --- src/ops.c 2012-06-29 13:27:11.0 +0200 *** *** 645

Re: Issue 70 in vim: Array index is used before limits check in ops.c

2012-06-29 Fir de Conversatie vim
Updates: Status: Fixed Comment #1 on issue 70 by brammool...@gmail.com: Array index is used before limits check in ops.c http://code.google.com/p/vim/issues/detail?id=70 Patch included as 7.3.573 -- You received this message from the "vim_dev" maillist. Do not top-post! Type your rep

Patch 7.3.572

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.572 Problem:Duplicate statement in if and else. (Dominique Pelle) Solution: Remove the condition and add a TODO. Files: src/gui_xmebw.c *** ../vim-7.3.571/src/gui_xmebw.c 2010-08-15 21:57:29.0 +0200 --- src/gui_xmebw.c 2012-06-29 13:17:15.0 +0200 ***

Re: Issue 68 in vim: duplicate branches for if and else in src/gui_xmebw.c

2012-06-29 Fir de Conversatie vim
Updates: Status: Fixed Comment #1 on issue 68 by brammool...@gmail.com: duplicate branches for if and else in src/gui_xmebw.c http://code.google.com/p/vim/issues/detail?id=68 Patch 7.3.572 removes the duplicate and adds a TODO to figure out the right solution. -- You received this

Patch 7.3.571

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.571 Problem:Duplicated condition. Solution: Remove one. (Dominique Pelle) Files: src/os_win32.c *** ../vim-7.3.570/src/os_win32.c 2012-02-29 13:58:43.0 +0100 --- src/os_win32.c 2012-06-29 13:10:54.0 +0200 *** *** 308,314 # ifndef

Re: Issue 69 in vim: Redundant condition: If availableBytes > 0 in os_win32.c:3461

2012-06-29 Fir de Conversatie vim
Updates: Status: Fixed Comment #1 on issue 69 by brammool...@gmail.com: Redundant condition: If availableBytes > 0 in os_win32.c:3461 http://code.google.com/p/vim/issues/detail?id=69 Patch 7.3.571 includes this -- You received this message from the "vim_dev" maillist. Do not top-post

Patch 7.3.570

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.570 Problem:":vimgrep" does not obey 'wildignore'. Solution: Apply 'wildignore' and 'suffixes' to ":vimgrep". (Ingo Karkat) Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/quickfix.c, src/spell.c *** ../vim-7.3.569/src/ex_cmds2.c 2012-06-20 15:48:53.0 +0200

Re: [PATCH] Make :vimgrep obey 'wildignore'

2012-06-29 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: > Hello Vim developers, > > Someone on the Vim subreddit complained that :vimgrep does not obey the > 'wildignore' setting, and therefore (slowly) searches files that the user > never > wants to edit. > http://www.reddit.com/r/vim/comments/vqzqc/ignoring_files_in_vimgrep/

Patch 7.3.568

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.568 Problem:Bad indents for #ifdefs. Solution: Add and remove spaces. (Elias Diem) Files: src/globals.h *** ../vim-7.3.567/src/globals.h2012-02-11 23:45:30.0 +0100 --- src/globals.h 2012-06-29 12:32:14.0 +0200 *** *** 513,520

Patch 7.3.567

2012-06-29 Fir de Conversatie Bram Moolenaar
Patch 7.3.567 Problem:Missing copyright notice. Solution: Add Vim copyright notice. (Taro Muraoka) Files: src/dehqx.py *** ../vim-7.3.566/src/dehqx.py 2010-08-15 21:57:32.0 +0200 --- src/dehqx.py2012-06-29 11:27:41.0 +0200 *** *** 1,7 # Pytho

[PATCH] Make :vimgrep obey 'wildignore'

2012-06-29 Fir de Conversatie Ingo Karkat
Hello Vim developers, Someone on the Vim subreddit complained that :vimgrep does not obey the 'wildignore' setting, and therefore (slowly) searches files that the user never wants to edit. http://www.reddit.com/r/vim/comments/vqzqc/ignoring_files_in_vimgrep/ A similar question was asked on vi