Re: gVim 7.0d bug refreshing guitablabel initialized by autocmd

2006-04-17 Thread Steve Hall
On Sun, 2006-04-16 at 13:03 +0200, Bram Moolenaar wrote: Steve Hall wrote: I'm seeing a gVim 7.0d (GTK2) bug in refreshing the GUI tab bar. When a guitablabel is set by autocmd (VimEnter, BufEnter, etc), the results aren't actually shown until the Vim window is refreshed, such as with

vim70e, can't get rid of some buffers

2006-04-17 Thread Eric Arnold
I'm occasionally getting buffers that I can't get rid of. I've tried bwipe!, bdel!, etc. I don't know how to reproduce this state at will yet, but I'm wondering if I'm doing something wrong trying to delete/wipe, or if there is something else to try to diagnose it. As best as I can tell, they

Re: Using args argdo to change many files regarding a pattern spanning 3 lines

2006-04-17 Thread Yakov Lerner
On 4/17/06, Eric Arnold [EMAIL PROTECTED] wrote: Are you saying that your substitution works for one file but not for many with argo? Anyway, specifying ^M isn't very portable, so you probably want \n instead. Also, you can save yourself using \/ everywhere by using

gvim not reading gvimrc

2006-04-17 Thread Anthony Campbell
I've just had to reinstall vim after a crash of X on my Debian system (Sid) Vim reads its .vimrc file correctly but gvim does not read .gvimrc. Instead it seems to be reading some other configuration file with different mappings and the wrong font. I cannot source my gvimrc file, even with an

Re: gvim not reading gvimrc

2006-04-17 Thread Anthony Campbell
On 17 Apr 2006, Yakov Lerner wrote: On 4/17/06, Anthony Campbell [EMAIL PROTECTED] wrote: I've just had to reinstall vim after a crash of X on my Debian system (Sid) Vim reads its .vimrc file correctly but gvim does not read .gvimrc. Instead it seems to be reading some other

Re: patched ctags

2006-04-17 Thread Bram Moolenaar
Marc Chantreux wrote: i'm trying to use ft-c-omni. I've patched and recompiled ctags and tried to use it. The omnicompletion c-xc-o failed. my ofu is correct but i think the problem is that ctags doesn't store informations about my structure. If someone can help, here are the facts : %

Re: gvim not reading gvimrc -SOLVED

2006-04-17 Thread Anthony Campbell
On 17 Apr 2006, Anthony Campbell wrote: On 17 Apr 2006, Yakov Lerner wrote: On 4/17/06, Anthony Campbell [EMAIL PROTECTED] wrote: I've just had to reinstall vim after a crash of X on my Debian system (Sid) Vim reads its .vimrc file correctly but gvim does not read .gvimrc.

Re: Segv with gvim 7.d and 7.e

2006-04-17 Thread Benji Fisher
Did you try the suggestions from my first reply to make sure you were using the version you thought you were? If you have multiple copies of vim installed in various places, it can get confusing. Perhaps it would help to run $ make test $ make install and check the second one for

How do I get rid of null characters?

2006-04-17 Thread Robert Hicks
I have a log that has embedded null characters (i.e ^@). I need to get rid of them all. Robert

Re: How do I get rid of null characters?

2006-04-17 Thread Yakov Lerner
On 4/17/06, Robert Hicks [EMAIL PROTECTED] wrote: I have a log that has embedded null characters (i.e ^@). I need to get rid of them all. :map F2 :s/C-V000//gcr Then press F2 Yakov

Re: How do I get rid of null characters?

2006-04-17 Thread Robert Hicks
Yakov Lerner wrote: On 4/17/06, Robert Hicks [EMAIL PROTECTED] wrote: I have a log that has embedded null characters (i.e ^@). I need to get rid of them all. :map F2 :s/C-V000//gcr Then press F2 Yakov Thank you! Rober

RE: RFC: Indexing help files[was: Re: which vim option]

2006-04-17 Thread Suresh Govindachar
Yakov Lerner wrote: On 4/17/06, Eddy Petrisor [EMAIL PROTECTED] wrote: On 4/17/06, Eric Arnold [EMAIL PROTECTED] wrote: It's a bit confusing what you are looking for. You originally asked for an index of keywords, but here you're asking for contents. Both are indexed,

Re: RFC: Indexing help files[was: Re: which vim option]

2006-04-17 Thread Eric Arnold
Remember that the regexp can be given as: :helpgrep \(keyword1\|keyword2\) or :helpgrep \(.*keyword1\.*keyword2\) if you need more complex list searches.

Re: How do I get rid of null characters?

2006-04-17 Thread Eric Arnold
You've gotta be careful about nulls. Vim stores newlines (^J) as nulls in some cases, so you might be getting rid of more than you wanted. On 4/17/06, Robert Hicks [EMAIL PROTECTED] wrote: I have a log that has embedded null characters (i.e ^@). I need to get rid of them all. Robert

Re: Segv with gvim 7.d and 7.e

2006-04-17 Thread Edward Ash
I have tried the make test, and make install. And both run with out any errors. When I do a vim --version i get the following: Did you try the suggestions from my first reply to make sure you wIM - Vi IMproved 7.0e BETA (2006 Apr 16, compiled Apr 16 2006 23:19:30) Compiled by [EMAIL

Can't compile gui version with xorg

2006-04-17 Thread Anthony Campbell
I want to compile vim6.4 for my recently upgraded xorg. This is because the Debian packages all lack the help.txt file for some reason, even though I've installed vim-doc. But vim compiles without the gui (gtk version). Any way to get it to do this? Anthony -- Anthony Campbell - [EMAIL

Re: Can't compile gui version with xorg

2006-04-17 Thread Chris Allen
On 4/17/06, Anthony Campbell [EMAIL PROTECTED] wrote: I want to compile vim6.4 for my recently upgraded xorg. This is because the Debian packages all lack the help.txt file for some reason, even though I've installed vim-doc. But vim compiles without the gui (gtk version). Any way to get it

Re: Can't compile gui version with xorg

2006-04-17 Thread Thomas Adam
--- Anthony Campbell [EMAIL PROTECTED] wrote: But vim compiles without the gui (gtk version). Any way to get it to do this? Well, can you tell us what's in config.log? I suspect you're missing some of the GTK header files, since a normal ./configure will attempt to build the X11/GUI

Re: Can't compile gui version with xorg

2006-04-17 Thread Anthony Campbell
On 17 Apr 2006, Thomas Adam wrote: --- Anthony Campbell [EMAIL PROTECTED] wrote: But vim compiles without the gui (gtk version). Any way to get it to do this? Well, can you tell us what's in config.log? I suspect you're missing some of the GTK header files, since a normal ./configure

Re: Can't compile gui version with xorg

2006-04-17 Thread Chris Allen
On 4/17/06, Anthony Campbell [EMAIL PROTECTED] wrote: I've installed libgtk2.0-dev but that doesn't do it. Do you know exactly which are the packages required? I can't find any relevant. Try along the lines of x11-dev. I'm surprised Debian would let you install the gtk development packaged

Re: Can't compile gui version with xorg

2006-04-17 Thread Anthony Campbell
On 17 Apr 2006, Chris Allen wrote: On 4/17/06, Anthony Campbell [EMAIL PROTECTED] wrote: I want to compile vim6.4 for my recently upgraded xorg. This is because the Debian packages all lack the help.txt file for some reason, even though I've installed vim-doc. But vim compiles without

Re: Can't compile gui version with xorg

2006-04-17 Thread Thor Andreassen
On Mon, Apr 17, 2006 at 04:29:30PM +0100, Anthony Campbell wrote: On 17 Apr 2006, Thomas Adam wrote: --- Anthony Campbell [EMAIL PROTECTED] wrote: But vim compiles without the gui (gtk version). Any way to get it to do this? Well, can you tell us what's in config.log? I

Re: patched ctags

2006-04-17 Thread Marc Chantreux
Hi Bram, You're right : it works when i make my structure global. thanks and regards! I think that for a structure local to a function ctags doesn't store information. You would have to move it outside of the function.

Re: Can't compile gui version with xorg

2006-04-17 Thread Anthony Campbell
On 17 Apr 2006, Thor Andreassen wrote: On Mon, Apr 17, 2006 at 04:29:30PM +0100, Anthony Campbell wrote: On 17 Apr 2006, Thomas Adam wrote: --- Anthony Campbell [EMAIL PROTECTED] wrote: But vim compiles without the gui (gtk version). Any way to get it to do this? Well,

Re: folding wierdness

2006-04-17 Thread Yakov Lerner
On 4/17/06, Daniel Nogradi [EMAIL PROTECTED] wrote: I came across a strange problem, strange at least to me. I'm using vim 6.3 on a linux box. The thing has to do with folding. If I type :setlocal foldmethod=expr :setlocal foldexpr=0 then the foldlevel of every line should be zero. This I

Re: folding wierdness

2006-04-17 Thread Daniel Nogradi
Your ':syntax' commands are not reset when you just retype them. To reset your syntax commands, you need to add something like this at the beginning of your sequence of commands: :syn clear | syn on or :syn off | syn on The 2nd point: I'm not sure if your 'syn region' accounts

Re: Duplicate tags problem

2006-04-17 Thread Jason Aeschilman
Jason Aeschilman wrote: [ about the same tag being found in two tags files ] Bram Moolenaar wrote: First of all, it's recommended to upgrade to Vim 6.4. It includes many bugfixes. But that doesn't solve this specific problem. I'll look into it. Bram, did

Re: folding wierdness

2006-04-17 Thread Yakov Lerner
On 4/17/06, Daniel Nogradi [EMAIL PROTECTED] wrote: Your ':syntax' commands are not reset when you just retype them. To reset your syntax commands, you need to add something like this at the beginning of your sequence of commands: :syn clear | syn on or :syn off | syn on The

Re: Can't compile gui version with xorg

2006-04-17 Thread Thor Andreassen
On Mon, Apr 17, 2006 at 06:01:23PM +0100, Anthony Campbell wrote: On 17 Apr 2006, Thor Andreassen wrote: On Mon, Apr 17, 2006 at 04:29:30PM +0100, Anthony Campbell wrote: On 17 Apr 2006, Thomas Adam wrote: --- Anthony Campbell [EMAIL PROTECTED] wrote: But vim compiles

Duplicate tags problem [SOLVED]

2006-04-17 Thread Jason Aeschilman
Jason Aeschilman wrote: [ about the same tag being found in two tags files ] Wow, if I use a comma instead of a semi-colon in my tags option, it will stop searching through tags files if a match is found! Before I had set tags=tags;/ (see vim tip 94) but now I have set tags=tags,../tags and it

Problems Closing The Quickfix Window

2006-04-17 Thread Tom Purl
os - Linux vim - VIM - Vi IMproved 7.0d02 BETA ant_menu - 0.5.4 I'm a bit of a newbie when it comes to quickfix, so any help you can give me would be greatly appreciated. I'm using vim with the ant_menu plugin, which integrates the Apache Ant tool with vim. Basically, by using the ,ttarget key

Re: Problems Closing The Quickfix Window

2006-04-17 Thread Tom Purl
I forgot to mention that I also tested this in vim with the following vim version and got the same results: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Feb 12 2006 15:22:23) Included patches: 1-7

Re: Problems Closing The Quickfix Window

2006-04-17 Thread Yakov Lerner
On 4/17/06, Tom Purl [EMAIL PROTECTED] wrote: os - Linux vim - VIM - Vi IMproved 7.0d02 BETA ant_menu - 0.5.4 I'm a bit of a newbie when it comes to quickfix, so any help you can give me would be greatly appreciated. I'm using vim with the ant_menu plugin, which integrates the Apache Ant

Re: Segv with gvim 7.d and 7.e

2006-04-17 Thread Edward Ash
Looks like it has something to do with the motif library that I used. I tried changing to a different version of gcc to compile and that didn't work. I didn't have another motif library on my machine, but I did find that I had GTK buried somewhere in a non default location and used that. Things

Adding a new jump to the list

2006-04-17 Thread Hari Krishna Dara
In my script, when the user presses an hyperlink, I open the file corresponding to that link and move the cursor to the right location. This for some reason is not treated as a new jump by Vim, so when the user presses ^O, he doesn't go back to the old cursor position. Is there a way to force the

Re: Adding a new jump to the list

2006-04-17 Thread Yegappan Lakshmanan
Hi Hari, On 4/17/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: In my script, when the user presses an hyperlink, I open the file corresponding to that link and move the cursor to the right location. This for some reason is not treated as a new jump by Vim, so when the user presses ^O, he

Re: Adding a new jump to the list

2006-04-17 Thread Hari Krishna Dara
On Mon, 17 Apr 2006 at 3:20pm, Yegappan Lakshmanan wrote: Hi Hari, On 4/17/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: In my script, when the user presses an hyperlink, I open the file corresponding to that link and move the cursor to the right location. This for some reason is not

Running :bufdo with eventignore=all

2006-04-17 Thread Hari Krishna Dara
In my script, I am running a :bufdo command with eventignore=all because of two main reasons: - performs better as I am not triggering any events. - doesn't interfere with plugins that deal with MRU buffer lists. This however leaves a side effect after the command is run. All the buffer go into

Re: Duplicate tags problem [SOLVED]

2006-04-17 Thread Yegappan Lakshmanan
Hi Jason, On 4/17/06, Jason Aeschilman [EMAIL PROTECTED] wrote: Jason Aeschilman wrote: [ about the same tag being found in two tags files ] Wow, if I use a comma instead of a semi-colon in my tags option, it will stop searching through tags files if a match is found! Before I had set

Re: Running :bufdo with eventignore=all

2006-04-17 Thread Eric Arnold
This is because you are ignoring the filetype event. Try a doautoall FileType when you're done. On 4/17/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: In my script, I am running a :bufdo command with eventignore=all because of two main reasons: - performs better as I am not triggering any

Re: Running :bufdo with eventignore=all

2006-04-17 Thread Hari Krishna Dara
On Mon, 17 Apr 2006 at 5:08pm, Eric Arnold wrote: This is because you are ignoring the filetype event. Try a doautoall FileType when you're done. Thanks, this means I can use :bufdo doautocmd FileType syntax, because I also use :windo and :argdo in place of :bufdo. I still wonder why the

Re: How do I get rid of null characters?

2006-04-17 Thread Robert Hicks
Eric Arnold wrote: You've gotta be careful about nulls. Vim stores newlines (^J) as nulls in some cases, so you might be getting rid of more than you wanted. Thanks for the warning. I only want to do this for one file that I have so I am not going to permanently add it to my .vimrc.