Re: opening huge files, a little slow

2008-06-17 Thread Antonio Colombo
Hi misi, > you almost convinced me with the disk time... > > but that is not true. Reading the same file with a command like grep, > takes 567msecs. > try > > time grep XXX ./all3.c #this will not find anything, but will > process all the file.. and no mmap is used! > the result is: T

Re: [PATCH] fix $(..) and $((..)) syntax highlighting for /bin/sh

2008-06-17 Thread Pádraig Brady
Tony Mechelynck wrote: > As for "erroneously" -- I agree with Bram that #!sh is supposed to mean > the original Bourne shell, not Bourne-again, not Korn, and quite > possibly before POSIX was invented. Anything which the original Bourne > shell did not support should not be used in a script sta

Re: opening huge files, a little slow

2008-06-17 Thread misi
Ola!, You are rigth with the buffering effect, however... I made the following experiments on a HPUX machine this time. (Do not have acces to the other one at the momont) 1. made a copy of the 600MB file, and indeed first reading takes longer with vim: first reading: >time vim --noplugin -u

**HOLLYWOOD ACTRESS SEX VIDEOS**CAM SEX**

2008-06-17 Thread Rosy
**HOLLYWOOD ACTRESS SEX VIDEOS**CAM SEX** **ANAL SEX** **HARDCORE SEX** **PORN SEX** **LESBIAN SEX** **ITS FREEFREE!!!FREEE!!! http://biotechggg.blogspot.com/ http://biotechggg.blogspot.com/ http://biotechggg.blogspot.com/ --~--~-~--~~~---~--~~ You received t

Re: opening huge files, a little slow

2008-06-17 Thread Antonio Colombo
Hi Misi, your tests still are not in the "ideal" conditions, unless there are reboots after the creation of each new test file. The creation of the file of course leaves a lot of buffers in memory. In my tests I used existing files I had not been using at all from boot time. . Apart from tha

Re: opening huge files, a little slow

2008-06-17 Thread misi
I will make the measurement on the initial machine, will work with different files and post the results. The code I used is little different, the while loop is allocating new memory for each chunk: while( (res = read(fd, buffer, chunk_size) ) > 0) { buffer = (char *)malloc(chunk_siz

autocommand when changing/setting option ?

2008-06-17 Thread Yakov Lerner
We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want automatically execute "match Error /\%>70v/". I realize I can make a custom command or function to change two things together. But if th

Re: [PATCH] fix $(..) and $((..)) syntax highlighting for /bin/sh

2008-06-17 Thread James Vega
On Tue, Jun 17, 2008 at 09:59:11AM +0100, Pádraig Brady wrote: > The fact is that #!/bin/sh scripts are run by a POSIX sh interpreter > on the vast majority of systems. That dictates what the default should be > IMHO. You're assuming recent systems. There are still plenty of systems out there wh

Re: Patch for runtime/doc/ada.txt: Fix incorrect option in the modelines

2008-06-17 Thread Tony Mechelynck
On 17/06/08 06:17, Ben Schmidt wrote: > Kana Natsuno wrote: >> On Tue, 17 Jun 2008 03:49:19 +0900, Bram Moolenaar wrote: >>> The current version of this file doesn't set 'encoding' at all. >>> Should work fine. >> Really? I checked with the following steps and environment, it >> does set 'encodin

Re: Patch for help.vim: Lisp-style special variable highlighting

2008-06-17 Thread Mikael Jansson
Mikael Jansson wrote: > Tony Mechelynck wrote: >> On 15/06/08 19:42, Mikael Jansson wrote: >>> Bram Moolenaar wrote: Mikael Jansson wrote: > I have a patch against help.vim to enable proper syntax > highlighting for > tags that are named like special variables in Lisp, i.e.:

Re: autocommand when changing/setting option ?

2008-06-17 Thread Tony Mechelynck
On 17/06/08 16:40, Yakov Lerner wrote: > We do not have autocommand that fires when option is set/changed, right ? > vim 8 maybe ? Can this be added to do todo ? > > For example, when I do 'set tw=70' I want automatically > execute "match Error /\%>70v/". > > I realize I can make a custom command

Re: Patch for runtime/doc/ada.txt: Fix incorrect option in the modelines

2008-06-17 Thread Kana Natsuno
On Jun 17, 1:17 pm, Ben Schmidt wrote: > The runtime files are not included in the source patches. You need to > download them separately to get the latest version. See > > http://www.vim.org/runtime.php Oops, I didn't know that. Thanks for your information. --~--~-~--~~~-

Re: Patch for help.vim: Lisp-style special variable highlighting

2008-06-17 Thread Bram Moolenaar
Mikael Jansson wrote: > Mikael Jansson wrote: > > Tony Mechelynck wrote: > >> On 15/06/08 19:42, Mikael Jansson wrote: > >>> Bram Moolenaar wrote: > Mikael Jansson wrote: > > > I have a patch against help.vim to enable proper syntax > > highlighting for > > tags that are na

Re: autocommand when changing/setting option ?

2008-06-17 Thread Bram Moolenaar
Yakov Lerner wrote: > We do not have autocommand that fires when option is set/changed, right ? > vim 8 maybe ? Can this be added to do todo ? > > For example, when I do 'set tw=70' I want automatically > execute "match Error /\%>70v/". > > I realize I can make a custom command or function to

Re: autocommand when changing/setting option ?

2008-06-17 Thread Yakov Lerner
On Tue, Jun 17, 2008 at 6:43 PM, Tony Mechelynck < [EMAIL PROTECTED]> wrote: > > On 17/06/08 16:40, Yakov Lerner wrote: > > We do not have autocommand that fires when option is set/changed, right ? > > vim 8 maybe ? Can this be added to do todo ? > > > > For example, when I do 'set tw=70' I want a

Re: Improvements of netbeans debug logging

2008-06-17 Thread Philippe Fremy
Hi Bram, What is the status of this patch ? Are you going to include it in gvim ? As I said, it enteriely compiles out if you are not defining DEBUG or NBDEBUG. But if you are, it's very useful to develop with the netbeans interface. cheers, Philippe Philippe Fremy wro

**HOLLYWOOD ACTRESS SEX VIDEOS**CAM SEX**

2008-06-17 Thread Riya
**HOLLYWOOD ACTRESS SEX VIDEOS**CAM SEX** **ANAL SEX** **HARDCORE SEX** **PORN SEX** **LESBIAN SEX** **ITS FREEFREE!!!FREEE!!! http://biotechggg.blogspot.com/ http://biotechggg.blogspot.com/ http://biotechggg.blogspot.com/ --~--~-~--~~~---~--~~ You received