Re: Patch: Make_mvc.mak creates an empty gvim.exe.mnf file

2006-06-19 Thread Mathias Michaelis
Bram Patch Problem:Make_mvc.mak creates an empty gvim.exe.mnf file (or stops with an error message). Solution: Don't use 'echo' to create files. Use inline files instead. Files: src/Make_mvc.mak Before including this change I would have to check the

Re: Patch: gvimext.dll don't find MSVCR80.dll when built with VC8. No context menu entries.

2006-06-19 Thread Mathias Michaelis
Bram, George Patch 7.0.Make_GvimExt I don't have this compiler. Can someone with MSVC 2005 verify this works properly? Send me the patch and I'll try it out. Please retrieve _all_ my patches from the archive http://members.tcnet.ch/michaelis/vim/patches_vim_1.zip and pick out the

Re: PC sources lacks if_sniff.c

2006-06-19 Thread Mathias Michaelis
Bram The source archive ftp://ftp.vim.org/pub/vim/pc/vim70src.zip contains the file if_sniff.h but not the corresponding source file if_sniff.c. Has this a specific reason or has if_sniff.c simply been forgotten? The Sniff interface is something extra, you need to get it from the

Re: set readonly - strange?

2006-06-19 Thread Bram Moolenaar
Yakov Lerner wrote: In case you can't reproduce it, Bram, I' attaching the output with all escape sequences. The output was taken using vim -u /tmp/1 /tmp/1 | tee /tmp/output It clearly shows how the three delayed 'readonly readonly readonly' are printed *afer* vim uninitialized the

Re: inputlist() not functioning properly

2006-06-19 Thread Bram Moolenaar
Christian J. Robinson wrote: Today (Sun, 18 Jun 2006), Bram Moolenaar wrote: :echo inputlist(['foo', 'bar', 'baz']) If I click on foo I get -1, bar I get 0, and baz it acts like I want to start highlighting text. It works fine for me. Any idea why it doesn't work for you? I

Re: PC sources lacks if_sniff.c

2006-06-19 Thread A.J.Mechelynck
Mathias Michaelis wrote: Bram The source archive ftp://ftp.vim.org/pub/vim/pc/vim70src.zip contains the file if_sniff.h but not the corresponding source file if_sniff.c. Has this a specific reason or has if_sniff.c simply been forgotten? The Sniff interface is something extra, you need to

Patch 7.0.018

2006-06-19 Thread Bram Moolenaar
Patch 7.0.018 Problem:VMS: plugins are not loaded on startup. Solution: Remove ** from the path. (Zoltan Arpadffy) Files: src/main.c *** ../vim-7.0.017/src/main.c Wed May 3 23:28:15 2006 --- src/main.c Mon Jun 19 10:54:40 2006 *** *** 564,570 --- 564,574

Re: PC sources lacks if_sniff.c

2006-06-19 Thread Bram Moolenaar
Mathias Michaelis wrote: The source archive ftp://ftp.vim.org/pub/vim/pc/vim70src.zip contains the file if_sniff.h but not the corresponding source file if_sniff.c. Has this a specific reason or has if_sniff.c simply been forgotten? The Sniff interface is something extra,

Re: set readonly - strange?

2006-06-19 Thread Yakov Lerner
On 6/19/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: After the following patch, the output is better. Two out of three 'readonly' lines are now in place. --- message.c.000 2006-06-19 02:49:34.0 +0300 +++ message.c 2006-06-19 02:52:41.0 +0300 @@

Re: syntax file for /var/log/messages

2006-06-19 Thread Bram Moolenaar
Yakov Lerner wrote: This is syntax file for /var/log/messages. Here is patch for filetype.vim: --- filetype.vim.0002006-06-12 18:47:26.0 + +++ filetype.vim2006-06-12 18:48:29.0 + @@ -888,6 +888,9 @@ Makefile au BufNewFile,BufRead

differences in regexp replace

2006-06-19 Thread Jerin Joy
Hi, I have the same version of vim installed on two different machines. The file I want to edit contains inputsignala; input signalb; I wanted to have just signala, signalb on a line so that the file looks like: signala signalb I used the regexp replace: :%s/input[\ ]\+/ /g It

Re: differences in regexp replace

2006-06-19 Thread Andrei A. Voropaev
On Mon, Jun 19, 2006 at 12:20:10PM +0530, Jerin Joy wrote: Hi, I have the same version of vim installed on two different machines. The file I want to edit contains inputsignala; input signalb; I wanted to have just signala, signalb on a line so that the file looks like:

Re: differences in regexp replace

2006-06-19 Thread Jerin Joy
hi, It was actually a \t and not a space. thanks! Jerin On 6/19/06, Andrei A. Voropaev [EMAIL PROTECTED] wrote: On Mon, Jun 19, 2006 at 12:20:10PM +0530, Jerin Joy wrote: Hi, I have the same version of vim installed on two different machines. The file I want to edit contains input

Re: Making Omni Complete suggest but not complete

2006-06-19 Thread Linsong
Jared Parsons wrote: Is there any way to make omni complete popup a list of suggestions but not immediately add one of them to the buffer? I find omni complete very useful but it's incredibly annoying that it auto-chooses one of the entries. I'd prefer it popup the list of suggestions but not

Re: Backspace and Delete working same way. delete after cursor

2006-06-19 Thread Gerald Lai
On Mon, 19 Jun 2006, Sushmit Khanna wrote: Hi, I was initially having some problems with backspace key, specially in insert mode. In insert mode I was getting the ^? signs when backspace is pressed. This got fixed by :fixdel Now the issue is that the backspace is not deleting chars *before*

Re: When is a syntax file too big?

2006-06-19 Thread Bram Moolenaar
Peter Hodge wrote: I have recently taken over maintainance of the PHP syntax file which was rather neglected for around 2 years. PHP is growing quite rapidly and unfortunately that means that by now there are well over 1700 keywords which need to be correctly identified, and my next release

Re: gvim when x server is shut down

2006-06-19 Thread Bram Moolenaar
Dennis Nezic wrote: when i exit my wm (e16), since it doesn't (and shouldn't) close any other programs, gvim is stuck without an x server, and doesn't handle this loss gracefully. effectively, it's as if it was kill -9'ed ... and thus leaves temporary files behind, which i later

Vim version 7.0 also for OS/2

2006-06-19 Thread Bram Moolenaar
The Vim 7.0 binaries for OS/2 are now also available. Thanks to David Sanders for making these. You can find the Vim 7.0 files here: ftp://ftp.vim.org/pub/vim/ Or see ftp://ftp.vim.org/pub/vim/MIRRORS for alternate servers. os2/vim70rt.tgz runtime files os2/vim70os2.tgz

Re: Backspace and Delete working same way. delete after cursor

2006-06-19 Thread Sushmit Khanna
Thanks Gerald for pointing it out. I must have made some mistake when I tried it earlier. May be I missed out on one of the two each time I tried. As you pointed out t_kb works fine. The Backspace key had lost its correct keycode may be.. (may be because of a changed keyboard, or using VNC etc.)

Re: Comments/Additional Notes for scripts

2006-06-19 Thread Mikolaj Machowski
Dnia niedziela, 18 czerwca 2006 22:26, A.J.Mechelynck napisaƂ: The comments section for vimtips is not very reliable (who goes back every day to see if his tips have got a new comment added to them?). Since vim-online scripts (unlike tips) require logging in, if you have a comment you can

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
Oh, I can't remember if I said this, but I am running the v7.0 on WindowsXP... -Original Message- From: Yakov Lerner [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 2:41 AM To: A.J.Mechelynck Cc: Pettis, Matthew (TLR Corp); vim@vim.org Subject: Re: Newbie notation question:

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
Hi All, Thanks for the response from both of you... Sadly the backslash isn't working... I'm on a standard QWERTY keyboard in the U.S I'm not sure what the rest of the specs for the keyboard are, but it has the F1-F12 keys and a 'Windows' key on the lower left, as well as ESC, ALT, Ctrl...

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
The backslash key does work in insert mode... It is right above my 'ENTER' key on my keyboard. In insert mode, it behaves like any other ascii character typed from the keyboard. -Original Message- From: Yakov Lerner [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 9:07 AM Cc:

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
The first two have 'no mapping found' as their response, and the last command has: n \ups :call Perl_Handle()CR n \lps :call Perl_Handle()CR -Original Message- From: Yakov Lerner [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 9:22 AM To: Pettis, Matthew

Re: Vim The Magazine.

2006-06-19 Thread Bram Moolenaar
Justin Haynes wrote: Perhaps you have already seen this lovely piece of Americana: http://www.classicbodybuilders.com/bodybuilder/waltbaptiste2.jpg I was amused, and hope you will be too. I had heard about the magazine, but this picture is very appropriate, a typical Vim user! :-) --

Re: Comments/Additional Notes for scripts

2006-06-19 Thread Thomas
The comments section for vimtips is not very reliable (who goes back every day to see if his tips have got a new comment added to them?). Since vim-online scripts (unlike tips) require logging in, if you have a comment you can email the maintainer. A forum that generates an rss feed for new

Re: Newbie notation question: hotkeys

2006-06-19 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: The first two have 'no mapping found' as their response, and the last command has: n \ups :call Perl_Handle()CR n \lps :call Perl_Handle()CR -Original Message- From: Yakov Lerner [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006

Editing an html file with vi

2006-06-19 Thread Adnan Ali
I am not such an advanced user of vi, still I like to stick with it for whatever text I do. I learn along my work. Today, I tried to edit some .html files with vi. However, when I do $vi index.html it opens the html file like a browser i.e. not the complete text along with html tags, but the

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
Ok, so I assume this means to type '\lps' in normal mode in Vim... I did, and then retried ':map \cu', and got the same 'no mapping found' message. Was this the correct procedure? Thanks, Matt -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Monday, June 19,

Editing an html file with vi

2006-06-19 Thread Adnan Ali
I am not such an advanced user of vi, still I like to stick with it for whatever text I do. I learn along my work. Today, I tried to edit some .html files with vi. However, when I do $vi index.html it opens the html file like a browser i.e. not the complete text along with html tags, but the

Re: Editing an html file with vi

2006-06-19 Thread Yakov Lerner
On 6/19/06, Adnan Ali [EMAIL PROTECTED] wrote: I am not such an advanced user of vi, still I like to stick with it for whatever text I do. I learn along my work. Today, I tried to edit some .html files with vi. However, when I do $vi index.html it opens the html file like a browser i.e. not the

Re: Editing an html file with vi

2006-06-19 Thread Peter Palm
Op maandag 19 juni 2006 17:04, schreef Adnan Ali: I am not such an advanced user of vi, still I like to stick with it for whatever text I do. I learn along my work. Today, I tried to edit some .html files with vi. However, when I do $vi index.html it opens the html file like a browser i.e.

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
One thing... I looked through some of the downloads that came with this, and I see that it has a 'perl.vim' file that looks like it should have the mappings (however, I am only incompletely guessing at the meaning of the syntax). An excerpt looks like: nmapbuffer silent

RE: Working directory problems

2006-06-19 Thread Max Dyckhoff
I'm trying to identify a pattern in the madness, but so far as I can see it is just randomly. Sometimes I think I have found concrete reproduction steps, but then I repeat them in a clean environment and it doesn't happen, but a while later it happens again. Give me time, I'll get to the bottom of

alt keys in bash

2006-06-19 Thread Mike
I am switching from windows to linux for my development environment, and working on 'porting' my .vimrc file. I have tons of Alt key remappings, but I am having trouble getting them working in plain vim (i.e. not gvim) from a bash shell. For instance, the mapping :inoremap a-b foo does not

RE: Making Omni Complete suggest but not complete

2006-06-19 Thread Jared Parsons
-Original Message- From: Linsong [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 12:58 AM To: Jared Parsons Cc: vim@vim.org Subject: Re: Making Omni Complete suggest but not complete Jared Parsons wrote: Is there any way to make omni complete popup a list of suggestions

Re: Editing an html file with vi

2006-06-19 Thread Adnan Ali
--- Yakov Lerner [EMAIL PROTECTED] wrote: On 6/19/06, Adnan Ali [EMAIL PROTECTED] wrote: I am not such an advanced user of vi, still I like to stick with it for whatever text I do. I learn along my work. Today, I tried to edit some .html files with vi. However, when I do $vi

RE: Quick Word Yank/Replace

2006-06-19 Thread Erik Alfkin
I would use v w to highlight the word and then use p to replace it. -Original Message- From: Vigil [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 9:44 AM To: Vim Mailing List Subject: Quick Word Yank/Replace What would be the quickest way of yanking one word and replacing another

vim7 rpm available for fedora?

2006-06-19 Thread Jason Aeschilman
Is there a vim7 rpm for Fedora? If so, please post a link to it. Thanks.

Re: Quick Word Yank/Replace

2006-06-19 Thread Tim Chase
What would be the quickest way of yanking one word and replacing another word with it? Something that doesn't involve specifying registers, because that would require too many keystrokes and I might as well use cw and type the word myself then. You don't mention whether you only want to do this

RE: Newbie notation question: hotkeys

2006-06-19 Thread matt.pettis
I contacted the developer to see if it was a stupidity problem on my part, or if there was a known problem. Turns out, there is a known problem. Thanks, matt -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 10:00 AM To: Pettis, Matthew (TLR

Re: vim7: E788 is too restrictive

2006-06-19 Thread Hari Krishna Dara
On Sun, 18 Jun 2006 at 11:26pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: It seems like I am getting E788 error too often, without much reason. The latest is for the :compiler command that is being executed from a ftplugin. I narrowed it down to the command itself, not the compiler

Re: vim7: E788 is too restrictive

2006-06-19 Thread Bram Moolenaar
Hari Krishna Dara wrote: The previous time I got E788 was in my FileChangedShell handler. Prior to 7.0, since there was no v:fcs_reason support, I had to jump to the buffer for which the event got triggered and conditionally reload the buffer, but now this is no longer allowed. The

Re: vim7: E788 is too restrictive

2006-06-19 Thread Hari Krishna Dara
On Mon, 19 Jun 2006 at 9:48pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: The previous time I got E788 was in my FileChangedShell handler. Prior to 7.0, since there was no v:fcs_reason support, I had to jump to the buffer for which the event got triggered and conditionally

Re: vim7: redir not working inside -complete=custom function

2006-06-19 Thread Hari Krishna Dara
On Sun, 18 Jun 2006 at 11:26pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: I have a command with custom completion function that employs the :redir mechanism to determines the matches. This used to work fine in Vim6.3, but is broken in Vim7.0. I don't see any sandbox restrictions

Re: vim7: another bug with ins-mode-completion

2006-06-19 Thread Edward Wong
Yes. I can reproduce it as well. I'm using the same version as Hari. :) $ gvim --version VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:23:43) MS-Windows 32 bit GUI version with OLE support Compiled by [EMAIL PROTECTED] -- Ed On 6/20/06, Hari Krishna Dara [EMAIL PROTECTED]

Problem with GTK-1 executables when 'spell' and 'incsearch' are both set

2006-06-19 Thread Mun Johl
Hi all, I'm resending the following email with a more descriptive title. On Fri, Jun 02, 2006 at 12:17 PM PDT, Charles E. Campbell, Jr. wrote: ... Text Deleted ... CECJ I suggest narrowing down the problem. CECJ CECJ vim -u NONE -U NONE CECJ CECJ for starters. Then try to source in a

Re: alt keys in bash

2006-06-19 Thread Vincent Wang
Gerald Lai wrote: On Mon, 19 Jun 2006, Mike wrote: I am switching from windows to linux for my development environment, and working on 'porting' my .vimrc file. I have tons of Alt key remappings, but I am having trouble getting them working in plain vim (i.e. not gvim) from a bash shell.