C syntax folding #if-0 omission

2006-04-24 Thread Gautam Iyer
Hi Bram, I just checked out C folding in Vim 7. Thanks a TON, it works great. Just one request though -- The #if 0 constructs don't get folded as comments do. I would suggest enabling / disabling folding of #if 0 constructs independently of the c_no_comment_fold variable, since some people use

Re: pushkeys() patch, add keys to typeahead buffer, simple

2006-04-24 Thread Bram Moolenaar
Yakov Lerner wrote: Here is another try, less instrusive. We make 'received_from_client' serve both cases, the clientserver and the pushkeys() case, only with appropriate change in ifdefs. Logic of input_available() is not intruded upon now, except for ifdefs. OK, it seems this

Re: matchlist() behavior

2006-04-24 Thread Bram Moolenaar
Srinath Avadhanula wrote: I think that the newly provided matchlist() function is very useful. However, in the following case: matchlist('aoasdf', '\v(.)(o)?(.*)') =3D ['aoasdf', 'a', 'o', 'asdf'] matchlist('aasdf', '\v(.)(o)?(.*)') =3D ['aasdf', 'a'] In other words, if pattern

Re: QuickFixCmdPost

2006-04-24 Thread Bram Moolenaar
Ciaran McCreesh wrote: On Wed, 19 Apr 2006 22:57:44 +0200 Bram Moolenaar [EMAIL PROTECTED] wrote: | Eric Van wrote: | When issuing a quickfix command the QuickFixCmdPost auto commands | fire after vim has loaded the first quickfix result. I was hoping | that this could be modified so

Re: Guitab: font size

2006-04-24 Thread Georg Dahn
Hi! What system font size are you using? Right-click on a blank spot on your desktop, Properties, Appearance, Font size. Do you have similar problems with the tabbar on other Windows apps, such as the aforementioned Display Properties dialog? Because of the high resolution of my laptop

Re: C syntax folding #if-0 omission

2006-04-24 Thread Bram Moolenaar
Gautam Iyer wrote: I just checked out C folding in Vim 7. Thanks a TON, it works great. Just one request though -- The #if 0 constructs don't get folded as comments do. I would suggest enabling / disabling folding of #if 0 constructs independently of the c_no_comment_fold variable,

Re: RFC: (x)html completion support in Vim7

2006-04-24 Thread Benji Fisher
On Thu, Apr 20, 2006 at 10:51:04PM +0200, Mikolaj Machowski wrote: Hello, I am author of (x)html completion scripts and related (php, css, javascript). I'd like to ask what you think it should like. At the beginning I was pushing for one default: XHTML 1.0 Strict. Bram didn't like it and

Re: Mappings fail me, yet again

2006-04-24 Thread Benji Fisher
On Fri, Apr 21, 2006 at 01:41:46AM +0200, Nikolai Weibull wrote: I would be able to define my long-wanted g: mapping that makes : act like an operator, i.e., first waits for a range and then starts command mode with that range on the command line: noremap silent g: Esc:set

Re: RFC: (x)html completion support in Vim7

2006-04-24 Thread Mikolaj Machowski
Dnia poniedziałek, 24 kwietnia 2006 15:00, Benji Fisher napisał: I have not looked at the structure of the completion scripts, but isn't there a way for one script to include another? Under $VIMRUNTIME/ftplugin/ the file tex.vim (for LaTeX) :source's plaintex.vim , which :source's

Vim version 7.0f BETA has been released

2006-04-24 Thread Bram Moolenaar
Announcing: Vim (Vi IMproved) version 7.0f BETA This is the fifth BETA release of Vim 7. It is looking stable and should be ready for daily use. However, there are quite a few changes compared to the previous BETA, thus more testing is required. With a bit of luck this is the last BETA

Re: QuickFixCmdPost

2006-04-24 Thread Eric Van Dewoestine
I'll move it then. Please try it out with the next snapshot. Appears to be working as expected. thanks guys. -- eric

Vim-7.0f: error in help for :tabmove

2006-04-24 Thread Gary Johnson
:help :tabmove now (in 7.0f) contains this: *:tabm* *:tabmove* :tabmove N Move the current tab page to after tab page N. Use zero to make the current tab page the first one. Without N the tab page is

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

2006-04-24 Thread Eric Van Dewoestine
Allowing duplicate entries is not that difficult. Perhaps adding an item to the dictionary for this is sufficient. Let's use dup for that. Just tested this with the latest snapshot... works like a champ. thanks for the quick turn around. -- eric

Re: matchlist() behavior

2006-04-24 Thread Srinath Avadhanula
Hi Bram, On 4/24/06, Bram Moolenaar [EMAIL PROTECTED] wrote: At least the matching submatches should be returned. When some of the last submatches don't match it would still be easy if you can access the resulting list without having to check if the item is really there. Thus matchlist()

some problem with vim7f Beta

2006-04-24 Thread Linsong
Hi, I just try the fresh vim7f Beta on my ubuntu box, found some problems: 1. the behavior of omnicompletion is changed I set completeopt=menu,preview,longest in vim7d beta, when I input something then press C-XC-O, the completion menu shows up, then as I input

Hardcopy no longer works

2006-04-24 Thread Anthony Campbell
I've always been able to print my files directly from gvim using the print command in the File menu. Now it no longer works, following recent upgrades to xorg 7.0. I think this may be something to do with a font problem, which I have solved for other apps such as muttprint and printing from slrn.

Re: Hardcopy no longer works

2006-04-24 Thread Anthony Campbell
On 24 Apr 2006, Anthony Campbell wrote: I've always been able to print my files directly from gvim using the print command in the File menu. Now it no longer works, following recent upgrades to xorg 7.0. I think this may be something to do with a font problem, which I have solved for other

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
Kyku wrote: Changing SuperTab.vim fixed the problem, thank you very much. I have one more problem with omnicomplete usability. Given the following snippet, it completes the SC-xC-ocreen( function but refuses to complete after p.WC-xC-oidth in main(). #include iostream // A nonsense

poll: pushkeys() or typeahead() ? or feedkeys() ?

2006-04-24 Thread Yakov Lerner
Please express you opinion about the best name for the new vim function. The function inserts keys to the vim typeahead queue(buffer). Candidates so far are: pushkeys() typeahead() sendkeys() feedkeys() .. Your vote ? Yakov

Re: poll: pushkeys() or typeahead() ? or feedkeys() ?

2006-04-24 Thread Eric Arnold
From the list, pushkeys() seems best. I'd nominate ungetchar() also. On 4/24/06, Yakov Lerner [EMAIL PROTECTED] wrote: Please express you opinion about the best name for the new vim function. The function inserts keys to the vim typeahead queue(buffer). Candidates so far are: pushkeys()

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
Kyku - In fact, it is a C++ program, as #include iostream might suggest. The comment should say A nonsense C++ file, sorry. In C++ one doesn't need to write 'class', 'struct' or 'union' in variables definitions. Do you also mean that ccomplete doesn't support C++ yet? 10e15 C++ users in

Font names - hint

2006-04-24 Thread dax2
Can anyone give a hint how to get font names for Vim - help advices to forget about XFLD and xfontsel. How can I designate a font like Sony Fixed 17pt alias 12x24, XFLD-name is -sony-fixed-*-*-*-*-*-170-*-*-*-*-8859-1 Font monospace\ 16 works nice from command-line but it is

Re: Need help with omnicompletions

2006-04-24 Thread Kyku
Ok, using the old saying Use the force, read the source I browsed ccomplete.vim a little. If I knew Vim scripting a little, I'd do the following: After line 406: if we're dealing with C++ file: if item['kind'] is 'c', 'u' or 's': kind2name = {'c': 'class', 'u': 'union', 's':

Re: Is there a file size limit with vim? WAS: RE: strange startup/loading error

2006-04-24 Thread Eric Arnold
Just a guess ... see if you have any .swp .swo etc files lying around, and in what condition they are in, i.e. read/write permissions (and permissions on the directory). On 4/24/06, Marc Wiatrowski [EMAIL PROTECTED] wrote: I have tried the -u NONE option... Still get the same error. Must be

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
Kyku - I wrote this pseudo-code ONLY for C++/./ If we're not dealing with C++ then the code simply doesn't execute, and you get the old behavior, so the completion WILL FAIL in C. Defining variables only with type name (and without 'struct' keyword before this type name) is a

failure to create de .spl files via aap

2006-04-24 Thread Christian Ebert
Hello, Following the README's suggestion not to bother with creating .spl files by hand (which I did some time ago eg. with de.latin1.spl) I tried to go the easier way via aap in vim7.e07. Creating the french fr.latin1.spl, fr.latin1.sug, fr.utf-8.spl, fr.utf-8.sug works fine. When I try de,

Re: Font names - hint

2006-04-24 Thread Mikolaj Machowski
Dnia poniedziałek, 24 kwietnia 2006 14:48, dax2 napisał: Can anyone give a hint how to get font names for Vim - help advices to forget about XFLD and xfontsel. How can I designate a font like Sony Fixed 17pt alias 12x24, XFLD-name is -sony-fixed-*-*-*-*-*-170-*-*-*-*-8859-1

Vim version 7.0f BETA has been released

2006-04-24 Thread Bram Moolenaar
Announcing: Vim (Vi IMproved) version 7.0f BETA This is the fifth BETA release of Vim 7. It is looking stable and should be ready for daily use. However, there are quite a few changes compared to the previous BETA, thus more testing is required. With a bit of luck this is the last BETA

Re: Where are the MSwin dynamically linked interpreters?

2006-04-24 Thread George Reilly
2006/4/23, Eric Arnold [EMAIL PROTECTED]: I still can't find the dlls that work for perl or python. The Cygwin perl 5.8 dll, cygperl5_88.dll, if renamed to perl588.dll causes gvim to crash (big surprise..). I next tried Python, since I have both the Cygwin python, and the Win32

Re: search() in vim7

2006-04-24 Thread Benji Fisher
On Fri, Apr 21, 2006 at 12:57:38AM -0700, Dimitar Jordanov wrote: Hello, I wanted to ask if something changed in the search() function in vim7 I have a script that uses search('.') The problem is when search('.') is called from this script I lose the search I have done with / Has anyone

some problem with vim7f Beta

2006-04-24 Thread Linsong
Hi, I just try the fresh vim7f Beta on my ubuntu box, found some problems: 1. the behavior of omnicompletion is changed I set completeopt=menu,preview,longest in vim7d beta, when I input something then press C-XC-O, the completion menu shows up, then as I input