Re: [Announcement] Subversion repository location changed

2007-05-10 Thread Ilya Bobir
Edward L. Fox wrote: On 5/10/07, Gautam Iyer <[EMAIL PROTECTED]> wrote: [...] > I've a question, though: isn't bleeding-edge development done in > https://svn.sourceforge.net/svnroot/vim/trunk ? That /would/ be the > appropriate line for the latest sources, right? I don't know. I'm still ask

Re: replace VimScript

2007-04-25 Thread Ilya Sher
Nikolai Weibull wrote: > On 4/24/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: >> Nikolai Weibull wrote: >> > On 4/24/07, Ilya Sher <[EMAIL PROTECTED]> wrote: >> [snip] >> > I mean, seriously, it's a lot more intuitive to write >> > >&g

Re: replace VimScript

2007-04-24 Thread Ilya Sher
Yakov Lerner wrote: > [snip] > So do not worry, replacement of vimscript by the favourite language > of some vim's random user is not going to happen. That is obvious. The point was the question why the OP named language X and not Y for this. > > Yakov -- For robots (please don't mail me there):

Re: replace VimScript

2007-04-24 Thread Ilya Sher
Nikolai Weibull wrote: > On 4/24/07, Ilya Sher <[EMAIL PROTECTED]> wrote: >> Robert Lee wrote: >> > [snip] >> >> > Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe >> > using SpiderMonkey) so that people don't need to learn

Re: replace VimScript (was: wish: allow a: in the function def)

2007-04-24 Thread Ilya Sher
h to customize VIM. How do you know the assumption is right? [snip] -- For robots (please don't mail me there): [EMAIL PROTECTED] My real email is ilya @ same domain

Re: syntax highlighting addition

2007-04-21 Thread Ilya Sher
;> implementation? It seems to be cutting off the last character in the >> completion. ;-) >> >> nikolai >> > > Insert-mode competion, you mean? The missing last "i" of Nikolai ;) [snip] -- For robots (please don't mail me there): [EMAIL PROTECTED] My real email is ilya @ same domain

Re: syntax highlighting and very long lines vim7

2007-02-22 Thread Ilya Bobir
Sam Halperin wrote: I am trying to syntax highlight a file containing one very long line. (A machine generated chunk of ascii that needs to be visually checked when an error occurs.) The highlighting works up to about a screens worth of text (~2400 char), but stops highlighting well before t

Re: Vim 8 enhancements

2007-01-31 Thread Ilya Bobir
Rene de Zwart wrote: I would like it if vim could integrate more into a graphical application for instances an ide. The integration would allow application builders to use vim as a component. relief them of the burden of maintaining an editor Give them access to 20+ years matured editor code ba

Re: JavaScript indentation

2007-01-25 Thread Ilya Bobir
Gregory Seidman wrote: I'm finding that smartindent is routinely wrong about how I want things to be indented in JS, but I haven't been able to find an indent script. I'd be interested in working on it myself, but I don't know the first thing about how the function referred to when setting indent

Re: Problems with AutoIndenting comment lines in VHDL files

2007-01-22 Thread Ilya Bobir
David le Comte wrote: This is my 2nd attempt, but with smaller sample vhdl file, The mail handler rejected my last email due to its being too large. Problem Description: When editing VHDL files, autoindent mode does not behave as expected with comment lines. I suggest that

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread Ilya Bobir
John Beckett wrote: [...] Then, I could write an email to a friend saying "Run gvim and do . Then you can press F11 to do ". For example, perhaps F11 = ":cn", Shift-F11 = ":cp". [...] This sounds very like file types. When you are opening a file appropriate actions can be done automatically i

Re: garbage "notes" in vim.sf.net's tips section

2007-01-10 Thread Ilya Sher
rds, > Chip Campbell > -- For robots (please don't mail me there): [EMAIL PROTECTED] My real email is ilya @ same domain

Re: recent.vim plugin

2007-01-10 Thread Ilya Bobir
Ilia N Ternovich wrote: Hi all! I'm trying to make recent.vim plguin working with vim-7.0 There is some kind of problem with mapping keys inside plugin: function! OptionFiles() "let file = bufname("%") if bufname("")=="recent_files" map gf set number set noswapf

Re: problem in opening a file name start with "+" in vi editor..

2006-12-16 Thread Ilya Bobir
[EMAIL PROTECTED] wrote: Hi All, I couldn't open the file name start with "+" in vi editor. Since "+" is the option in vi editor. Is there any other way to open the file? Note: I tried with escape character "\" also. You can use "--" to indicate that all the other arguments are file n

Re: syntax region match with braces

2006-11-01 Thread Ilya Sher
. > Haven't followed the thread but :syntax sync fromstart usually works fine for me [snip] -- For robots (please don't mail me there): [EMAIL PROTECTED] My real email is ilya @ same domain

Re: FW: elastic tabstops and gvim's GTK text widget

2006-10-30 Thread Ilya Bobir
Peter Hodge wrote: --- Nick Gravgaard <[EMAIL PROTECTED]> wrote: Hi Zdenek, On 30/10/06, Zdenek Sekera <[EMAIL PROTECTED]> wrote: Hi, Nick, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Gravgaard Sent: 19 October 2006 13:42 To:

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-25 Thread Ilya Sher
A.J.Mechelynck wrote: > Ilya Sher wrote: >> A.J.Mechelynck wrote: >>> Alexey I. Froloff wrote: >>>> * Bram Moolenaar [061022 17:41]: >>>>> I don't want to support that, because it causes mistakes. Consider >>>>> being in Insert mo

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-22 Thread Ilya Sher
specially for o and n) which is almost always not true for vim users. Assumption that people use keyboard mappings where is far away is true most of the time but not always. (Common exception is caps lock generating ). [snip] -- For robots (please don't mail me there): [EMAIL PROTECTED] My real email is ilya @ same domain

Re: Paste as HTML

2006-10-21 Thread Ilya Bobir
Edward L. Fox wrote: In my opinion, this kind of work shouldn't be done by hacking the source code of VIM. You can use a vim script to call the synax highlighting engine to convert the text into HTML code, and copy the converted code into the clipboard with a DLL add-on (as we know, GVim supports

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Ilya Bobir
Yakov Lerner wrote: [...] I mean, I tried 'ls c:\windows' in cygwin and it does not work .. strange is it issue of version of cygwin ? I saw even weirder differences in cygwin behaviour ... fat32 vs ntfs differences... Maybe this is because \ have a special meaning for bash or some othe

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-05 Thread Ilya Bobir
Peter Hodge wrote: Thanks for your help, I had another look and found out you need another syntax command to reproduce it properly. Here is the revised bug report Start vim using vim -u NONE insert the following test code (note that the 4th line must be indented). array($foo) is_array

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-05 Thread Ilya Bobir
Peter Hodge wrote: Hello, I have discovered that it is possible for a syntax region to overlap a syntax keyword, even though the region is not contained in the keyword. Take the following code example and apply the syntax commands below: TEST CODE: (is_array($foo)) ( is_array($foo)

Re: compilation of regular expressions/ enhancement?

2006-10-03 Thread Ilya Bobir
Marc Weber wrote: When doing something like map(["a","b"],"matchstr(v:val, "\(.\)")) will the regular expression "\(.\)" be compiled on every iteration? How about this: for l in lines if l =~"regex" ... ? How about :help profile ? ;) [...]

Re: Do Not Reply To This Message

2006-10-03 Thread Ilya Sher
Tony. -- For robots (please don't mail me there): [EMAIL PROTECTED] My real email is ilya @ same domain

matchparen highlight bug

2006-09-27 Thread Ilya Bobir
Hello. I've found bug in highlighting when matchparen is used. Not sure it is because of a matchparen thought. Test case = gvim i{}hO Now I can see first line with one character background been highlighted and an insert cursor over it and '{}' on a second line, both highlighted. N

syntax. Contained items should not contribute to highlight outside of a containing keepend item highlighting area

2006-09-22 Thread Ilya Bobir
tax.c that was modified by my previous patch from "extend inside normal inside keepend" e-mail. Ilya Bobir Index: syntax.c === RCS file: /cvsroot/vim/vim7/src/syntax.c,v retrieving revision 1.62 diff -c -r1.62 syntax

syntax bug. extend inside normal inside keepend

2006-09-20 Thread Ilya Bobir
ere is a patch for syntax.c that does this check. I'm getting correct behavior with this patch for my test case. -- Ilya Bobir Index: syntax.c === RCS file: /cvsroot/vim/vim7/src/syntax.c,v retrieving revision 1.62 diff -c -

Re: Sorry

2006-09-10 Thread Ilya
Mark Manning wrote: I'm working in FreeBasic and some C and some Perl. This is one of the fixes in the basic.vim thing I'm doing and I saw the same thing in the c.vim file and thought they would give the same incorrect highlighting. I ran into this (for C) while working at NASA and thought I

Re: text is gone

2006-09-07 Thread Ilya
scott wrote: [...] why would cindent kick in if i'm not editing c? [...] Maybe you set it yourself or some plugin set it for you. A.J.Mechelynck proposed you really good thing. Remove code that turns cindent off, restart vim and type :verbose set cindent? and you will see where t

Re: Syntax matching. extend inside normal inside keepend

2006-09-04 Thread Ilya
Yakov Lerner wrote: On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > When I removed both 'keepend' and 'extend', it > started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some

Re: Syntax matching. extend inside normal inside keepend

2006-09-04 Thread Ilya
Yakov Lerner wrote: On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > On 9/2/06, Ilya <[EMAIL PROTECTED]> wrote: >> Hello. >> >> I have a question regarding syntax matching. I have some kind of syntax >> and I have some solution to highli

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Yakov Lerner wrote: On 9/2/06, Ilya <[EMAIL PROTECTED]> wrote: Hello. I have a question regarding syntax matching. I have some kind of syntax and I have some solution to highlight it, but it does not work the way I expect it to. What I want: match syntax that consists of blocks (enclo

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Sorry for duplicating, but my mailer for some reason removed several spaces from my "pictures". Yakov Lerner wrote: On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > When I removed both 'keepend' and 'extend', it > started to work as ex

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Yakov Lerner wrote: On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > When I removed both 'keepend' and 'extend', it > started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Yakov Lerner wrote: When I removed both 'keepend' and 'extend', it started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some string with a quote ( " ) inside } With ''kepend extend', it apparently takes identifier-closing brac

Syntax matching. extend inside normal inside keepend

2006-09-01 Thread Ilya
1.vim and test code is in 1.vim.test so you may try it on your vim with vim -s 1.vim 1.vim.test Ilya 1.vim Description: application/octetstream { "string ${var} string" }

Re: Fixing cweb.vim

2006-09-01 Thread Ilya
Benji Fisher wrote: On Fri, Sep 01, 2006 at 09:36:55AM +0300, Ilya wrote: David Brown wrote: [...] However, tex.vim frequently will enclose large sections of the document within a region and the cweb.vim which the webCRegion is not part of. I think I can fix this by adding an

Re: Fixing cweb.vim

2006-08-31 Thread Ilya
David Brown wrote: I'm trying to get cweb.vim to work better, and am not sure how to go about this. Most of a cweb file is regular TeX (or LaTeX), with some occasional regions that are C code. The way it is implemented now, works with simple constructs. However, tex.vim frequently will encl

Re: Unable to use :setf from $VIMRUNTIME/ftdetect/*.vim

2006-08-30 Thread Ilya
Alexey I. Froloff wrote: filetype.vim looks like: augroup filetypedetect ... " Generic configuration file (check this last, it's just guessing!) au BufNewFile,BufRead,StdinReadPost * \ ... some files are being setf'ed to "conf" " Use the plugin-filetype checks last, they may overrule

Re: Fastest way to append line or char to a buffer

2006-08-29 Thread Ilya
Brad Beveridge wrote: On 26/08/06, Brad Beveridge <[EMAIL PROTECTED]> wrote: Cheers Brad Hi, sorry for all the trouble :) I'm having redraw issues, where running this code to append chars is causing strange problems. The scenario is this (always using the code below for char output): 1) Wri

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-04 Thread Ilya
Mohsin wrote: I want to use a highlighter mode on my text file, example: :color_region bold line1 col1 line2 col2 :color_region bold 5 5 6 6 :color_region underline 5 5 6 6 I couldn't do this in vim. Vim only has syntax coloring with regexps. Emacs has functions to apply properties to text

Re: yanking into register and using that in command

2006-08-02 Thread Ilya
Denis Perelyubskiy wrote: hello, I am trying to emulate textpad. In textpad, when cursor is over some word and you press ctrl-f5 the search box pops up, and a word is in the input area. So, an equivalent behavior (at least for now :-)) in vim is to press ctrl-f5 and have a word show up in the s

Re: [PATCH] Ask and you shall...em, find?

2006-07-22 Thread Ilya
Ilya wrote: A.J.Mechelynck wrote: I prefer answers given on the command-line (with "more" if necessary) to appear in the default colors with the following exceptions: - It's OK for titles (as in the listing of autocommands) to appear in another colour; - It's OK for the

Re: [PATCH] Ask and you shall...em, find?

2006-07-22 Thread Ilya
A.J.Mechelynck wrote: I prefer answers given on the command-line (with "more" if necessary) to appear in the default colors with the following exceptions: - It's OK for titles (as in the listing of autocommands) to appear in another colour; - It's OK for the "xxx" of ":highlight" display to ap

Re: Suggestion for a change to compiler/gcc.vim

2006-07-22 Thread Ilya
Nikolai Weibull wrote: I am the maintainer of compiler/gcc.vim and I would like to propose the following change to its errorformat: @@ -20,7 +20,8 @@ setlocal errorformat= \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', \%X%*\\a[%*\\d]:\ Lea

Re: Suggestion for a change to compiler/gcc.vim

2006-07-22 Thread Ilya
Nikolai Weibull wrote: I am the maintainer of compiler/gcc.vim and I would like to propose the following change to its errorformat: @@ -20,7 +20,8 @@ setlocal errorformat= \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', \%X%*\\a[%*\\d]:\ Lea

Matchparen highlight bug

2006-06-27 Thread Ilya
gvim –u NONE –U NONE Create file with 100 empty lines, line with {, 20 empty lines and line with }: :exe "normal i{\}\20O\j%100O\j%" Turn on matchparen plugin: :set nocp :source $VIMRUNTIME/plugin/matchparen.vim Now cursor should be on the }, this line is the lowest line in the

Re: tab split scrolling problem

2006-06-25 Thread Ilya
[EMAIL PROTECTED] wrote: All, I mentioned this problem once on the list before; however, the issue wasn't reproducible. Now I found a way to consistently reproduce it. 1. Open a new plain vim in a terminal. 2. ":h" to open a help window. 3. ":wincmd o" to close all other windows except the help

if_ole.cpp triggers warnings on VC++ 2005

2006-06-24 Thread Ilya
Hello. As it was discussed earlier, on MS VC++ 2005 additional defines is required in order to use some of the standard C library functions without warnings. This defines should be done before inclusion of a windows.h header. This defines was added into vim.h. In if_ole.cpp vim.h is includ

Make_mvc.mak cosmetic patch

2006-06-24 Thread Ilya
Hello. In Make_mvc.make there is such a sequence of characters that is understood ok by make but, because of a rough syntax definition, vim treats this sequence as a start of a character literal and highlights half of the file as a string. Fixing this issue inside syntax definition is not th

Re: Patch (unofficial): Create PDBs and EXEs within same directory

2006-06-17 Thread Ilya
Bram Moolenaar wrote: Mathias Michaelis wrote: Patch Problem:IMHO .pdb files should reside in the same directory as the corresponding .exe files so they can be distributet along with them. Solution: Change one line within src/Make_mvc.mak Files: src/Make_mv

Re: Runtime error in explorer.exe when right clicking with vim70f gvimext.dll installed

2006-06-17 Thread Ilya
Bram Moolenaar wrote: [...] I have seen a few messages on the subject. Can someone merge everything and send me a patch for the final solution? I don't have this compiler thus I can't try it out myself. "Patch: gvimext.dll don't find MSVCR80.dll when built with VC8. No context menu entries

Re: A patch to allow tabline wrapping

2006-06-15 Thread Ilya
Bram Moolenaar wrote: In my opinion the tabline should be one line. When it wraps the UI looks ugly. Esp. if the currently selected tab page is in the first line. Maybe if lines would swap, so that line with selected tab would alway be the lowest one it would look nicer?

Re: New feature: bind layout of windows to keys?

2006-06-09 Thread Ilya
Eric Arnold wrote: I found that the contents of a particular ordinal tab number was too fluid to be of much use to me, so I concentrated on making relative navigation easier, but I could be alone in that. The way it stands, you can make a macro sequence from inside the script using: {m}isc me

Re: New feature: bind layout of windows to keys?

2006-06-08 Thread Ilya
Yakov Lerner wrote: On 6/8/06, Markus Mottl <[EMAIL PROTECTED]> wrote: Hi, I'm new to the developer list so I don't know whether this has already been discussed here. One thing I encounter frequently is that I have tons of open buffers, especially also from different projects, and I would like

Re: New feature: bind layout of windows to keys?

2006-06-08 Thread Ilya
Markus Mottl wrote: Hi, I'm new to the developer list so I don't know whether this has already been discussed here. One thing I encounter frequently is that I have tons of open buffers, especially also from different projects, and I would like to switch between sets of windows very quickly. It

Re: matchparen bug?

2006-06-06 Thread Ilya
Benji Fisher wrote: Perhaps you have set 'matchpairs' so that it does not include "[:]"? matchpairs does include "[:]" - as by default. And brackets are highlighted when cursor is near one of them. Since you snipped the three sample lines, here is another example: long line

Re: matchparen bug?

2006-06-05 Thread Ilya
Benji Fisher wrote: I can reproduce it. Perhaps we just need more explicit instructions on how to reproduce it. Using the text above, go to the g:loaded_autoit_completion line and (starting in Normal mode) type $i to reproduce. I can see the problem in $VIMRUNTIME/plugin/ma

Redraw bug on WinXP with non-GUI tab line.

2006-06-01 Thread Ilya
Hello. I've found bug in vim version VIM - Vi IMproved 7.0 (2006 May 7, compiled May 25 2006 04:17:33) MS-Windows 32 bit GUI version with OLE support Included patches: 1-17 In case incremental search is on, tab line some times is not visible. Steps to reproduce: gvim -u NONE -U NONE :e 1.txt

Re: matchparen bug?

2006-06-01 Thread Ilya
Jared wrote: [...] When I'm in Insert mode and moving across lines, if the cursor passes over a paren (defined here as any character in the matchpairs option), the cursor will stay in the column position when moving to the next line. See the following code for an example: let g:loaded_autoit_co

Re: Runtime error in explorer.exe when right clicking with vim70f gvimext.dll installed

2006-05-29 Thread Ilya
Mathias Michaelis wrote: Hello Vim List I have a similar problem with the final vim 7.0, if I try to compile it with Microsoft Visual Studio 2005 Express Edition. I don't get a runtime error, but simply get no "Edit with vim ..." context menu entries when I right-click on any file. Solution

Re: Using py commands to evaluate text for balloon commands..

2006-05-24 Thread Ilya
Mohsin wrote: I am trying to use the ':py' interface to evaluate text under cursor and show the result in a balloon text. I got the python and vim code to work easily, however I have problem communicating between the two (py and vim): 1. How do I access vim variables in py commands (like t

Re: Using py commands to evaluate text for balloon commands..

2006-05-24 Thread Ilya
Yakov Lerner wrote: [...] Note that :py commands are not available in the sandbox. I dont know whether Balloon function is executed in the sandbox. Maybe it is not (then :py is available in the Balloon func), maybe it is (then :py is not available in the Balloon func). If you find out, I'm intere

Re: new + TabEnter is crashing

2006-05-06 Thread Ilya
Eric Arnold wrote: BTW, I can't get WinDbg to recognize the .pdb files, although I've set the Symbol path to the directory containing them. Is there some trick to this? IIRU, you should set Symbol path one directory higher. At least this is true for Windows symbols. Thous are extracted to

Re: some problem with vim7f Beta

2006-04-26 Thread Ilya
Ilya wrote: Linsong wrote: Martin Stubenschrott wrote: But I am still not very clear why the first entry in the menu is not highlighted? Is it not reasonable? I don't get any point that highlighting the first entry will make the behavior unreasonable. I think there shoud be an very

Re: some problem with vim7f Beta

2006-04-26 Thread Ilya
Linsong wrote: Martin Stubenschrott wrote: But I am still not very clear why the first entry in the menu is not highlighted? Is it not reasonable? I don't get any point that highlighting the first entry will make the behavior unreasonable. I think there shoud be an very good reason and I rea

Re: Code completion and entries with duplicate 'word' attributes.

2006-04-23 Thread Ilya
Bram Moolenaar wrote: Since we are talking about completion, there is only one word to be completed "toLowerCase". That it can have different arguments doesn't matter for inserting "toLowerCase". You could have a function name ten times and need to type CTRL-N ten times to get to another word.