Re: Convert2HTML Again

2006-09-23 Thread George V. Reilly
Edward L. Fox wrote: But we should change one thing before we include this patch into the official version. In the patch file, line 97: +execute normal! A\npre { font-family: courier; color: . s:fgc . ; background-color: . s:bgc . ; }\e Should be: +execute normal! A\npre {

Re: Convert2HTML Again

2006-09-23 Thread Edd Barrett
Hello all, On 23/09/06, George V. Reilly [EMAIL PROTECTED] wrote: Edward L. Fox wrote: But we should change one thing before we include this patch into the official version. In the patch file, line 97: +execute normal! A\npre { font-family: courier; color: . s:fgc . ;

Re: Convert2HTML Again

2006-09-23 Thread A.J.Mechelynck
George V. Reilly wrote: Edward L. Fox wrote: But we should change one thing before we include this patch into the official version. In the patch file, line 97: +execute normal! A\npre { font-family: courier; color: . s:fgc . ; background-color: . s:bgc . ; }\e Should be: +execute

Re: Convert2HTML Again

2006-09-23 Thread A.J.Mechelynck
Edd Barrett wrote: Hello all, On 23/09/06, George V. Reilly [EMAIL PROTECTED] wrote: Edward L. Fox wrote: But we should change one thing before we include this patch into the official version. In the patch file, line 97: +execute normal! A\npre { font-family: courier; color: . s:fgc

Re: Convert2HTML Again

2006-09-23 Thread Michael Schaap
A.J.Mechelynck wrote: I second the motion; and since the font actually used is the first one found from the font-family item, I suggest (all on one line): +execute normal! A\npre { font-family: 'Courier New', monospace; color: . s:fgc . ; background-color: . s:bgc . ; }\e which will

Re: Convert2HTML Again

2006-09-23 Thread Steve Hall
On Sun, 2006-09-24 at 00:31 +0200, Michael Schaap wrote: I beg you, please don't hardcode Courier New! Hear, hear! Not only is it the worst possible monospaced screen font, it is also Microsoft specific (in spite of it finding its way onto Tony's Linux box). (Even Microsoft has seen the

Re: Convert2HTML Again

2006-09-23 Thread Edd Barrett
I beg you, please don't hardcode Courier New! Hear, hear! Not only is it the worst possible monospaced screen font, it is also Microsoft specific (in spite of it finding its way onto Tony's Linux box). (Even Microsoft has seen the light, and changed the default monospaced font to Consolas

Re: latin1 words in an utf-8 file

2006-09-23 Thread A.J.Mechelynck
Christian Ebert wrote: Hello, Is it possible to have eg. iso-8859-1 encoded words/passages in an otherwise utf-8 encoded file? I mean, w/o automatic conversion, and I don't need the iso passages displayed in a readable way, but so I can still write the file in utf-8 w/o changing the invalid

Re: latin1 words in an utf-8 file

2006-09-23 Thread Christian Ebert
Hi Tony, * A.J.Mechelynck on Saturday, September 23, 2006 at 09:57:40 +0200: Christian Ebert wrote: Is it possible to have eg. iso-8859-1 encoded words/passages in an otherwise utf-8 encoded file? I mean, w/o automatic without conversion, and I don't

Re: Why not use binary search for wildmode tag completion in case of fixed-start, non-regex pattern?

2006-09-23 Thread Stahlman Family
- Original Message - From: A.J.Mechelynck [EMAIL PROTECTED] To: Stahlman Family [EMAIL PROTECTED] Cc: vim@vim.org Sent: Saturday, September 23, 2006 1:59 AM Subject: Re: Why not use binary search for wildmode tag completion in case of fixed-start, non-regex pattern? Stahlman Family

abbreviations + indent + movement commands

2006-09-23 Thread Kim Schulz
Hi I am playing a bit around with abbreviations, in order to use them for simple pattern templates when I code. like: iabbrev for( for (%%%;%%%;%%%){CRCR} problem is that this gives me a wrong indentation of the code such that the } is placed in the same column as where the ( in for( was before

Re: placeholders

2006-09-23 Thread Luc Hermitte
Hello, * On Fri, Sep 22, 2006 at 07:52:28AM +0200, Kim Schulz [EMAIL PROTECTED] wrote: On Thu, 21 Sep 2006 23:36:19 +0200 Luc Hermitte [EMAIL PROTECTED] wrote: any ideas? Why don't you use already existing solutions ? what would I learn from that ? :-) A lot or nothing. It

Re: abbreviations + indent + movement commands

2006-09-23 Thread Luc Hermitte
Hi again, * On Sat, Sep 23, 2006 at 03:38:58PM +0200, Kim Schulz [EMAIL PROTECTED] wrote: I am playing a bit around with abbreviations, in order to use them for simple pattern templates when I code. like: iabbrev for( for (%%%;%%%;%%%){CRCR} How can I get it to obey my indentation rules?

Re: latin1 words in an utf-8 file

2006-09-23 Thread A.J.Mechelynck
Christian Ebert wrote: Hi Tony, * A.J.Mechelynck on Saturday, September 23, 2006 at 09:57:40 +0200: Christian Ebert wrote: Is it possible to have eg. iso-8859-1 encoded words/passages in an otherwise utf-8 encoded file? I mean, w/o automatic without

Re: latin1 words in an utf-8 file

2006-09-23 Thread Yakov Lerner
On 9/23/06, Christian Ebert [EMAIL PROTECTED] wrote: * A.J.Mechelynck on Saturday, September 23, 2006 at 17:35:25 +0200: Hi Tony, * A.J.Mechelynck on Saturday, September 23, 2006 at 09:57:40 +0200: Christian Ebert wrote: Is it possible to have eg. iso-8859-1 encoded words/passages in an

ANN: dbext.vim 4.0 released

2006-09-23 Thread David Fishburn
What is it? --- dbext.vim : Provides database access to most databases. http://www.vim.org/scripts/script.php?script_id=356 This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, PostgreSQL, Ingres, Oracle, Sybase Adaptive Server

Re: sorting lines on lenght of characters

2006-09-23 Thread Benji Fisher
On Fri, Sep 22, 2006 at 07:59:37AM -0500, Tim Chase wrote: Is it possible to sort lines on line length? Shortes firsts, longest last? If so how do you do this? This is a common use of the decorate-sort-undecorate pattern. You can do something like: :%s/^/\=strlen(getline('.')).':'

Re: Plain TeX support ?

2006-09-23 Thread Benji Fisher
On Sat, Sep 23, 2006 at 06:54:29AM +0200, Meino Christian Cramer wrote: Hi, Looking into :help \TeX\ does not that much information about the support of generating nice and find documents via plain TeX. Where can I get informations about what I can

LogiPat Problem

2006-09-23 Thread Bill McCarthy
Hello Vim List, Trying out LogiPat (by Charles Campbell) today, I ran into a problem. I tried to find lines that contain abc or def but didn't contain both. There are many ways to construct this search. I picked three methods and show below, for each method, how I expressed the logic for