VIML regex comparison problem

2013-09-09 Fir de Conversatie Mike Williams
Hi, I have hit a difference in behaviour between unix and windows with the regex comparison operator (7.4p22 on both). Save the following viml code to a file and do source %. On windows the second function will do the throw, on unix it doesn't. The first function is a simpler analogy just

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Nikolay Pavlov
On Sep 9, 2013 1:40 PM, Mike Williams mike.willi...@globalgraphics.com wrote: Hi, I have hit a difference in behaviour between unix and windows with the regex comparison operator (7.4p22 on both). Save the following viml code to a file and do source %. On windows the second function will do

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Mike Williams
On 09/09/2013 10:56, Nikolay Pavlov wrote: On Sep 9, 2013 1:40 PM, Mike Williams mike.willi...@globalgraphics.com wrote: Hi, I have hit a difference in behaviour between unix and windows with the regex comparison operator (7.4p22 on both). Save the following viml code to a file and do

Re: :e foo:bar makes broken swap file foo:.bar.swp. and doesn't removed.

2013-09-09 Fir de Conversatie mattn
On Thursday, September 5, 2013 7:06:52 PM UTC+9, Bram Moolenaar wrote: It would be better to only make a copy of the file name when needed, thus first check if there is a colon. That avoids the copy in most cases. Thanks for your review. I updated patch: https://gist.github.com/mattn/6444548

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Christian Brabandt
On Mon, September 9, 2013 12:31, Mike Williams wrote: On 09/09/2013 10:56, Nikolay Pavlov wrote: On Sep 9, 2013 1:40 PM, Mike Williams mike.willi...@globalgraphics.com wrote: I had tried calls to escape(..., '\') and that made no difference. Where did you do that? You need to make sure, that

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Mike Williams
On 09/09/2013 11:38, Christian Brabandt wrote: On Mon, September 9, 2013 12:31, Mike Williams wrote: On 09/09/2013 10:56, Nikolay Pavlov wrote: On Sep 9, 2013 1:40 PM, Mike Williams mike.willi...@globalgraphics.com wrote: I had tried calls to escape(..., '\') and that made no difference.

Re: Some TOhtml issues

2013-09-09 Fir de Conversatie ZyX
Yet another problems: now allfolds equivalent (named dynamic_folds in TOhtml) + chromium: 1. Fold column has variable width, including some cases when this seems to be not intentional: http://img-fotki.yandex.ru/get/9152/9151298.3/0_9eb17_5de67bee_orig.png (1.png). 2. Different position of

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie ZyX
I had tried calls to escape(..., '\') and that made no difference. Changing the test if l:d !~ ^\V . s:dir1 makes no difference. It makes difference with some specific directory names. “Specific” includes dots in directory name. If I substitute all back slashes for forward

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie ZyX
if l:d !~ escape(s:dir1, '\\') Wondering why do you have double backslash and single quotes at a time? One backslash is enough. if l:d !~# '^\V'.escape(s:dir1, '\') -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are

Re: Vim can't compile with DYNAMIC_TCL and ActiveTcl 8.6.0.0

2013-09-09 Fir de Conversatie Ken Takata
Hi, 2013/08/13 Tue 11:42:43 UTC+9 Ken Takata wrote: Hi tux, 2013/08/13 Tue 5:41:44 UTC+9 tux. wrote: Weirdly, Vim fails to build with ActiveTcl 8.6.0.0 on MSVC2010, saying _Tcl_FindExecutable is an unresolved symbol...? I found the following lines in the C:\Tcl86\include\tclDecls.h:

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Mike Williams
On 09/09/2013 12:47, ZyX wrote: I had tried calls to escape(..., '\') and that made no difference. Changing the test if l:d !~ ^\V . s:dir1 makes no difference. It makes difference with some specific directory names. “Specific” includes dots in directory name. My bad again. On

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Nikolay Pavlov
On Sep 9, 2013 4:30 PM, Mike Williams mike.willi...@globalgraphics.com wrote: On 09/09/2013 12:47, ZyX wrote: I had tried calls to escape(..., '\') and that made no difference. Changing the test if l:d !~ ^\V . s:dir1 makes no difference. It makes difference with some specific

Re: Some TOhtml issues

2013-09-09 Fir de Conversatie Ben Fritz
On Monday, September 9, 2013 6:39:23 AM UTC-5, ZyX wrote: Yet another problems: now allfolds equivalent (named dynamic_folds in TOhtml) + chromium: 1. Fold column has variable width, including some cases when this seems to be not intentional:

Re: VIML regex comparison problem

2013-09-09 Fir de Conversatie Mike Williams
On 09/09/2013 14:35, Nikolay Pavlov wrote: On Sep 9, 2013 4:30 PM, Mike Williams mike.willi...@globalgraphics.com wrote: On 09/09/2013 12:47, ZyX wrote: I had tried calls to escape(..., '\') and that made no difference. Changing the test if l:d !~ ^\V . s:dir1 makes no difference.

CTRL+C doesn't abort a paste in terminal?

2013-09-09 Fir de Conversatie Ben Fritz
Reported on SuperUser ( http://superuser.com/questions/459975/abort-a-vim-paste ), pasting with Shift+Insert in Vim 7.3 and Vim 7.4 running in a terminal, with a lot of lines to re-indent, does not allow interrupting the re-indent with CTRL+C. Is there any reason this doesn't work? It looks

Re: Clojure runtime files update

2013-09-09 Fir de Conversatie Bram Moolenaar
Sung Pae wrote: On Sun 8 Sep 2013 at 03:41:07PM +0200, Bram Moolenaar wrote: Sung Pae wrote: The Clojure runtime files have been updated. Please include the attached changes at your convenience. Can you please make the syntax file use a tabstop of 8? That is standard for all

Re: :e foo:bar makes broken swap file foo:.bar.swp. and doesn't removed.

2013-09-09 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: On Thursday, September 5, 2013 7:06:52 PM UTC+9, Bram Moolenaar wrote: It would be better to only make a copy of the file name when needed, thus first check if there is a colon. That avoids the copy in most cases. Thanks for your review. I updated patch: