Re: creating eclipse plugin for vim

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 08:28 +0100, Asim Imdad wrote: > Hi, > I was think of rewriting code base of vim in java. What kind of > problems do you people think I can face? Already there is another > project known as jvi. How much faithful it is to true vim design? > AI I have seen gedit integrated to

Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
Bram, I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has provided a sample implementation in his article ). But I'm having a hard time understanding the existing approach taken :'

Re: creating eclipse plugin for vim

2007-03-18 Thread Nicolas Weber
Hi, I was think of rewriting code base of vim in java. The whole code base? What kind of problems do you people think I can face? As sloccount vim7-svn/src shows, there are about 281000 thousand lines of vim code. The average programmer writes 10 lines of functional, tested code. Say

Re: Improving regexp performance

2007-03-18 Thread Nikolai Weibull
On 3/18/07, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: I read several articles on possible NFA implementations ( took some time to understand ). But I think implementing an NFA based approach is quite possible ( Russ Cox has provided a sample implementation in his article ). But I'm having a ha

Re: Improving regexp performance

2007-03-18 Thread Bram Moolenaar
Asiri Rathanayake wrote: > I read several articles on possible NFA implementations ( took some time > to understand ). But I think implementing an NFA based approach is quite > possible ( Russ Cox has provided a sample implementation in his > article ). But I'm having a hard time understanding th

Re: creating eclipse plugin for vim

2007-03-18 Thread Doug Kearns
On Sun, Mar 18, 2007 at 08:28:19AM +0100, Asim Imdad wrote: > Hi, > I was think of rewriting code base of vim in java. What kind of > problems do you people think I can face? Already there is another > project known as jvi. How much faithful it is to true vim design? There's also a 'vim' plugin fo

Re: Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 14:07 +0100, Nikolai Weibull wrote: > On 3/18/07, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: > > > I read several articles on possible NFA implementations ( took some time > > to understand ). But I think implementing an NFA based approach is quite > > possible ( Russ Cox ha

Re: Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 15:07 +0100, Bram Moolenaar wrote: > Asiri Rathanayake wrote: > > > I read several articles on possible NFA implementations ( took some time > > to understand ). But I think implementing an NFA based approach is quite > > possible ( Russ Cox has provided a sample implementati

vim via console in eclipse

2007-03-18 Thread Asim Imdad
Hi, There is one idea to use eclipse console class and extend to incorporate vim into it. It is defined in org.eclipse.ui.console. I am currently looking into details related to this. There will be no rewriting of code for eclipse and original can be used. Asim Imdad

Re: creating eclipse plugin for vim

2007-03-18 Thread Asim Imdad
Yes but it emulates vim but it is not the VIM. I think lot of features might be missing from it because it emulates the vim. Nicolas is right in saying that if somebody starts writing the vim in java it will take lot of time. So only method is to embed it via some terminal emulation or create a co

Re: creating eclipse plugin for vim

2007-03-18 Thread Asim Imdad
yup, I was talking about the same thing and sure we can combine effort to do this. It will be my pleasure. On 3/18/07, Manu Anand <[EMAIL PROTECTED]> wrote: On 3/18/07, Asim Imdad <[EMAIL PROTECTED]> wrote: > Yes but it emulates vim but it is not the VIM. I think lot of features > might be mis

Re: creating eclipse plugin for vim

2007-03-18 Thread Asim Imdad
One more thing we need to verify from bram what he thinks. On 3/18/07, Asim Imdad <[EMAIL PROTECTED]> wrote: yup, I was talking about the same thing and sure we can combine effort to do this. It will be my pleasure. On 3/18/07, Manu Anand <[EMAIL PROTECTED]> wrote: > > > On 3/18/07, Asim Imdad

Re: Improving regexp performance

2007-03-18 Thread Nikolai Weibull
On 3/18/07, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: On Sun, 2007-03-18 at 14:07 +0100, Nikolai Weibull wrote: > Then there's the parallel one that keeps track of all the states that > we're currently in that accepts as soon as an accepting/final state is > reached. I think by parallel

Re: Improving regexp performance

2007-03-18 Thread Asiri Rathnayake
On Sun, 2007-03-18 at 17:32 +0100, Nikolai Weibull wrote: > On 3/18/07, Asiri Rathnayake <[EMAIL PROTECTED]> wrote: > > > On Sun, 2007-03-18 at 14:07 +0100, Nikolai Weibull wrote: > > > > Then there's the parallel one that keeps track of all the states that > > > we're currently in that accepts a

improving encryption in vim

2007-03-18 Thread Josh
Another idea that I saw on the list was improving the encryption in vim and encrypting the swap file. The ideas that I have for this range from replacing the encryption function in vim with one that is more secure to adding support for an external library library to adding functions to modify the

Re: creating eclipse plugin for vim

2007-03-18 Thread Nicolas Weber
Hi, One more thing we need to verify from bram what he thinks. On 3/18/07, Asim Imdad <[EMAIL PROTECTED]> wrote: yup, I was talking about the same thing and sure we can combine effort to do this. It will be my pleasure. > Eclipse has an option of using Vim as an external editor. > So the on

Re: improving encryption in vim

2007-03-18 Thread Bram Moolenaar
Josh wrote: > Another idea that I saw on the list was improving the encryption in > vim and encrypting the swap file. The ideas that I have for this range > from replacing the encryption function in vim with one that is more > secure to adding support for an external library library to adding > f

patch 7.0.219

2007-03-18 Thread Bram Moolenaar
Patch 7.0.219 Problem:When using the 'editexisting.vim' script and a file is being edited in another tab page the window is split. The "+123" argument is not used. Solution: Make the tab page with the file the current tab page. Set v:swapcommand when sta

Re: improving encryption in vim

2007-03-18 Thread Josh
The main problem that I see is that adding a strong encryption function can have regulation issues. That was the only reason that I thought about using the external library is to get around this. How secure does the encryption need to be? -- Josh