Re: adding additional network stuff in RealWaitForChar?

2006-09-12 Thread Brad Beveridge
On 11/09/06, Gaspar Chilingarov [EMAIL PROTECTED] wrote: Hello all vimmers! I would like to ask - how should I add additional stuff in RealWaitForChar? I have some network protocol, when another side periodically send me keepalive messages(every 10-15 secs). I would like to receive them and

Re: adding additional network stuff in RealWaitForChar?

2006-09-12 Thread Gaspar Chilingarov
Brad Beveridge wrote: On 11/09/06, Gaspar Chilingarov [EMAIL PROTECTED] wrote: Hello all vimmers! I would like to ask - how should I add additional stuff in RealWaitForChar? I have some network protocol, when another side periodically send me keepalive messages(every 10-15 secs). I would

Re: Possible addition to the c.vim and perl.vim syntax files

2006-09-12 Thread Mike Williams
mwoehlke did utter on 11/09/2006 18:37: Mike Williams wrote: mwoehlke did utter on 11/09/2006 17:44: Bram Moolenaar wrote: I don't know what the rules are in all kinds of C, but at least things like 0x0L, 0x0u, 0x0UL are valid. Using a match instead of region would be simpler. If one takes

Re: Binary, Octal, Decimal, Hex!

2006-09-12 Thread A.J.Mechelynck
Mark Manning wrote: Yakov Lerner wrote: On 9/11/06, Mark Manning [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 9/11/06, Mark Manning [EMAIL PROTECTED] wrote: It is fairly easy to check for inconsistencies in Binary, Octal, and Hex I'm afraid C does not notion of binary numbers.

Anim8or scripting language.

2006-09-12 Thread Hugh Sasse
There is a free, but not open source, 3d modelling package called Anim8or at http://www.anim8or.com/ which, in the new beta release has a scripting language. Anim8or also has modelling files, so there are really two different syntaxes associated with this. The modelling files are something I

Re: Patch 7.0.096

2006-09-12 Thread A.J.Mechelynck
Hari Krishna Dara wrote: [...] Yes, that is what I am doing. Is fnamemodify() an expensive operation involving OS calls? From the description of what it does, fnamemodify() _seems_ to involve only string manipulation, possibly checking $HOME and/or the current window's current directory

Re: Possible addition to the c.vim and perl.vim syntax files

2006-09-12 Thread mwoehlke
Mike Williams wrote: mwoehlke did utter on 11/09/2006 18:37: Mike Williams wrote: mwoehlke did utter on 11/09/2006 17:44: Bram Moolenaar wrote: I don't know what the rules are in all kinds of C, but at least things like 0x0L, 0x0u, 0x0UL are valid. Using a match instead of region would be

Re: Patch 7.0.094

2006-09-12 Thread Marvin Renich
* Bram Moolenaar [EMAIL PROTECTED] [060909 08:53]: Patch 7.0.094 Problem:When a hidden buffer is made the current buffer and another file edited later, the file message will still be given. Using :silent also doesn't prevent the file message. (Marvin Renich)

Re: Patch 7.0.096

2006-09-12 Thread Bram Moolenaar
Hari Krishna Dara wrote: I could always explicitly do a fnamemodify() on each of the files, so it is not a big deal, but I am wondering how efficient fnamemodify() is, if it involves simple string manipulation or OS calls. Normally relative file names work just fine. If you need

Patch 7.0.101

2006-09-12 Thread Bram Moolenaar
Patch 7.0.101 Problem:When the ~/.vim/spell directory does not exist zg may create a wrong directory. zw doesn't work. Solution: Use the directory of the file name instead of NameBuff. For zw not only remove a good word but also add the word with !. Files:

Re: Patch 7.0.096

2006-09-12 Thread Hari Krishna Dara
On Tue, 12 Sep 2006 at 1:56pm, A.J.Mechelynck wrote: Hari Krishna Dara wrote: [...] Yes, that is what I am doing. Is fnamemodify() an expensive operation involving OS calls? From the description of what it does, fnamemodify() _seems_ to involve only string manipulation, possibly

Bug or feature? CursorLine/CursorColumn hihlights vs. other highlights

2006-09-12 Thread A.J.Mechelynck
I have enabled CursorLine and CursorColumn highlights as follows: (~/.vimrc): [...] colorscheme almost-default [...] if exists(+cursorcolumn) set cuc cul endif [...] (~/.vim/colors/almost-default.vim): [...] if has(gui_running)

patch: automatically enter paste mode

2006-09-12 Thread Ian Kilgore
Pasting code into vim and forgetting to set paste can have annoying results. This patch detects the 'really fast typing' that happens when something is pasted in, and turns on paste mode. It provides an option 'autopaste' (default false) which controls the behavior. Patch is attached. Hope

Re: Display of CJK characters in a utf-8 file on MacOS X / Vim 7

2006-09-12 Thread Elliot Shank
A.J.Mechelynck wrote: Elliot Shank wrote: I swear I saw something on this list about this before, but I can't find it. If someone can point me at the prior post, I'd appreciate it. I've got a utf-8 file with some CJK characters in it. These characters are being displayed on the line below

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread A.J.Mechelynck
Gundala Viswanath wrote: Thanks Yakov, gg=G :help = But it seems to me that works on Global basis strictly. How can we localize the cleanup within a visual block? Moreoever how can we customize the indentation, bracing, etc? Since with Perl this customization is captured within

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread Charles E Campbell Jr
Gundala Viswanath wrote: Thanks Yakov, gg=G :help = But it seems to me that works on Global basis strictly. How can we localize the cleanup within a visual block? Moreoever how can we customize the indentation, bracing, etc? Since with Perl this customization is captured within

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Gundala Viswanath wrote: Thanks Yakov, gg=G :help = But it seems to me that works on Global basis strictly. How can we localize the cleanup within a visual block? Moreoever how can we customize the indentation, bracing, etc? Since with Perl this

OT(?): AES/Serpent/Twofish/Blowfish encryption with vim ?

2006-09-12 Thread Meino Christian Cramer
Hi, I want to encrypt text from within vim via one of the encryption algorithms mentioned above as easy as it is done via vimcrypt. Does anyone now an application which I can use as filter and which can be incorporated in vim ? Thank you very much in advanbce for any help! mcc

Re: OT(?): AES/Serpent/Twofish/Blowfish encryption with vim ?

2006-09-12 Thread Yakov Lerner
On 9/12/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, I want to encrypt text from within vim via one of the encryption algorithms mentioned above as easy as it is done via vimcrypt. Does anyone now an application which I can use as filter and which can be incorporated in vim ?

Re: OT(?): AES/Serpent/Twofish/Blowfish encryption with vim ?

2006-09-12 Thread Meino Christian Cramer
From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: OT(?): AES/Serpent/Twofish/Blowfish encryption with vim ? Date: Tue, 12 Sep 2006 20:58:49 +0300 On 9/12/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, I want to encrypt text from within vim via one of the encryption algorithms

Re: Display of CJK characters in a utf-8 file on MacOS X / Vim 7

2006-09-12 Thread Elliot Shank
Yongwei Wu wrote: On 9/12/06, Elliot Shank [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: Elliot Shank wrote: 3. I don't know the fine points, but is there an Apple/Macintosh site from which you could download a language pack (or something) for your OS, to supplement whatever was shipped

Probable VIM JDE bug

2006-09-12 Thread Andrea Spadaccini
Hello, I've been trying the JDE plugin, and May -- [ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ] [ GPG ID: 5D41ABF0 - key on keyservers - Gentoo GNU / Linux - 2.6.16 ] [ Linux Registered User 313388 - @: a.spadaccini(at)catania.linux.it ] signature.asc Description: PGP

Re: Probable VIM JDE bug

2006-09-12 Thread Andrea Spadaccini
Sorry, I hit CTRL+Enter before writing the whole message Hello, I've been trying the JDE plugin, and .. maybe I found a bug in this plugin. I'm using java omni-completion in this context: Reader r = ins.get(fd); StringBuffer buff = new StringBuffer(); for(int i = 0; i count; ++i) {

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread Chris Sutcliffe
Sent to the list this time... sorry Tony! On 9/12/06, Chris Sutcliffe [EMAIL PROTECTED] wrote: My Linux box indeed hasn't got cb, but it has got indent which is meant to beautify and reformat C code, e.g. by adding and removing spaces, tabs, linefeeds and blank lines, according to various

Re: [VIM] XML Completion

2006-09-12 Thread A.J.Mechelynck
Arnaud Bourree wrote: Hello, I try to use XML Completion script. But it look like not run correctly: It displays 1st an error spatny vzorek and after a list of all word of my xml file. I don't read czech and so I don't known what to do. Could someone help me? Arnaud. At the very start of

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread Yegappan Lakshmanan
On 9/12/06, Chris Sutcliffe [EMAIL PROTECTED] wrote: On 9/12/06, Chris Sutcliffe [EMAIL PROTECTED] wrote: My Linux box indeed hasn't got cb, but it has got indent which is meant to beautify and reformat C code, e.g. by adding and removing spaces, tabs, linefeeds and blank lines, according

Matchit's match_words Question

2006-09-12 Thread Bill McCarthy
Hello Vim List, I want to match a line containing only the word text and a line containing only the word endtext. let b:match_words = '^\s*text\s*$:^\s*endtext\s*$' works, but '%' brings me to the beginning of the line, as would be expected from those regexes. Using '\zs' in front of text

Re: Matchit's match_words Question

2006-09-12 Thread A.J.Mechelynck
Bill McCarthy wrote: Hello Vim List, I want to match a line containing only the word text and a line containing only the word endtext. let b:match_words = '^\s*text\s*$:^\s*endtext\s*$' works, but '%' brings me to the beginning of the line, as would be expected from those regexes. Using

Re: Matchit's match_words Question

2006-09-12 Thread Bill McCarthy
On Tue 12-Sep-06 7:10pm -0600, you wrote: Bill McCarthy wrote: I want to match a line containing only the word text and a line containing only the word endtext. let b:match_words = '^\s*text\s*$:^\s*endtext\s*$' works, but '%' brings me to the beginning of the line, as would be

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread Gundala Viswanath
Dear Tony and all, My Linux box indeed hasn't got cb, but it has got indent which is meant to beautify and reformat C code, e.g. by adding and removing spaces, tabs, linefeeds and blank lines, according to various parameters on a command-line and/or in a config file; GNU indent supports

FW: Probable VIM JDE bug

2006-09-12 Thread Java Bob
Forwarding to list. -Original Message- From: Andrea Spadaccini [mailto:[EMAIL PROTECTED] Sent: 12 September 2006 21:13 To: Java Bob Subject: Re: Probable VIM JDE bug Ciao Bob, I had a problem with vJDE and wrote to the author. He replied very quickly several times to track down the

Re: Perltidy,VIM for C/C++ visual block cleanup

2006-09-12 Thread A.J.Mechelynck
Gundala Viswanath wrote: Dear Tony and all, My Linux box indeed hasn't got cb, but it has got indent which is meant to beautify and reformat C code, e.g. by adding and removing spaces, tabs, linefeeds and blank lines, according to various parameters on a command-line and/or in a config file;