Patch (unofficial): OLE SNIFF enabled gvim crashes on Windows by closing

2006-06-12 Thread Mathias Michaelis
Patch (unofficial) Problem:OLE SNIFF enabled gvim crashes on Windows by issuing the command :q after 10 minutes Solution: Do translate and dispatch all messages. They may be addressed to some thread of hidden window created by the os. Files: src/gui_w48.c ***

Extra file descriptor callbacks

2006-06-12 Thread Brad Beveridge
Hello all, I am involved in a project that has embedded ECL (http://ecls.sourceforge.net/), a Lisp interpreter into Vim. Our end goal for the project involves having Lisp code inside of Vim respond to incoming data from a socket, so we also have a patch that allows us to register callbacks that

vim documentation about marks/file-marks

2006-06-12 Thread Marc Weber
Suggestion: change === *m* *mark* *Mark* m{a-zA-Z} Set mark {a-zA-Z} at cursor position (does not move the cursor, this is not a motion

Re: Problem with example in :help complete()

2006-06-12 Thread Gerald Lai
On Mon, 12 Jun 2006, A.J.Mechelynck wrote: Gerald Lai wrote: On Sun, 11 Jun 2006, A.J.Mechelynck wrote: Gerald Lai wrote: Hi all, [On Windows Vim 7.0, binary at ftp://ftp.vim.org/pub/vim/pc/gvim70.exe] I'm having trouble getting the example in :help complete() to work. When I hit F5 in

negative match pattern, again

2006-06-12 Thread Yakov Lerner
I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex. I think I need to use \ ^.*foo\^XXX$ and then put, in place of XXX, the pattern that matches anything not containing /)\s*;/. How do I

Re: negative match pattern, again

2006-06-12 Thread Tim Chase
I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex. Well, there are several ways to go about it. One would be to use Dr. Chip's logipat script: http://vim.sourceforge.net/scripts/script.php?script_id=1290

Re: negative match pattern, again

2006-06-12 Thread Benji Fisher
On Mon, Jun 12, 2006 at 02:42:18PM +, Yakov Lerner wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex. I think I need to use \ ^.*foo\^XXX$ and then put, in place of XXX,

Re: negative match pattern, again

2006-06-12 Thread Yakov Lerner
On 6/12/06, Tim Chase [EMAIL PROTECTED] wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex. Well, there are several ways to go about it. One would be to use Dr. Chip's logipat script:

Re: Positioning on a given char offset

2006-06-12 Thread Mathias Michaelis
Hi Fabio Eg. it does not warn me about an error on line 12, but at the char 2032 Is there any command in Vim to position to that char offset? Maybe :2032go ? With kind regards Mathias

Re: Positioning on a given char offset

2006-06-12 Thread A.J.Mechelynck
Fabio Rotondo wrote: Hi, I have this problem: a program of mine is giving me error positions based on the file offset and not the line containing the error. Eg. it does not warn me about an error on line 12, but at the char 2032 Is there any command in Vim to position to that char offset?

Re: Positioning on a given char offset

2006-06-12 Thread Tim Chase
I have this problem: a program of mine is giving me error positions based on the file offset and not the line containing the error. Eg. it does not warn me about an error on line 12, but at the char 2032 Is there any command in Vim to position to that char offset? If the data is on one line,

Re: negative match pattern, again

2006-06-12 Thread Charles E Campbell Jr
Yakov Lerner wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex. I think I need to use \ ^.*foo\^XXX$ and then put, in place of XXX, the pattern that matches anything not

Re: negative match pattern, again

2006-06-12 Thread Yakov Lerner
On 6/12/06, Benji Fisher [EMAIL PROTECTED] wrote: On Mon, Jun 12, 2006 at 02:42:18PM +, Yakov Lerner wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex. I think I need to use \

Re: negative match pattern, again

2006-06-12 Thread Yakov Lerner
On 6/12/06, Gerald Lai [EMAIL PROTECTED] wrote: On Mon, 12 Jun 2006, Gerald Lai wrote: On Mon, 12 Jun 2006, Yakov Lerner wrote: On 6/12/06, Tim Chase [EMAIL PROTECTED] wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line.

Re: negative match pattern, again

2006-06-12 Thread Gerald Lai
On Mon, 12 Jun 2006, Yakov Lerner wrote: On 6/12/06, Gerald Lai [EMAIL PROTECTED] wrote: On Mon, 12 Jun 2006, Gerald Lai wrote: On Mon, 12 Jun 2006, Yakov Lerner wrote: On 6/12/06, Tim Chase [EMAIL PROTECTED] wrote: I need to match lines using g// (not v//); those lines having 'foo'

Re: negative match pattern, again

2006-06-12 Thread Charles E Campbell Jr
Gerald Lai wrote: On Mon, 12 Jun 2006, Gerald Lai wrote: On Mon, 12 Jun 2006, Yakov Lerner wrote: On 6/12/06, Tim Chase [EMAIL PROTECTED] wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/ anywhere in the line. How do I write such regex.

Re: negative match pattern, again

2006-06-12 Thread Gerald Lai
On Mon, 12 Jun 2006, Charles E Campbell Jr wrote: Gerald Lai wrote: On Mon, 12 Jun 2006, Gerald Lai wrote: On Mon, 12 Jun 2006, Yakov Lerner wrote: On 6/12/06, Tim Chase [EMAIL PROTECTED] wrote: I need to match lines using g// (not v//); those lines having 'foo' and NOT having /)\s*;/

Re: negative match pattern, again

2006-06-12 Thread Charles E Campbell Jr
Gerald Lai wrote: In the same context, pat1 should instead be: /^\%(.*bar\)[EMAIL PROTECTED] and both patterns match the same. And so they do! (with your pattern having .* again, which is unnecessary for :g... as you mentioned). Regards, Chip Campbell

Re: Calling through a function reference with a variable argument list

2006-06-12 Thread Hari Krishna Dara
On Mon, 12 Jun 2006 at 4:07pm, Charles E Campbell Jr wrote: Bob Hiestand wrote: On 6/2/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Bob Hiestand wrote: My question is whether there is a simpler way to pass an unknown number of arguments from the current function to a

Re: non-latin characters aren't displayed correctly in Windows menu

2006-06-12 Thread A.J.Mechelynck
Mojca Miklavec wrote: On 6/12/06, A.J.Mechelynck wrote: Mojca Miklavec wrote: Hello, I translated the menus for gvim and wanted to use them under windows, but the non-latin characters simply don't show in the menu (other characters are shown instead: squares š and ž and some other

Re: negative match pattern, again

2006-06-12 Thread Edward Wong
It follows the general form of a negative line search for embedded search: /^\%(.*[limit0.*]search[.*limit1]\)[EMAIL PROTECTED] For example, to match a line that contains foo but does not contain bar between big and tummy: /\%(.*big.*bar.*tummy\)[EMAIL PROTECTED] Learn a lot more