Re: gvim + gnome nautilus

2006-09-02 Thread Gabriel B.
On 8/30/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Gabriel B. wrote: I've used gvim with gnome for some time. Now when i try to open a file with right click in the file nautilus' icon, open with gvim. I get: Erreur détectée en traitant BufReadCmd Auto commandes pour file://*: error

Using commands that use unix EDITOR environment variable

2006-09-02 Thread Ujjal Bose
Hi , in my machine if I set EDITOR as gvim and then try to execute commands like crontab -e that invoke editors, I get a gvim window , but it does not open my existing crontab file, nor does it allow me to do any changes. But if I set the EDITOR as vi , everything works. Any clues ? -Ujjal

Re: unmatched strings

2006-09-02 Thread Peter Hodge
--- Tim Chase [EMAIL PROTECTED] wrote: Is there a way to highlight unmatched strings for and ' in a syntax file? What is an unmatched string? Here's two matches which will find a string that extends to the end of the line: syntax match Error /\%(\\.\|[^]\)*$/ syntax match Error

bug in confirm() and default option

2006-09-02 Thread Hari Krishna Dara
According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both default to 1 instead. Is there another trick to not select any of the choices? -- Thanks, Hari

Re: Vim BOF session

2006-09-02 Thread Kim Schulz
On Fri, 01 Sep 2006 18:55:07 -0400 Robert Hicks [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Greetings, Vim users. I am hosting a Vim BOF at the upcoming O'Reilly Open Source Convention: Title: Vim 8? Date: Tuesday, 19 September 2006 Time: 20:30 - 21:30

Re: Using commands that use unix EDITOR environment variable

2006-09-02 Thread Benji Fisher
On Sat, Sep 02, 2006 at 12:02:02PM +0530, Ujjal Bose wrote: Hi , in my machine if I set EDITOR as gvim and then try to execute commands like crontab -e that invoke editors, I get a gvim window , but it does not open my existing crontab file, nor does it allow me to do any changes. But if I

Re: bug in confirm() and default option

2006-09-02 Thread Benji Fisher
On Sat, Sep 02, 2006 at 12:05:57AM -0700, Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both default to 1 instead. Is there

Re: Using commands that use unix EDITOR environment variable

2006-09-02 Thread Ujjal Bose
I think the problem is that, by default, gvim forks and immediately returns control to the calling process. Try setting EDITOR to vim or to gvim --nofork. HTH --Benji Fisher Thanks Benji, gvim --nofork works ! Thanks again. -Ujjal

Re: gvim + gnome nautilus

2006-09-02 Thread A.J.Mechelynck
Gabriel B. wrote: On 8/30/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Gabriel B. wrote: I've used gvim with gnome for some time. Now when i try to open a file with right click in the file nautilus' icon, open with gvim. I get: Erreur détectée en traitant BufReadCmd Auto commandes pour

Re: Vim BOF session

2006-09-02 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Dnia sobota, 2 września 2006 04:21, Gabriel B. napisał: [...] - Internal grep; works on all platforms, searches compressed files now, this i feel like making the same rant as the spell check. Why? oh why? think of the children! !grep Internal grep is godsend

Re: Vim BOF session

2006-09-02 Thread A.J.Mechelynck
Elliot Shank wrote: Robert Hicks wrote: Bram Moolenaar wrote: I am hosting a Vim BOF at the upcoming O'Reilly Open Source Convention: I can't be there but... fix problems and fine tune existing features? Yes Since this is turning into a wish list thread... Mac version: Get the ... .swp

Re: Vim BOF session

2006-09-02 Thread drchip
Quoting Kim Schulz [EMAIL PROTECTED]: Sessions: Sessions are great and I use it all the time. It does however have a single problem that irritates me. It does not save information about how the windows, tabs, buffers etc. are placed individually. This makes it really annoying when you, like

Re: Vim BOF session

2006-09-02 Thread Elliot Shank
A.J.Mechelynck wrote: Elliot Shank wrote: Can't you hit the corresponding letter? [O]pen readonly, (E)dit anyway, (R)ecover, (Q)uit, (A)bort, (D)elete Nope. The dialog is completely unresponsive to any key other than return/enter. There is also the c flag in 'guioptions' if you prefer text

Modify flag

2006-09-02 Thread Shashi Kumar
How can I disable automatic setting of the modified flag or auto save option? I have set some option with which I think VIM is automatically saving the file thus changing the timestamp of the file. This poses a problem when I open header files especially when the target I need to build has a lot

Re: Vim BOF session

2006-09-02 Thread Nicolas Weber
Hi, Nope. The dialog is completely unresponsive to any key other than return/enter. I'm doing some work on the mac port. This will be fixed in the next two months (I hope :-P). You don't understand: switching between windows and switching between applications are two different things

Re: Modify flag

2006-09-02 Thread Yakov Lerner
On 9/2/06, Shashi Kumar [EMAIL PROTECTED] wrote: How can I disable automatic setting of the modified flag or auto save option? I have set some option with which I think VIM is automatically saving the file thus changing the timestamp of the file. This poses a problem when I open header files

Re: bug in confirm() and default option

2006-09-02 Thread Hari Krishna Dara
On Sat, 2 Sep 2006 at 8:20am, Benji Fisher wrote: On Sat, Sep 02, 2006 at 12:05:57AM -0700, Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and

Re: bug in confirm() and default option

2006-09-02 Thread Hari Krishna Dara
On Sat, 2 Sep 2006 at 2:25pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both default to 1

Re: Vim BOF session

2006-09-02 Thread A.J.Mechelynck
Elliot Shank wrote: A.J.Mechelynck wrote: Elliot Shank wrote: Can't you hit the corresponding letter? [O]pen readonly, (E)dit anyway, (R)ecover, (Q)uit, (A)bort, (D)elete Nope. The dialog is completely unresponsive to any key other than return/enter. There is also the c flag in

Re: Vim BOF session

2006-09-02 Thread Kim Schulz
On Sat, 2 Sep 2006 13:00:32 -0700 Max Dyckhoff [EMAIL PROTECTED] wrote: Omnicompletion++: --- (snip!) (and please kill the pink color - it is really ugly) I don't really have any other comments, other than you can change the pink by adding this to your .vimrc:

Re: Modify flag

2006-09-02 Thread A.J.Mechelynck
Shashi Kumar wrote: How can I disable automatic setting of the modified flag or auto save option? I have set some option with which I think VIM is automatically saving the file thus changing the timestamp of the file. This poses a problem when I open header files especially when the target I

:cd and :E

2006-09-02 Thread Paul Irofti
Hi vim(m?)ers, If I :cd to another directory and then :E to browse through I get the directory where the current buffer resides. Is this correct/wanted behavior? And if so why? Thanks, Paul.

RE: :cd and :E

2006-09-02 Thread Max Dyckhoff
From :help :E, it looks like it is the correct behaviour. :Explore[!] [dir]... Explore directory of current file If you want to explore an arbitrary directory, then just add the directory that you :cd into to the :E command. I don't know of a command to browse the current working

Fwd: Re: :cd and :E

2006-09-02 Thread Paul Irofti
It's to late apparently, it seems I only replied to Max, sorry about that too. :-( -- Forwarded Message -- Subject: Re: :cd and :E Date: Sunday 03 September 2006 01:10 From: Paul Irofti [EMAIL PROTECTED] To: Max Dyckhoff [EMAIL PROTECTED] On Sunday 03 September 2006 01:08,

RE: :cd and :E

2006-09-02 Thread Max Dyckhoff
I am so dense sometimes, I should have thought of that instantly :) Max -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Saturday, September 02, 2006 3:45 PM To: Max Dyckhoff Cc: Paul Irofti; vim@vim.org Subject: Re: :cd and :E Max Dyckhoff wrote: From

Re: :cd and :E

2006-09-02 Thread Paul Irofti
On Sunday 03 September 2006 01:47, Max Dyckhoff wrote: I am so dense sometimes, I should have thought of that instantly :) Max -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Saturday, September 02, 2006 3:45 PM To: Max Dyckhoff Cc: Paul Irofti;

Re: :cd and :E

2006-09-02 Thread drchip
Quoting Paul Irofti [EMAIL PROTECTED]: If I :cd to another directory and then :E to browse through I get the directory where the current buffer resides. Is this correct/wanted behavior? And if so why? You might also want to consider setting g:netrw_keepdir=0 in your .vimrc. By default

Re: Problem with 'lisp' and commented sexps

2006-09-02 Thread Yang
On 9/2/06, A.J.Mechelynck antoine.mechelynck-at-skynet.be |vim| ... wrote: Yang wrote: There seems to be an 'undocumented feature' when editing Lisp files with the 'lisp' option set. I can no longer % between matching s-expressions []{}() if they are in comments and on newlines, e.g. in: ;;

Re: Problem with 'lisp' and commented sexps

2006-09-02 Thread A.J.Mechelynck
Yang wrote: On 9/2/06, A.J.Mechelynck antoine.mechelynck-at-skynet.be |vim| ... wrote: Yang wrote: There seems to be an 'undocumented feature' when editing Lisp files with the 'lisp' option set. I can no longer % between matching s-expressions []{}() if they are in comments and on newlines,

Re: Thank you for Vim7 scripting improvements

2006-09-02 Thread A.J.Mechelynck
Hari Krishna Dara wrote: I just want to thank Bram specially for all the scripting related improvements that were done in Vim7. After converting most of my plugins to use Lists instead of multvals plugin, other than having a cleaner and more compact code, my productivity has improved

Re: Thank you for Vim7 scripting improvements

2006-09-02 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 6:23am, A.J.Mechelynck wrote: Hari Krishna Dara wrote: I just want to thank Bram specially for all the scripting related improvements that were done in Vim7. After converting most of my plugins to use Lists instead of multvals plugin, other than having a cleaner and

Re: case insensitive glob (fwd)

2006-09-02 Thread Hari Krishna Dara
On Fri, 1 Sep 2006 at 11:19pm, Eddy Zhao wrote: Sorry, forget to mention, I'm using vim on linux. 2006/9/1, Eddy Zhao [EMAIL PROTECTED]: Hi, I'm using vim 7.0, and find glob is case-sensitive. Is there way to make glob case-insensitive ? I'm asking this because some plugin (like

Re: Fixing cweb.vim

2006-09-02 Thread Benji Fisher
On Sat, Sep 02, 2006 at 01:36:06AM +0300, Ilya wrote: 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

Patch 7.0.078

2006-09-02 Thread Bram Moolenaar
Patch 7.0.078 Problem:There are two error messages E46. Solution: Change the number for the sandbox message to E794. Files: src/globals.h *** ../vim-7.0.077/src/globals.hSun Apr 30 20:32:38 2006 --- src/globals.h Sat Sep 2 13:12:55 2006 *** *** 1441,1447

Re: session-file problem in presence of 'set acd'

2006-09-02 Thread Bram Moolenaar
Yakov Lerner wrote: Don't keep 'autochdir' set all the time, some things won't work. Hmmm why, I always been having 'set acd' in my .vimrc for years; and everyhing works just fine. It's convenient. I never had problems. At least a few plugins don't work with 'acd'. Some of them got fixed

Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-02 Thread Bram Moolenaar
Alexey Froloff wrote: * Bram Moolenaar Bram@ [060902 00:28]: Better solution: keep tutor.ru.utf-8, generate .cp1251 and .koi8 From it and detect all encodings in tutor.vim. vimtutor will fall back to english in unsupported locales (ru_RU.ISO8859-5) for example. I checked the

Re: Syntax matching. extend inside normal inside keepend

2006-09-02 Thread Yakov Lerner
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 (enclosed in {}), strings (enclosed

Patch 7.0.079

2006-09-02 Thread Bram Moolenaar
Patch 7.0.079 Problem:Russian tutor doesn't work when 'encoding' is utf-8. Solution: Use tutor.ru.utf-8 as the master, and generate the other encodings from it. Select the right tutor depending on 'encoding'. (Alexey Froloff) Files: runtime/tutor/Makefile,

Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-02 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [060902 16:23]: Thanks. I notice you rename tutor.ru to tutor.ru.koi8. Is there anything against keeping the old name? It's because tutor.ru is default file. Now there's no such thing like default russian encoding. I think it's better check if current locale is

Re: vim mailing lists

2006-09-02 Thread Gautam Iyer
On Fri, Sep 01, 2006 at 10:18:35PM +0200, Bram Moolenaar wrote: Apparently the sorbs blacklist mechanism is still being used, causing trouble for some people. I have asked the mail server maintainer to remove sorbs a few times now... Twice recently, sorbs has bounced my

Re: vim mailing lists

2006-09-02 Thread Bram Moolenaar
Gautam Iyer wrote: On Fri, Sep 01, 2006 at 10:18:35PM +0200, Bram Moolenaar wrote: Apparently the sorbs blacklist mechanism is still being used, causing trouble for some people. I have asked the mail server maintainer to remove sorbs a few times now...