[PATCH] Allow negative indices for strings

2014-02-12 Fir de Conversatie LCD 47
There is an asymmetry in handling indices for lists and strings. Lists accept things like lst[n], lst[n1:n2], lst[n1:-n2], and lst[-n]. Strings accept str[n], str[n1:n2], str[n1:-n2] (all with the same meanings as the corresponding operations for lists), but not str[-n]. Negative indices in str

Update for Tcl syntax file

2014-02-12 Fir de Conversatie Taylor Venable
Hi Bram, I have a (long overdue, I'm afraid) update for the Tcl syntax file I maintain. Mostly these changes are to add highlighting for commands in Tcl 8.6 which was released some time ago. Please find a patch attached. It's been a while since I've sent anything along, so if there's a better way t

Re: VIM - Detect Whether a Plugin is Active/Running/Open?

2014-02-12 Fir de Conversatie Gary Johnson
On 2014-02-12, Eduardo Lúcio Amorim Costa wrote: > I would like to do some tricks with VIM and so I ask the help of you guys! > > It is possible to detect whether a plugin is active/running/open? > You can close a plugin by its name? > You can close a plugin when it loses focus? > The goal is to c

VIM - Detect Whether a Plugin is Active/Running/Open?

2014-02-12 Fir de Conversatie Eduardo Lúcio Amorim Costa
I would like to do some tricks with VIM and so I ask the help of you guys! It is possible to detect whether a plugin is active/running/open? You can close a plugin by its name? You can close a plugin when it loses focus? The goal is to create keyboard shortcuts (conditional) to be configured in "

Re: [Patch] Add option to disable insert completion message in shortmess

2014-02-12 Fir de Conversatie Tyler Brock
BUMP! This would be great to have for you complete me. On Saturday, January 11, 2014 11:00:55 AM UTC-5, Shougo wrote: > 2014年1月12日日曜日 0時25分42秒 UTC+9 mattn: > > > > Thank you for Mr.Bram. > > > > I fixed my patch. Because, I had mistake line number in patch... > > > > This is minor fix. > > >

Re: [patch] minor fix for help.vim

2014-02-12 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > Some parts of the help are wrongly highlighted. > E.g: > > todo.txt:118:Patch to make has() check for Vim version and patch at the same > time. > version5.txt:3625:Included VisVim version 1.3a. (Erhardt) > version6.txt:1502:Add the Vim version number to the viminfo file, use

Re: mzscheme + racket : build fails

2014-02-12 Fir de Conversatie Bram Moolenaar
Sergey Khorev wrote: > --20cf307f34b25d926604f238b410 > Content-Type: text/plain; charset=ISO-8859-1 > > > I'm trying to build vim 7.4.178 with +mzscheme and racket 5.93-1 on > > archlinux, but it fails : > > > > # error MzScheme >=4 must include mzscheme_base.c, for MinGW32 you need > > to de

Re: new syntax file(systemverilog)

2014-02-12 Fir de Conversatie Bram Moolenaar
Kocha wrote: > Sorry to trouble you, please add *.svh file is systemverilog. I'll add it: " SystemVerilog au BufNewFile,BufRead *.sv,*.svhsetf systemverilog -- Not too long ago, cut and paste was done with scissors and glue... /// Bram Moolenaar -- b...@moolenaar.net -- http

Patch 7.4.179

2014-02-12 Fir de Conversatie Bram Moolenaar
Patch 7.4.179 Problem:Warning for type-punned pointer. (Tony Mechelynck) Solution: Use intermediate variable. Files: src/if_py_both.h *** ../vim-7.4.178/src/if_py_both.h 2014-02-11 18:47:18.678311042 +0100 --- src/if_py_both.h2014-02-11 18:41:12.774305435 +0100 ***

Problem with Python 3.4

2014-02-12 Fir de Conversatie İsmail Dönmez
Hi, When compiling vim 7.4.169 with Python 3.4 beta3, test87 fails with: [ 464s] # Check if the test.out file matches test.ok. [ 464s] 535,536c535,536 [ 464s] < import xxx_no_such_module_xxx:(, ImportError('spec missing loader',)) [ 464s] < import failing_import:(, ImportError('spec missing

Re: mzscheme + racket : build fails

2014-02-12 Fir de Conversatie Sergey Khorev
> I'm trying to build vim 7.4.178 with +mzscheme and racket 5.93-1 on > archlinux, but it fails : > > # error MzScheme >=4 must include mzscheme_base.c, for MinGW32 you need > to define MZSCHEME_GENERATE_BASE=yes > ^ > Patch below fixes this issue (execute make autoconf to regenerate confi

[patch] minor fix for help.vim

2014-02-12 Fir de Conversatie Ken Takata
Hi, Some parts of the help are wrongly highlighted. E.g: todo.txt:118:Patch to make has() check for Vim version and patch at the same time. version5.txt:3625:Included VisVim version 1.3a. (Erhardt) version6.txt:1502:Add the Vim version number to the viminfo file, useful for debugging. version6.

Re: Patch 7.4.174

2014-02-12 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: > On 11/02/14 18:42, Bram Moolenaar wrote: > > > > Tony Mechelynck wrote: > > > >> On 11/02/14 16:00, Bram Moolenaar wrote: > >>> > >>> Patch 7.4.174 > >>> Problem:Compiler warnings for Python interface. (Tony Mechelynck) > >>> Solution: Add type casts, initialize var

Re: [patch] UTF-8: mapping a multi-byte key where the second byte is 0x80 doesn't appear

2014-02-12 Fir de Conversatie Nobuhiro Takasaki
There was not a clear answer. I do not write tests. I seem to get into too deep. Control of schizophrenia is difficult. It was a little worse. >From now on, live quietly while the care of the parent. Thank you for a good dream. Good bye. Nobuhiro Takasaki -- -- You received this mess

mzscheme + racket : build fails

2014-02-12 Fir de Conversatie Davido
Hello, I'm trying to build vim 7.4.178 with +mzscheme and racket 5.93-1 on archlinux, but it fails : # error MzScheme >=4 must include mzscheme_base.c, for MinGW32 you need to define MZSCHEME_GENERATE_BASE=yes ^ Makefile:2595: recipe for target 'objects/if_mzsch.o' failed make[1]: ***

Re: Issue 197 in vim: ]P does not paste over visually selected line

2014-02-12 Fir de Conversatie vim
Comment #10 on issue 197 by chr...@coosto.nl: ]P does not paste over visually selected line http://code.google.com/p/vim/issues/detail?id=197 With the last patch, I can confirm that ]P in visual block mode does not act as weird as it did before. Also (I just tested this...) using a count