Re: Issue 28 in vim: out of the box, gVim 7.3.46 for Win32 cannot write swap files on Windows 7

2013-09-19 Fir de Conversatie vim
Comment #8 on issue 28 by ab...@yahoo.com: out of the box, gVim 7.3.46 for Win32 cannot write swap files on Windows 7 http://code.google.com/p/vim/issues/detail?id=28 Starting Vim from the start menu (which admittedly I've never done in 15+years using it until just now) sets the current wor

input() doesn't work when called from normal command

2013-09-19 Fir de Conversatie mattn
Hi. --- function! s:confirm_and_input() let a = confirm("Your Sex?", "Male\nFemale") echo input("Your Name?", ) endfunction nnoremap :call confirm_and_input() exe "normal \" --- When :so this script, confirm() works well but input() doesn't. input() return empty string always. This caused

Re: [patch] diffoff! does not check &diff in current window

2013-09-19 Fir de Conversatie Charles Cooper
On Thursday, September 19, 2013 3:45:24 PM UTC-4, Bram Moolenaar wrote: > I would say the current behavior is intended. If you reset 'diff', but > then realize it doesn't look right, you can use :diffoff to reset the > other side effects of :diffthis. I never thought of that! > If you don't wan

Re: Error when matching a null character with NFA engine

2013-09-19 Fir de Conversatie Jonathon Merz
Oops, further clarification on that: 1. Start vim with -u NONE -U NONE 2. Repeat the search from my previous email 3. Hit 'n' a few times - cursor hits first character of each line 4. :set hlsearch 5. The entirety of every line is highlighted I was running with hlsearch on when I originally found

Re: block mode paste feature

2013-09-19 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > >> On Do, 12 Sep 2013, shawn wilson wrote: > >> > >> > Can vim be made to DWIM here? I did a quick search and found I'm not > >> the > >> > only one who has run into this. For example: > >> > http://briancarper.net/blog/341/ > >> > > >> > Just to re-explain what I want

Error when matching a null character with NFA engine

2013-09-19 Fir de Conversatie Jonathon Merz
With the new regexp engine, when searching for a null character using decimal/octal/hex character matches, all lines are matched instead of only the specified character. The attached .txt file (ok to attach I hope) has a null character (represented as "^@") in the first line. Using the new engine

Re: Error when matching a null character with NFA engine

2013-09-19 Fir de Conversatie Bram Moolenaar
Jonathon Merz wrote: > With the new regexp engine, when searching for a null character using > decimal/octal/hex character matches, all lines are matched instead > of only > the specified character. > > The attached .txt file (ok to attach I hope) has a null character > (represented as "^@") in

Re: block mode paste feature

2013-09-19 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Do, 19 Sep 2013, Christian Brabandt wrote: > > > On Thu, September 19, 2013 17:00, Bram Moolenaar wrote: > > > > > > Christian Brabandt wrote: > > > > > >> On Do, 12 Sep 2013, shawn wilson wrote: > > >> > > >> > Can vim be made to DWIM here? I did a quick search an

Re: [patch] diffoff! does not check &diff in current window

2013-09-19 Fir de Conversatie Bram Moolenaar
Charles Cooper wrote: > The diffoff! and diffoff commands both reset options in the window > they are called from without checking the value of &diff. The options > which the commands reset are: diff, scrollbind, cursorbind, scrollopt, > wrap, foldmethod, foldcolumn. Here are 2 examples using th

Re: Error when matching a null character with NFA engine

2013-09-19 Fir de Conversatie Christian Brabandt
On Do, 19 Sep 2013, Jonathon Merz wrote: > With the new regexp engine, when searching for a null character using > decimal/octal/hex character matches, all lines are matched instead of only > the specified character. > > The attached .txt file (ok to attach I hope) has a null character > (represe

Patch 7.4.030

2013-09-19 Fir de Conversatie Bram Moolenaar
Patch 7.4.030 Problem:The -mno-cygwin argument is no longer supported by Cygwin. Solution: Remove the arguments. (Steve Hall) Files: src/GvimExt/Make_cyg.mak, src/Make_cyg.mak, src/xxd/Make_cyg.mak *** ../vim-7.4.029/src/GvimExt/Make_cyg.mak 2011-09-30 16:45:49.0 +0200 --

Re: block mode paste feature

2013-09-19 Fir de Conversatie Christian Brabandt
On Do, 19 Sep 2013, Christian Brabandt wrote: > On Thu, September 19, 2013 17:00, Bram Moolenaar wrote: > > > > Christian Brabandt wrote: > > > >> On Do, 12 Sep 2013, shawn wilson wrote: > >> > >> > Can vim be made to DWIM here? I did a quick search and found I'm not > >> the > >> > only one who

Re: Make_cyg -mno-cygwin option deprecated

2013-09-19 Fir de Conversatie Steve Hall
On Thu, Sep 19, 2013 at 11:41 AM, Bram Moolenaar wrote: > Steve Hall wrote: > > > Bug in line 443 of Make_cyg.mak: "-mno-cygwin" is obsolete. Result > > is build failure of the standalone DLL. > > Is there an argument to replace it or does the line need to be > removed from the Makefile? And perha

Re: block mode paste feature

2013-09-19 Fir de Conversatie Christian Brabandt
On Thu, September 19, 2013 17:00, Bram Moolenaar wrote: > > Christian Brabandt wrote: > >> On Do, 12 Sep 2013, shawn wilson wrote: >> >> > Can vim be made to DWIM here? I did a quick search and found I'm not >> the >> > only one who has run into this. For example: >> > http://briancarper.net/blog/3

slow syntax folding revisited

2013-09-19 Fir de Conversatie Carlos Pita
Hi all, I know this subject has been addressed a number of times, it's in the todo list, it's in the faq also and even there is a workaround suggested in the wiki. I just would like to add that I've been dealing with it for a time now using foldmethod=expr with an expression that gets some hint

Re: block mode paste feature

2013-09-19 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Do, 12 Sep 2013, shawn wilson wrote: > > > Can vim be made to DWIM here? I did a quick search and found I'm not the > > only one who has run into this. For example: > > http://briancarper.net/blog/341/ > > > > Just to re-explain what I want: when you visually sele

Re: Double error message when searching for "\("

2013-09-19 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Mi, 18 Sep 2013, Christ van Willegen wrote: > > > I accidentally searched the following > > > > /\( > > > > This gives me the error message > > > > E54: Unmatched \( > > E54: Unmatched \( > > > > twice. > > This happens, because your 're' setting is 0. That me

Patch 7.4.029

2013-09-19 Fir de Conversatie Bram Moolenaar
Patch 7.4.029 Problem:An error in a pattern is reported twice. Solution: Remove the retry with the backtracking engine, it won't work. Files: src/regexp.c *** ../vim-7.4.028/src/regexp.c 2013-08-25 17:01:36.0 +0200 --- src/regexp.c2013-09-19 17:03:31.0 +0200 **

Re: Make_cyg -mno-cygwin option deprecated

2013-09-19 Fir de Conversatie Bram Moolenaar
Steve Hall wrote: > Bug in line 443 of Make_cyg.mak: "-mno-cygwin" is obsolete. Result is > build failure of the standalone DLL. Is there an argument to replace it or does the line need to be removed from the Makefile? And perhaps a comment adjusted. -- hundred-and-one symptoms of being an in

Patch 7.4.028

2013-09-19 Fir de Conversatie Bram Moolenaar
Patch 7.4.028 Problem:Equivalence classes are not working for multi-byte characters. Solution: Copy the rules from the old to the new regexp engine. Add a test to check both engines. Files: src/regexp_nfa.c, src/testdir/test44.in, src/testdir/test99.in, src/testd

Re: [PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-09-19 Fir de Conversatie Nikolay Pavlov
On Sep 19, 2013 2:01 PM, "kans" wrote: > > On Friday, September 13, 2013 2:43:13 AM UTC-7, kans wrote: > > On Thursday, September 12, 2013 1:59:51 AM UTC-7, ZyX wrote: > > > > > On Sep 12, 2013 3:28 AM, "kans" wrote: > > > > > > > > > > > > > > > > > > > > > > On Wednesday, September 11, 2013 7:4

Re: [PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-09-19 Fir de Conversatie kans
On Friday, September 13, 2013 2:43:13 AM UTC-7, kans wrote: > On Thursday, September 12, 2013 1:59:51 AM UTC-7, ZyX wrote: > > > On Sep 12, 2013 3:28 AM, "kans" wrote: > > > > > > > > > > > > > > On Wednesday, September 11, 2013 7:46:06 AM UTC-7, ZyX wrote: > > > > > > > > On Sep 11, 201