Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Mikołaj Machowski
How many people actually do that? Should they be doing that? IMHO I'd force people to use whitespace for concatenation in this case (i.e. 123 . 456) and have 123.456 be a floating point number. That's how Perl works, for example. --Antony That would break compatibility on much, much, much

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Patrick Texier
Le Tue, 08 Apr 2008 22:45:18 +0200, Bram Moolenaar a écrit dans le message [EMAIL PROTECTED] : One of the items I planned to discuss is why Vim has no floating point support. Well, this turned into actually implementing it. Thanks Bram. Using Windows98, gVim 7.1.291 and Borland C++ 5.5.1 I

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Bram Moolenaar
Patrick Texier wrote: Le Tue, 08 Apr 2008 22:45:18 +0200, Bram Moolenaar a écrit dans le message [EMAIL PROTECTED] : One of the items I planned to discuss is why Vim has no floating point support. Well, this turned into actually implementing it. Thanks Bram. Using Windows98, gVim

RE: Patch to try out: floating point

2008-04-09 Fir de Conversatie John Beckett
Bram Moolenaar wrote: Now the patch is attached, hopefully that works better. The file diff.dat that you just attached, and your earlier inline mail are the same. In both cases, there is a problem: the last 12 lines should be omitted (you can see they are a slightly broken duplicate of the

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Antony Scriven
On 09/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote: Antony Scriven wrote: On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote: I have been preparing a talk for the upcoming FISL conference in Brazil: http://fisl.softwarelivre.org/9.0/www/ One of the

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Jürgen Krämer
Hi, Bram Moolenaar wrote: Antony Scriven wrote: On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote: I have been preparing a talk for the upcoming FISL conference in Brazil: http://fisl.softwarelivre.org/9.0/www/ One of the items I planned to discuss is why Vim has no

Patch 7.1.292

2008-04-09 Fir de Conversatie Bram Moolenaar
Patch 7.1.292 Problem:When using a pattern with \@= the submatches can be wrong. (Brett Stahlman) Solution: Save the submatches when attempting a look-behind match. Files: src/regexp.c *** ../vim-7.1.291/src/regexp.c Sat Jan 19 15:55:51 2008 --- src/regexp.cTue

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Tony Mechelynck
On 09/04/08 12:34, John Beckett wrote: Bram Moolenaar wrote: Now the patch is attached, hopefully that works better. The file diff.dat that you just attached, and your earlier inline mail are the same. In both cases, there is a problem: the last 12 lines should be omitted (you can see they

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Tony Mechelynck
On 09/04/08 11:30, Bram Moolenaar wrote: [...] Now the patch is attached, hopefully that works better. Patch went OK this time -- except for the helpfile, but that was expected: patches for runtime files are always flaky, and it won't change anything to the binary. Added a

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Ajit Thakkar
On Wed, Apr 9, 2008 at 7:01 AM, Jürgen Krämer [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Antony Scriven wrote: On 08/04/2008, Bram Moolenaar [EMAIL PROTECTED] wrote: The main problem with floating point is that the usual notation already has a meaning:

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Tony Mechelynck
On 09/04/08 14:51, Ajit Thakkar wrote: On Wed, Apr 9, 2008 at 7:01 AM, Jürgen Krämer[EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Antony Scriven wrote: On 08/04/2008, Bram Moolenaar[EMAIL PROTECTED] wrote: The main problem with floating point is that the usual

Patch 7.1.293

2008-04-09 Fir de Conversatie Bram Moolenaar
Patch 7.1.293 Problem:Spell checking considers super- and subscript characters as word characters. Solution: Recognize the Unicode super and subscript characters. Files: src/spell.c *** ../vim-7.1.292/src/spell.c Tue Apr 1 17:13:54 2008 --- src/spell.c Wed Apr 9

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Nikolai Weibull
2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]: Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał: I have been preparing a talk for the upcoming FISL conference in Brazil: http://fisl.softwarelivre.org/9.0/www/ One of the items I planned to discuss is why Vim has no floating point

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Yegappan Lakshmanan
Hi, 2008/4/9 Nikolai Weibull [EMAIL PROTECTED]: 2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]: Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał: I have been preparing a talk for the upcoming FISL conference in Brazil: http://fisl.softwarelivre.org/9.0/www/ One of the

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: 2008/4/9 Nikolai Weibull [EMAIL PROTECTED]: 2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]: Dnia Tuesday 08 of April 2008, Bram Moolenaar napisa³: I have been preparing a talk for the upcoming FISL conference in Brazil:

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Mikolaj Machowski
Dnia Wednesday 09 of April 2008, Nikolai Weibull napisał: 2008/4/8 Mikolaj Machowski [EMAIL PROTECTED]: Dnia Tuesday 08 of April 2008, Bram Moolenaar napisał: I have been preparing a talk for the upcoming FISL conference in Brazil: http://fisl.softwarelivre.org/9.0/www/ One of the

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Mikolaj Machowski
Dnia Wednesday 09 of April 2008, Bram Moolenaar napisał: Now the patch is attached, hopefully that works better. Thanks, this one is working. One bug: :echo 1.90+90 280,00 :echo 1.90-90 100,00 OK, but :echo 1.90*90 E806: using Float as a String E15: Illegal expression: 1.90*90

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Bram Moolenaar
On 09/04/2008 17:27, Mike Williams wrote: On 09/04/2008 17:16, Bram Moolenaar wrote: Francois Ingelrest wrote: On Wed, Apr 9, 2008 at 5:30 PM, Bram Moolenaar [EMAIL PROTECTED] wrote: Easy to reproduce. Turns out that this line causes it: sprintf(tmp, format, f); Here

Re: vim71 on Solaris 2.6 with OpenWindows 3.5: make: Fatal error in reader: Makefile, line 295: Extra `:', `::', or `:=' on dependency line

2008-04-09 Fir de Conversatie Martin MOKREJŠ
Hi, Bram Moolenaar wrote: mmokrejs wrote: while running 'make install' I get the following on Solaris 2.6 machine: cut /bin/sh ./mkinstalldirs /usr/local/share/vim/vim71/compiler mkdir /usr/local/share/vim/vim71/compiler chmod 755 /usr/local/share/vim/vim71/compiler /bin/sh

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Mikolaj Machowski
Dnia Wednesday 09 of April 2008, Tony Mechelynck napisał: runtime/doc/eval.txt, line 40 is unchanged, there is: There are five types of variables: There should be: There are six types of variables: One more addition to eval.txt, line 5218 (:help type()): :if type(myvar) ==

RE: Patch to try out: floating point

2008-04-09 Fir de Conversatie John Beckett
Tony Mechelynck wrote: 12 extra lines at the end shouldn't be a problem, since the patch program will ignore garbage before and after the patch proper. I was just trying to let Bram know that it would look better if he fixed the patch (by deleting the last 12 lines), if he were planning to

Re: Patch to try out: floating point

2008-04-09 Fir de Conversatie Anoop Thomas Mathew
What's your opinion about a project in VIMas an on the fly code checker. Steps - i.That is VIM text to a temporary file. ii.Compile it with a compiler.(Either use an external compiler ( preferred by Mr. Moolenaar) or to write an independent parser plug-in within VIM) iii.Then re-parse the