Re: glob() and |file-pattern|

2006-09-08 Thread Bram Moolenaar
Hari Krishna Dara wrote: > I asked a couple of questions below, but I solved the last one > ('ignorecse') by implementing a filter() myself, so it is not an issue. > The other question is on why "{}" works on win32 GVIM (7.0 version > compiled by you) is not important, though a confirmation that

Re: parsing error with ?: usage

2006-09-08 Thread Bram Moolenaar
Hari Krishna Dara wrote: > I have hit this thrice already, while using the ?: ternary operator, in > some conditions, you are forced to put whitespace to separate the > operator otherwise Vim gets confused. Here is something that fails: > > let direction = (a:0?a:1:1) > > I had this issue bef

Re: enabling interpreters in ./configure (build)

2006-09-08 Thread Yakov Lerner
On 9/8/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > I have this question. Let's say my comp has no perl > installed, no python, and no ruby. I invoke ./configure, on this comp, > as follows: > >./configure ---enable-perlinterp --enable-pythoninterp > --enable-rubyinterp

RFC: bigger '--with-features' than huge (incl interpreters)

2006-09-08 Thread Yakov Lerner
Hello, The biggest build size that exists now (the --with-features) is 'huge'. This 'huge' still does not include interpreters. What does public and Bram think about adding another build size ('extra-huge') that includes [all] interpreters ? What is your feeback ? Yakov Possible namings: 'all'

Re: RFC: bigger '--with-features' than huge (incl interpreters)

2006-09-08 Thread A.J.Mechelynck
Yakov Lerner wrote: Hello, The biggest build size that exists now (the --with-features) is 'huge'. This 'huge' still does not include interpreters. What does public and Bram think about adding another build size ('extra-huge') that includes [all] interpreters ? What is your feeback ? Yakov Po

Re: +clientserver on Mac OS X

2006-09-08 Thread Benjamin Esham
A.J.Mechelynck wrote: Now, there does exist an X11 server for Mac Os X but I've heard some Mac users don't want to use it because (I've been told) applications running through the X server are not visible as distinct running Mac applications. This is true. It's possible to run X11 apps,

Specifying vim options in the files being edited

2006-09-08 Thread Aaron Johnson
List, How can I include vim settings in the files I'm editing? For example, if system wide I have syntax highlighting disabled but I want to enable it just for one particular file. For c code I'd like to be able to include something like this: /* * ?:syntax on */ It would have to always alw

RE: Specifying vim options in the files being edited

2006-09-08 Thread Steve Hall
From: "Aaron Johnson", Fri, September 08, 2006 1:32 pm > > How can I include vim settings in the files I'm editing? For > example, if system wide I have syntax highlighting disabled but I > want to enable it just for one particular file. For c code I'd like > to be able to include something like t

Re: Specifying vim options in the files being edited

2006-09-08 Thread Russell Bateman
Just in case my answer will get you going a little quicker (because I've always found vim help useful, but it's a lot more useful to those who already know--I've scratched my head and had to experiment a lot for even simple things)... You can put these modelines at the top of your file or the

Re: Specifying vim options in the files being edited

2006-09-08 Thread Jean-Rene David
* Russell Bateman [2006.09.08 15:30]: > You see that pretty well anything you can do on > the ex command line in Vim (:set ignorecase, > etc.), you can put in these modelines. That's not true. You can only set options. Excerpt from :help modeline: No other commands than "set" are supported,

Re: Specifying vim options in the files being edited

2006-09-08 Thread Charles E Campbell Jr
Russell Bateman wrote: You can put these modelines at the top of your file or the bottom. Also, they can go on other lines, but I think there's a limit there and yet another setting to change how tolerant Vim is in looking for them, but as this approach suits me, I haven't experimented a lot

Spell checking comments and strings

2006-09-08 Thread Noah Spurrier
Is there a way to spell-check strings and comments using vim7.0 ? This is for Python in particular, but doing this in any language would be useful. Yours Noah

Re: bug in taglist() and "filename"

2006-09-08 Thread Bram Moolenaar
Hari Krishna Dara wrote: > When taglist() returns matches, each match is hash and the "filename" > key gives the filename where the tag is expected to be found. This works > as expected, but the problem is that the filename is returned as it is > found in the tags file, which could be a relative

Re: Specifying vim options in the files being edited

2006-09-08 Thread A.J.Mechelynck
Aaron Johnson wrote: List, How can I include vim settings in the files I'm editing? For example, if system wide I have syntax highlighting disabled but I want to enable it just for one particular file. For c code I'd like to be able to include something like this: /* * ?:syntax on */ It wo

Re: glob() and |file-pattern|

2006-09-08 Thread Hari Krishna Dara
On Fri, 8 Sep 2006 at 9:24am, Bram Moolenaar wrote: > > Hari Krishna Dara wrote: > > > I asked a couple of questions below, but I solved the last one > > ('ignorecse') by implementing a filter() myself, so it is not an issue. > > The other question is on why "{}" works on win32 GVIM (7.0 version

Re: Spell checking comments and strings

2006-09-08 Thread A.J.Mechelynck
Noah Spurrier wrote: Is there a way to spell-check strings and comments using vim7.0 ? This is for Python in particular, but doing this in any language would be useful. Yours Noah Well, spell-checking some parts of files and not others is possible *provided* that syntax highlighting is ena

changing text into binary?

2006-09-08 Thread Chuck Mason
I've a text file with hundreds of thousands of hex numbers, i.e.: ff 03 04 ab 30 ab 03 41 ... ... ... ff 03 04 ab 30 ... all in plain ascii text. I'm looking for a switch that could change it into the actual bytes those numbers represent. Any ideas, without having to write a program for it?

RE: changing text into binary?

2006-09-08 Thread Max Dyckhoff
What do you mean by "the actual bytes"? Do you mean something like this: ff -> At any rate, I think you would be best suited to use Perl/awk/sed to do the conversion, rather than using vim. Vim is for editing text, not manipulating data! :) Max > -Original Message- >

Re: changing text into binary?

2006-09-08 Thread A.J.Mechelynck
Chuck Mason wrote: I've a text file with hundreds of thousands of hex numbers, i.e.: ff 03 04 ab 30 ab 03 41 ... ... ... ff 03 04 ab 30 ... all in plain ascii text. I'm looking for a switch that could change it into the actual bytes those numbers represent. Any ideas, without having to w

Re: parsing error with ?: usage

2006-09-08 Thread Hari Krishna Dara
On Fri, 8 Sep 2006 at 6:08am, A.J.Mechelynck wrote: > Hari Krishna Dara wrote: > [...] > > I know that this is possible, but as I said previously, it is a force of > > habit to compact as much as possible in some situations, though I > > normally prefer using whitespace and parenthesis to improve

Re: Thank you for Vim7 scripting improvements

2006-09-08 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 7:09pm, A.J.Mechelynck wrote: > Hari Krishna Dara wrote: > > On Sun, 3 Sep 2006 at 2:23pm, Bram Moolenaar wrote: > > > >> Yakov Lerner wrote: > >> > >>> On 9/3/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > >>> > > I still miss pre and post increment and decrement opera

Re: changing text into binary?

2006-09-08 Thread Tim Chase
ff 03 04 ab 30 ab 03 41 ... ... ... ff 03 04 ab 30 ... all in plain ascii text. I'm looking for a switch that could change it into the actual bytes those numbers represent. Any ideas, without having to write a program for it? The others gave sensible solutions. However, if you *must* do

Re: vimdiff functionality

2006-09-08 Thread Hari Krishna Dara
On Thu, 7 Sep 2006 at 11:55am, Lev Lvovsky wrote: > I'm using a version control app called darcs, which allows me to view > a diff hunk by hunk, to pick and choose the changes that I want to > apply. darcs aside, is there an in-depth howto for editing patches > and such? Specifically, I'm looki

Re: Specifying vim options in the files being edited

2006-09-08 Thread Luc Hermitte
Hello, * On Fri, Sep 08, 2006 at 04:27:54PM -0400, Jean-Rene David <[EMAIL PROTECTED]> wrote: > * Russell Bateman [2006.09.08 15:30]: > > You see that pretty well anything you can do on > > the ex command line in Vim (:set ignorecase, > > etc.), you can put in these modelines. > > That's not tr

Re: Spell checking comments and strings

2006-09-08 Thread Luc Hermitte
Hello, * On Sat, Sep 09, 2006 at 12:07:19AM +0200, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > Noah Spurrier wrote: > >Is there a way to spell-check strings and comments using vim7.0 ? > > Well, spell-checking some parts of files and not others is possible > *provided* that syntax highlighting

ole in eclipse

2006-09-08 Thread Mark Palmer
Does any one know how to open vim (any version) from eclipse as a ole component, or bonobo? -mark

Re: ole in eclipse

2006-09-08 Thread A.J.Mechelynck
Mark Palmer wrote: Does any one know how to open vim (any version) from eclipse as a ole component, or bonobo? -mark Hmmm... Does it answer your question if I say that the OLE interface can only be included in native-Windows versions of gvim ? If it doesn't, see ":help if_ole.txt" and/or w