RE: Patch to try out: floating point

2008-04-10 Fir de Conversatie John Beckett
Bill McCarthy wrote: >> I think the correct way to pass the requested feature >> without editing feature.h is: >> >> make DEFS="-DFEAT_FLOAT" > > Thanks John but that didn't work here... If you're using Make_mvc.mak, the command is: nmake -f Make_mvc.mak "DEFINES=-DFEAT_FLOAT" Looking at the m

RE: Patch to try out: floating point

2008-04-10 Fir de Conversatie John Beckett
Bram Moolenaar wrote: > OK, so we do need to worry about this. > > This patch to message.c, replacing the previous one, should do it. I've tried the additional patch, and some brief testing worked well. However, there is a compiler warning due to converting double to size_t. That could be fix

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Bill McCarthy
On Thu 10-Apr-08 6:48am -0600, John Beckett wrote: > I think the correct way to pass the requested feature without editing > feature.h is: > > make DEFS="-DFEAT_FLOAT" > > That ends up adding -DFEAT_FLOAT to every gcc compile command, which defines > FEAT_FLOAT, which should end up giving you +fl

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Tony Mechelynck
On 10/04/08 10:29, Bill McCarthy wrote: > On Thu 10-Apr-08 3:14am -0600, John Beckett wrote: > >> Bill McCarthy wrote: >>> I want +float - how do I make that happen? >> One simple method is to add the following line to src/feature.h >> >> #define FEAT_FLOAT >> >> You could probably do that anywher

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Bill McCarthy
On Thu 10-Apr-08 4:09am -0600, François Ingelrest wrote: > On Thu, Apr 10, 2008 at 10:29 AM, Bill McCarthy <[EMAIL PROTECTED]> wrote: >> Thanks John, I was hoping that I didn't need to modify >> source code to accomplish it. Isn't there a way to add >> something to the make line? > You could

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Tony Mechelynck
On 09/04/08 17:30, Bram Moolenaar wrote: > Tony Mechelynck wrote: [...] >> Oh, oh.. it had started working (and&1.0e256 multiplied by itself gives >> inf, which is correct), but ":echo&1.0e308" crashes gvim (on Linux >> i686) with SIGSEGV. > > Easy to reproduce. Turns out that this line causes it

Re: console-mode menus

2008-04-10 Fir de Conversatie Christopher Berardi
Hello, Console menus could be very helpful for some hard to remember or obscure commands (i.e., changing back and forth to hex - :%!xxd). It could also be very helpful for commands with options, such as save/ save as and printing, which may require some sort of dialogue box for a little ease of u

Curious: Dragging Tabs

2008-04-10 Fir de Conversatie Taylor Venable
Hello, fellow Vimmers; I was curious how difficult it would be to get Vim to move tabs when the mouse is clicked and dragged. The example usage case would be, if the user opens a new tab, but wants it at the far left of the tab bar, so the user clicks on the tab, and drags the mouse to the far l

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-10 Fir de Conversatie Martin MOKREJŠ
Bram Moolenaar wrote: > mmokrejs wrote: > while running 'make install' I get the following on Solaris 2.6 machine: /bin/sh ./mkinstalldirs /usr/local/share/vim/vim71/compiler mkdir /usr/local/share/vim/vim71/compiler chmod 755 /usr/local/share/vim/vim71/com

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-10 Fir de Conversatie Bram Moolenaar
mmokrejs wrote: > >> while running 'make install' I get the following on Solaris 2.6 > >> machine: > >> > >> > >> /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 ./instal

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Bram Moolenaar
Mikolaj Machowski wrote: > 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 (:h

Re: Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Ag. D. Hatzimanikas
On Wed, Apr 09, at 04:15 Charles E Campbell Jr wrote: > > Bram Moolenaar wrote: > > > > OK, so we do need to worry about this. > > > > This patch to message.c, replacing the previous one, should do it. > > > Hello! > > I applied the first patch, and it worked. However, the second one... > >

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar 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 floating point > support. Well, this turned into actually implementing it. > > The main problem wit

Re: patch: FreeBSD console mouse support

2008-04-10 Fir de Conversatie Paul B. Mahol
> Unresolved bugs: > > Mouse handling in Command line mode is incorrect, it behaves > differently from xterm and GUI. > Does same behaviour/bug occur with vim (+mouse_gpm) in linux console > with gpm enabled? I found another strange bug. After exiting from :sh[ell] vim will abort, if mouse moved

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Charles E Campbell Jr
Anoop Thomas Mathew wrote: > What's your opinion about a project in VIMas an on the fly code checker. I really think you should consider composing a new email thread instead of piggy backing on another email thread; especially one that has nothing to do with your topic and already is full of en

RE: Patch to try out: floating point

2008-04-10 Fir de Conversatie John Beckett
Bill McCarthy wrote: >> One simple method is to add the following line to src/feature.h >> #define FEAT_FLOAT > > Thanks John, I was hoping that I didn't need to modify source > code to accomplish it. Isn't there a way to add something to > the make line? On a newish Linux system with all defa

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie François Ingelrest
On Thu, Apr 10, 2008 at 10:29 AM, Bill McCarthy <[EMAIL PROTECTED]> wrote: > Thanks John, I was hoping that I didn't need to modify > source code to accomplish it. Isn't there a way to add > something to the make line? You could just pass -DFEAT_FLOAT to gcc if you don't want to modify the co

Re: Patch to try out: floating point

2008-04-10 Fir de Conversatie Bill McCarthy
On Thu 10-Apr-08 3:14am -0600, John Beckett wrote: > Bill McCarthy wrote: >> I want +float - how do I make that happen? > > One simple method is to add the following line to src/feature.h > > #define FEAT_FLOAT > > You could probably do that anywhere, but just after the section with #if > relatin

RE: Patch to try out: floating point

2008-04-10 Fir de Conversatie John Beckett
Bill McCarthy wrote: > I want +float - how do I make that happen? One simple method is to add the following line to src/feature.h #define FEAT_FLOAT You could probably do that anywhere, but just after the section with #if relating to FEAT_FLOAT is probably a good place. I would welcome a less