Re: Issue 30 in vim: Trying to use `range()' with very big difference between two arguments results in segmentation fault

2011-10-26 Thread vim
Comment #1 on issue 30 by antoine@gmail.com: Trying to use `range()' with very big difference between two arguments results in segmentation fault http://code.google.com/p/vim/issues/detail?id=30 Do you get anything else on stderr immediately before the "Caught deadly signal" message?

Patch 7.3.348

2011-10-26 Thread Bram Moolenaar
Patch 7.3.348 Problem:"call range(1, 947948399)" causes a crash. (ZyX) Solution: Avoid a loop in the out of memory message. Files: src/misc2.c *** ../vim-7.3.347/src/misc2.c 2011-08-19 22:28:58.0 +0200 --- src/misc2.c 2011-10-26 11:17:26.0 +0200 *** *** 10

Patch 7.3.347

2011-10-26 Thread Bram Moolenaar
Patch 7.3.347 Problem:When dropping text from a browser on Vim it receives HTML even though "html" is excluded from 'clipboard'. (Andrei Avk) Solution: Fix the condition for TARGET_HTML. Files: src/gui_gtk_x11.c *** ../vim-7.3.346/src/gui_gtk_x11.c2011-08-10 17:44:41.0

Re: Issue 30 in vim: Trying to use `range()' with very big difference between two arguments results in segmentation fault

2011-10-26 Thread vim
Updates: Status: Fixed Comment #2 on issue 30 by brammool...@gmail.com: Trying to use `range()' with very big difference between two arguments results in segmentation fault http://code.google.com/p/vim/issues/detail?id=30 Fixed by patch 3.7.348. Patch 3.7.349 fixes a related problem.

Patch 7.3.349

2011-10-26 Thread Bram Moolenaar
Patch 7.3.349 Problem:When running out of memory during startup trying to open a swapfile will loop forever. Solution: Let findswapname() set dirp to NULL if out of memory. Files: src/memline.c *** ../vim-7.3.348/src/memline.c2011-06-13 01:07:22.0 +0200 ---

Patch 7.3.350

2011-10-26 Thread Bram Moolenaar
Patch 7.3.350 Problem:Block of code after ":lua << EOF" may not work. (Paul Isambert) Solution: Recognize the ":lua" command, skip to EOF. Files: src/eval.c *** ../vim-7.3.349/src/eval.c 2011-09-30 18:35:49.0 +0200 --- src/eval.c 2011-10-26 13:12:06.0 +0200

Re: Cannot edit plugin description vimscript #3780

2011-10-26 Thread Bram Moolenaar
Charles Campbell wrote: > Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > > > >> On Sa, 22 Okt 2011, Bram Moolenaar wrote: > >> > >> > >>> Tom Minilith wrote: > >>> > >>> > Yesterday, I uploaded a small plugin: > http://www.vim.org/scripts/script.php?script_i

Re: cpo-=l

2011-10-26 Thread Bram Moolenaar
Thilo Six wrote: > > Attached are two files that can be ':read' into a vimscript at the > > beginning and > > at the end respectively. Comments so far have been incorporated. > > I would appreciate if could review them. > > What is the opinion about the aforementioned vimscript snippets? When i

Re: [PATCH] misplaced 'else' makes mouse disabled first when in tmux

2011-10-26 Thread Bram Moolenaar
lilydjwg wrote: > Patch 343 introduced this bug and here is the patch. I don't understand the problem and the fix doesn't appear to be right. Can you explain please? -- # echo reboot >universe # chmod +x universe # ./universe /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.

Re: [update of runtimefiles]

2011-10-26 Thread Bram Moolenaar
Thilo Six wrote: > > please find attached updates of the runtimefiles i maintain. > > They are updated to match latest upstream releases and contain the > > "hardening" > > of runtimeenviroment as currently discussed on vim-dev. They all belong to > > 'syntax/'. > > ...updated them again to pre

Patch 7.3.351

2011-10-26 Thread Bram Moolenaar
Patch 7.3.351 Problem:Text formatting uses start of insert position when it should not. (Peter Wagenaar) Solution: Do not use Insstart when intentionally formatting. Files: src/edit.c *** ../vim-7.3.350/src/edit.c 2011-09-21 18:23:02.0 +0200 --- src/edit.c 2011-

Re: [PATCH] misplaced 'else' makes mouse disabled first when in tmux

2011-10-26 Thread lilydjwg
(Oops, I forgot to Cc to the list again, gotta look into mutt's doc...) On Wed, Oct 26, 2011 at 11:42:17PM +0800, lilydjwg wrote: > On Wed, Oct 26, 2011 at 04:10:15PM +0200, Bram Moolenaar wrote: > > > > lilydjwg wrote: > > > > > Patch 343 introduced this bug and here is the patch. > > > > I do

Re: Fwd: FocusLost, FocusGained, and system() calls

2011-10-26 Thread Bram Moolenaar
Benjamin Fritz wrote: > >> > I'm not sure what the problem is.  Why would there be FocusLost and > >> > FocusGained events for a system() call? > >> > > >> > >> Exactly. I was not expecting to see either event, but I see > >> FocusGained anyway (problem 1). So at the very least, I would expect >

Re: Fwd: FocusLost, FocusGained, and system() calls

2011-10-26 Thread Benjamin Fritz
On Wed, Oct 26, 2011 at 11:12 AM, Bram Moolenaar wrote: > > Benjamin Fritz wrote: > >> >> > I'm not sure what the problem is.  Why would there be FocusLost and >> >> > FocusGained events for a system() call? >> >> > >> >> >> >> Exactly. I was not expecting to see either event, but I see >> >> Focu

Patch 7.3.352

2011-10-26 Thread Bram Moolenaar
Patch 7.3.352 Problem:When completing methods dict functions and script-local functions get in the way. Solution: Sort function names starting with "<" to the end. (Yasuhiro Matsumoto) Files: src/ex_getln.c *** ../vim-7.3.351/src/ex_getln.c 2011-09-30 17:

Re: awk indentation

2011-10-26 Thread erik
New version on the same location: http://dl.dropbox.com/u/26176183/awk.vim I fixed the issues you mentioned as well as the fact that the indenter ignored "else if" (if it worked before it was accidental) And the code gets smaller every update, I assume that is a good sign Greetz Erik -- You re

Re: Fwd: FocusLost, FocusGained, and system() calls

2011-10-26 Thread Bram Moolenaar
Benjamin Fritz wrote: > >> >> > I'm not sure what the problem is.  Why would there be FocusLost and > >> >> > FocusGained events for a system() call? > >> >> > > >> >> > >> >> Exactly. I was not expecting to see either event, but I see > >> >> FocusGained anyway (problem 1). So at the very least,

Re: Fwd: FocusLost, FocusGained, and system() calls

2011-10-26 Thread Benjamin Fritz
On Wed, Oct 26, 2011 at 3:26 PM, Bram Moolenaar wrote: >> > The script contains: >> > >> >        set ei=all >> >        echomsg system("xterm -e 'echo system command; exit'") >> >        set ei& >> > >> > The problem is that the autocommands trigger later.  The focus events >> > are put in the ty

Re: Cannot edit plugin description vimscript #3780

2011-10-26 Thread Christian Brabandt
Hi Bram! On Mi, 26 Okt 2011, Bram Moolenaar wrote: >>> Christian Brabandt wrote: BTW: You also can't delete your own scripts anymore. > Looks like a POST vs GET mistake. Try again now. Thanks. Works now. regards, Christian -- You received this message from the "vim_dev" maillist. Do not

Patch 7.3.353

2011-10-26 Thread Bram Moolenaar
Patch 7.3.353 (after 7.3.343) Problem:Missing part of the urxvt patch. Solution: Add the change in term.c Files: src/term.c *** ../vim-7.3.352/src/term.c 2011-09-14 14:43:21.0 +0200 --- src/term.c 2011-10-26 23:48:01.0 +0200 *** *** 4008,4014

Re: Patch 7.3.352

2011-10-26 Thread mattn
Bram, thanks for working about this patch. But, displaying dict function like '1()' is a bug. it must be fixed. -- 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.ph

strange behavior of filename completion with tab key.

2011-10-26 Thread mattn
Hi bram. Try following. $ ls -1F foo bar/ $ vim --noplugin -i NONE :cnoremap :e :e foo/ :e foo/ :e :e :e ../^I This cause that different behavior between and in filename completion in command line. Please check and include. diff -r fb6b43d55773 src/ex_getln.c --- a/src/ex_getln.c Fri Se