Re: improving encryption in vim

2007-03-19 Thread Matthew Winn
On Sun, 18 Mar 2007 15:57:33 -0600, Josh [EMAIL PROTECTED] wrote: 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. With an algorithm like Rijndael

Understanding regxp implementation

2007-03-19 Thread Asiri Rathnayake
Hi Bram, Nicolai, I'm unable to grasp the description ( attachment ) given in the regxp.c file. For a moment they seem like NFA fragments for operators |,+,* and so on, but then again I'm in doubt ( specially i don't understand what a node in this context is ). A little help is greatly

Re: Understanding regxp implementation

2007-03-19 Thread Asiri Rathnayake
On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote: On 3/19/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Bram, Nicolai, A 'k' would be greatly appreciated. I'm really really sorry, won't happen again... I'm unable to grasp the description ( attachment ) given in the regxp.c

Re: Understanding regxp implementation

2007-03-19 Thread Nikolai Weibull
On 1/1/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote: On 3/19/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Bram, Nicolai, A 'k' would be greatly appreciated. I'm really really sorry, won't happen again... Hehe, don't take it

C syntax problem with C99 initializers.

2007-03-19 Thread David Brown
A macro like this: #define FOO ((fooy) { field: 4 }) causes vim to highlight the braces (in an angry fashion), and seems to cause it consider all of the remaining braces in the file to be in error as well. Any ideas? Thanks, David Brown

Re: Understanding regxp implementation

2007-03-19 Thread Martin Stubenschrott
On Mon, Mar 19, 2007 at 01:49:53PM +0100, Nikolai Weibull wrote: On 1/1/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote: On 3/19/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Bram, Nicolai, A 'k' would be greatly appreciated.

Re: C syntax problem with C99 initializers.

2007-03-19 Thread Bram Moolenaar
David Brown wrote: A macro like this: #define FOO ((fooy) { field: 4 }) causes vim to highlight the braces (in an angry fashion), and seems to cause it consider all of the remaining braces in the file to be in error as well. Any ideas? Highlighting curly braces inside parenthesis

Re: C syntax problem with C99 initializers.

2007-03-19 Thread Martin Krischik
Am Montag 19 März 2007 schrieb David Brown: A macro like this: #define FOO ((fooy) { field: 4 }) Whenever I thougth I saw it all C comes with another suprise. What the heck is this good for? Martin -- Martin Krischik mailto://[EMAIL PROTECTED] pgpqr1CVAZVlY.pgp Description: PGP

Re: C syntax problem with C99 initializers.

2007-03-19 Thread David Brown
Martin Krischik wrote: Am Montag 19 März 2007 schrieb David Brown: A macro like this: #define FOO ((fooy) { field: 4 }) Whenever I thougth I saw it all C comes with another suprise. What the heck is this good for? It is a constant structure, useful, in this case, as a macro to indicate a

Re: C syntax problem with C99 initializers.

2007-03-19 Thread Mike Williams
On 19/03/2007 17:39, David Brown wrote: Martin Krischik wrote: Am Montag 19 März 2007 schrieb David Brown: A macro like this: #define FOO ((fooy) { field: 4 }) Whenever I thougth I saw it all C comes with another suprise. What the heck is this good for? It is a constant structure,

Re: improving encryption in vim

2007-03-19 Thread Yakov Lerner
On 3/19/07, Matthew Winn [EMAIL PROTECTED] wrote: On Sun, 18 Mar 2007 15:57:33 -0600, Josh [EMAIL PROTECTED] wrote: 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

Consistently exit message display with 'q'?

2007-03-19 Thread John Orr
Hi all, I'm a bit frustrated by a particular behaviour of vim, and today I modified the source code to 'fix' it. I'd be very grateful for some opinions if you a) agree with my thoughts, or b) have a better solution. The problem - is when you run a command that outputs messages to vim - over

Re: How to switch between horizontal split and vertical split?

2007-03-19 Thread Charles E Campbell Jr
Peng Yu wrote: Suppose I have horizontal splited window1 and window2, is there any way to change them into vertical split and vice versa? See http://vim.sourceforge.net/tips/tip.php?tip_id=862 How to toggle between all vertical and all horizontal window layout Regards, Chip Campbell

Re: Understanding regxp implementation

2007-03-19 Thread Charles E Campbell Jr
Nikolai Weibull wrote: On 1/1/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote: On 3/19/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Bram, Nicolai, A 'k' would be greatly appreciated. I'm really really sorry, won't happen

Re: input gets repeated when having a break in input mode

2007-03-19 Thread Vigil
I think you have mischievous colleagues. On Fri, 9 Mar 2007, petern wrote: Hi dear vim lovers. When I type some text in input mode and for example go to make a coffee without leaving the input mode, and then get back to my computer, vim has exited input mode. That's OK. But what confuses me

Re: Understanding regxp implementation

2007-03-19 Thread Nikolai Weibull
On 3/19/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: On 1/1/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote: On 3/19/07, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Bram, Nicolai, A 'k' would be

highlighting weird characters...

2007-03-19 Thread Mitch Wiedemann
Hi all, I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23) to write mainly XHTML/PHP and I sometimes have to get content from word processed documents and paste it into Vim for HTML markup. This usually results in having non-visually detectable characters (which I assume are

Re: highlighting weird characters...

2007-03-19 Thread Cyril Slobin
On 3/19/07, Mitch Wiedemann [EMAIL PROTECTED] wrote: Is there a way I can have my Vim highlight these characters so I can see them and replace them with their HTML counterparts? No idea about highlighting, but exactly to replace strange characters with HTML or LaTeX or anything else or to do

Re: highlighting weird characters...

2007-03-19 Thread Gary Johnson
On 2007-03-19, Mitch Wiedemann [EMAIL PROTECTED] wrote: Hi all, I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23) to write mainly XHTML/PHP and I sometimes have to get content from word processed documents and paste it into Vim for HTML markup. This usually results in

Re: highlighting weird characters...

2007-03-19 Thread Tim Chase
I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23) to write mainly XHTML/PHP and I sometimes have to get content from word processed documents and paste it into Vim for HTML markup. This usually results in having non-visually detectable characters (which I assume are high

Re: highlighting weird characters...

2007-03-19 Thread Gary Johnson
On 2007-03-19, Gary Johnson [EMAIL PROTECTED] wrote: On 2007-03-19, Mitch Wiedemann [EMAIL PROTECTED] wrote: Hi all, I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23) to write mainly XHTML/PHP and I sometimes have to get content from word processed documents and

Vim Help for deleting text

2007-03-19 Thread Auro Ashish Saha
Hello, I would like to remove everything after a text highlight in a line for all the lines in a file. What are the commands to be used in Vim. I would appreciate your help. 00,000,00 00,000,00 I want to remove everything after , for all the lines. Regards, Auro

Re: Vim Help for deleting text

2007-03-19 Thread Tim Chase
I would like to remove everything after a text highlight in a line for all the lines in a file. What are the commands to be used in Vim. I would appreciate your help. 00,000,00 00,000,00 I want to remove everything after , for all the lines. You have two commas...if

inserting newlines

2007-03-19 Thread fREW
Hi all, I was recently discussing some features of vim that I use a lot with a friend and asking if he knew of ways to do certain things better, and one issue that both of us have is that we create newlines with o or O and then go back to normal mode immediately afterwards. So I often end up

Re: Consistently exit message display with 'q'?

2007-03-19 Thread panshizhu
John Orr [EMAIL PROTECTED] 写于 2007-03-19 21:23:59: Hi all, I'm a bit frustrated by a particular behaviour of vim, and today I modified the source code to 'fix' it. I'd be very grateful for some opinions if you a) agree with my thoughts, or b) have a better solution. The problem - is when

Re: Consistently exit message display with 'q'?

2007-03-19 Thread A.J.Mechelynck
John Orr wrote: Hi all, I'm a bit frustrated by a particular behaviour of vim, and today I modified the source code to 'fix' it. I'd be very grateful for some opinions if you a) agree with my thoughts, or b) have a better solution. The problem - is when you run a command that outputs

Re: Consistently exit message display with 'q'?

2007-03-19 Thread panshizhu
A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-03-20 11:18:06: To go back in the scrolling display, in Vim 7 (but not in Vim 6 or earlier) you can use Up or PageUp depending on how far you want to go back. Best regards, Tony. -- Hi Tony, Anyway to prevent 'more-prompt' from changing into

Re: inserting newlines

2007-03-19 Thread A.J.Mechelynck
fREW wrote: Hi all, I was recently discussing some features of vim that I use a lot with a friend and asking if he knew of ways to do certain things better, and one issue that both of us have is that we create newlines with o or O and then go back to normal mode immediately afterwards. So I

Re: Consistently exit message display with 'q'?

2007-03-19 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-03-20 11:18:06: To go back in the scrolling display, in Vim 7 (but not in Vim 6 or earlier) you can use Up or PageUp depending on how far you want to go back. Best regards, Tony. -- Hi Tony, Anyway to prevent 'more-prompt'

Re: Consistently exit message display with 'q'?

2007-03-19 Thread panshizhu
A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-03-20 11:58:26: After hitting Up once at the Hit-Enter prompt you're back to the More-prompt so _then_ you can use PageUp again. IMHO it is advantageous to have a different prompt at the end of the message because it tells you that there's nothing to

Re: Consistently exit message display with 'q'?

2007-03-19 Thread John Orr
Hi Tony, (and others), Thanks for your (tireless) input, yes, Ctrl-C is certainly a good suggestion, that works consistently, with no error bells/flashes, no matter how far through the messages you are. And I totally agree that it's good to make it easy to know when there is more output to

Re: Consistently exit message display with 'q'?

2007-03-19 Thread A.J.Mechelynck
John Orr wrote: Hi Tony, (and others), Thanks for your (tireless) input, yes, Ctrl-C is certainly a good suggestion, that works consistently, with no error bells/flashes, no matter how far through the messages you are. And I totally agree that it's good to make it easy to know when there is