Win32 vim.exe blows up reading from stdin

2006-10-12 Thread Dave Roberts
Hello all, Somewhere between v7.0.118 and v7.0.131 Vim started blowing up when started with a - to read from stdin. Ex. vim -u NONE - If no one else is having this problem I'll supply more compile/environment info. I use gvim as a less program all the time so I know this wasn't happening

Re: Convert2HTML Again

2006-10-12 Thread Edd Barrett
On 12/10/06, Benji Fisher [EMAIL PROTECTED] wrote: span class=bar (text) /span in the body, while the non-CSS version will have something like font color=#EEE bgcolor=333 (text) /font and now the CSS version is easier to read. Yes I see, If i had written this from scratch i

Patch 7.0.132

2006-10-12 Thread Bram Moolenaar
Patch 7.0.132 (after 7.0.130) Problem:Win32: Crash when Vim reads from stdin. Solution: Only use mch_nodetype() when there is a file name. Files: src/fileio.c *** ../vim-7.0.131/src/fileio.c Tue Oct 10 18:43:50 2006 --- src/fileio.cThu Oct 12 20:50:35 2006 *** ***

Re: Win32 vim.exe blows up reading from stdin

2006-10-12 Thread Bram Moolenaar
Dave Roberts wrote: Somewhere between v7.0.118 and v7.0.131 Vim started blowing up when started with a - to read from stdin. Ex. vim -u NONE - If no one else is having this problem I'll supply more compile/environment info. I use gvim as a less program all the time so I know this

RE: Why not commit runtime files?

2006-10-12 Thread Suresh Govindachar
A.J.Mechelynck wrote: Suresh Govindachar wrote: Hello, I have just found out that while the runtime directory is periodically updated on the ftp site, it is not committed to the cvs repository. What is the reason for not committing runtime files into cvs? I see

Re: Why not commit runtime files?

2006-10-12 Thread David Brown
A.J.Mechelynck wrote: I see some comment about runtime files not having patches; but committing to cvs does not require creating a patch; one can just command cvs to commit a local directory to the repository. I don't know exactly; but I think the various repositories (rsync, FTP, CVS,

Re: Why not commit runtime files?

2006-10-12 Thread Mikolaj Machowski
I don't know exactly; but I think the various repositories (rsync, FTP, CVS, SVN) are not maintained by the same people. I think CVS and SVN use the FTP site as a master with automated updates (but not every day), so that the FTP updates trickle down to the CVS/SVN repositories after a delay

Re: Why not commit runtime files?

2006-10-12 Thread A.J.Mechelynck
David Brown wrote: [...] I had the same kind of problem when maintaining CVS for vim 6. I tried updating the runtime files, and would occasionally get a patch that wouldn't apply, because something did get patched in a runtime file. Dave Yeah. Nowadays I rsync my runtime files from time to

Re: vim and 64bit xp

2006-10-12 Thread A.J.Mechelynck
Brian Krusic wrote: Thanks fo rthe reply. Still no shell extension. I did the regedit approach. Any ideas? Is Gvimext.dll in a directory in your PATH? Check it at the dos-box prompt: echo %PATH% or in Vim: :echo $PATH If it isn't, you can set it in (IIRC) Control Panel -

[Fwd: Re: vimshell feature? [oops]]

2006-10-12 Thread A.J.Mechelynck
Apparently the second try didn't succeed any better than the first one. This way you (David) won't need to try a third time. I'm sending it to vim-dev rather than vim@ because IMHO it's more on-topic for that list. Original Message Subject: Re: vimshell feature? [oops]

Re: ctags for new Vim scripting features

2006-10-12 Thread Gary Johnson
On 2006-10-11, Hari Krishna Dara [EMAIL PROTECTED] wrote: On Wed, 11 Oct 2006 at 10:30pm, David Fishburn wrote: From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 9:18 PM Is anyone working or planning to work on enhancing exuberant ctags to recognize

Re: Paren highlighting and jump to

2006-10-12 Thread Wolfgang Schmidt
Meino Christian Cramer wrote: Hi, (I am vim 7.0.131 on the console only on a recent gentoo Linux system) I looked into :h paren but found nothing appropiate... Currently my vim highlights matching parens. This is nice as long the corrosponding paren are on different lines or at least not

Re: syntax highlighting - a separate colour for each word

2006-10-12 Thread Yakov Lerner
On 10/12/06, Eric Smith [EMAIL PROTECTED] wrote: Yes exactly. And the script must dynamically apply say blue for the word: January and red for the word apples and yellow for the word Monday wherever these words occur. On 11/10/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/11/06, Yakov

Re: Local scope ?

2006-10-12 Thread Benji Fisher
On Tue, Oct 03, 2006 at 10:00:51PM -0700, Hari Krishna Dara wrote: Yegappan already answered your question. However, in case you want to do the whole of it in the same function, I recommend the below pattern: let _ic = ignorecase set noic try do something finally let ignorecase

Re: Auto-guessing file encoding and integration with Vim (works for Latin1, GBK, and Big5 now)

2006-10-12 Thread Benji Fisher
On Sat, Oct 07, 2006 at 12:37:33AM +0800, Yongwei Wu wrote: This is a report of what I have already achieved. If you are dealing with more encodings than the fileencodings option can handle, esp. if you read and write Simplified and Traditional Chinese, please read on. I write English

Re: BOF

2006-10-12 Thread Benji Fisher
On Fri, Oct 06, 2006 at 02:49:57AM -0500, Bill McCarthy wrote: Hello Vim List, I listened to Bram's BOF this past weekend. I still don't know what BOF means. From Wikipedia: BoF is an acronym for: Basic Oxygen Furnace Birds of a Feather beginning of file Body-on-frame Breath of

Re: visual block calculator

2006-10-12 Thread Luis A. Florit
* El 11/10/06 a las 17:18, Benji Fisher chamullaba: On Thu, Sep 28, 2006 at 02:30:37PM -0300, Luis A. Florit wrote: Pals: I want to evaluate a block selection with formulas to its value. So, if you have 2 lines like: home roof 89.4 + 76 home roof home roof 17 + 13.3 home roof I

Re: number of folds in foldtext

2006-10-12 Thread Benji Fisher
On Sun, Oct 08, 2006 at 05:49:38PM +0200, Eric Smith wrote: Is it possible for foldtext to show the number of the fold block. For example there are n paragraphs in a document and folding is by expression defined as a blank line. I want the number of the paragraph to show in the foldtext.

Re: syntax highlighting - a separate colour for each word

2006-10-12 Thread Eric Smith
On 12/10/06, Yakov Lerner [EMAIL PROTECTED] wrote: Or else, did you mean as many colors as there are different words in the file ? Yes exactly. Heh. But won't you have problem with number of available colors vs number of different words in the file ? Number of different words in the

Re: Paren highlighting and jump to

2006-10-12 Thread Meino Christian Cramer
From: Wolfgang Schmidt [EMAIL PROTECTED] Subject: Re: Paren highlighting and jump to Date: Thu, 12 Oct 2006 10:45:49 +0200 Meino Christian Cramer wrote: Hi, (I am vim 7.0.131 on the console only on a recent gentoo Linux system) I looked into :h paren but found nothing appropiate...

Re: Problem in dos runtime on Vim FTP

2006-10-12 Thread Bram Moolenaar
Bill McCarthy wrote: On Wed 11-Oct-06 3:36pm -0600, Bram Moolenaar wrote: The script that fixes the permissions was missing the autoload directory. It's fixed now. Sorry for the inconvenience. Thanks for the quick fix! Doing a 'ls -lR' on the FTP runtime, I've noted: the

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Tom Purl
I'm using Vim with a filetype of mail right now, and it's able to do on-the-fly spell-checking :) A lot of filetypes have special provisions where they turn spell-checking off in certain areas that you don't want to spell-check. I think that the mail filetype turns off spell checking if what

vim and 64bit xp

2006-10-12 Thread Brian Krusic
Hi, New to vim project as I didn't want to install a whole subsystem (cygwin) just to use vi. Anyway, I installed vim on a 64 bit XP env (Opteron, not IA64) and then copied 64 bit vim binaries/files (x64) from georgevreilly.com/vim. But I don't see the shell extensions but can run it

Re: Planet Vim

2006-10-12 Thread Tom Purl
Are there enough people out there users/developers that blog about Vim? I'm sure that you could find a critical mass. If so, it would be great to have a planet vim to aggregate these blog posts. I don't see why planet web sites still exist. I can basically recreate this functionality using

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread leslie . polzer
On Thu, Oct 12, 2006 at 02:40:48PM -0500, Tom Purl wrote: A lot of filetypes have special provisions where they turn spell-checking off in certain areas that you don't want to spell-check. I read about that; however, mail.vim doesn't seem to do that (I could be wrong here). I think that the

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Tom Purl
I'm using Vim with a filetype of mail right now, and it's able to do on-the-fly spell-checking :) A lot of filetypes have special provisions where they turn spell-checking off in certain areas that you don't want to spell-check. I think that the mail filetype turns off spell checking if what

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Tom Purl
On Thu, Oct 12, 2006 at 02:40:48PM -0500, Tom Purl wrote: A lot of filetypes have special provisions where they turn spell-checking off in certain areas that you don't want to spell-check. I read about that; however, mail.vim doesn't seem to do that (I could be wrong here). I think I've

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Charles E Campbell Jr
[EMAIL PROTECTED] wrote: On Thu, Oct 12, 2006 at 02:40:48PM -0500, Tom Purl wrote: A lot of filetypes have special provisions where they turn spell-checking off in certain areas that you don't want to spell-check. I read about that; however, mail.vim doesn't seem to do that (I could

Re: Planet Vim

2006-10-12 Thread Kim Schulz
On Thu, 12 Oct 2006 14:45:31 -0500 (CDT) Tom Purl [EMAIL PROTECTED] wrote: Are there enough people out there users/developers that blog about Vim? I'm sure that you could find a critical mass. If so, it would be great to have a planet vim to aggregate these blog posts. I don't see

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread leslie . polzer
On Thu, Oct 12, 2006 at 04:18:21PM -0400, Charles E Campbell Jr wrote: Well, syntax/mail.vim *does* have a lot of NoSpell cluster referrals in it. You're right, I just looked at ftplugins/mail.vim. What part of the email message are you referring to? Basically, mail.vim does spell checking

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread leslie . polzer
On Thu, Oct 12, 2006 at 03:01:04PM -0500, Tom Purl wrote: I think that the mail filetype turns off spell checking if what you're text is after an arrow (, , etc.). Is that what you're doing? No, I wasn't quoting anything... Could you post an example of the text that isn't being

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: On Thu, Oct 12, 2006 at 04:18:21PM -0400, Charles E Campbell Jr wrote: Well, syntax/mail.vim *does* have a lot of NoSpell cluster referrals in it. You're right, I just looked at ftplugins/mail.vim. What part of the email message are you referring to? Basically,

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Tom Purl
What part of the email message are you referring to? Basically, mail.vim does spell checking only in the letter portion, not the headers (or Subject: ...), etc. I'm talking about the body, i.e. I'm just starting to write stuff at the top without any headers. Leslie Ah, there's your

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Gary Johnson
On 2006-10-12, A.J.Mechelynck [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On Thu, Oct 12, 2006 at 04:18:21PM -0400, Charles E Campbell Jr wrote: Well, syntax/mail.vim *does* have a lot of NoSpell cluster referrals in it. You're right, I just looked at ftplugins/mail.vim. What

Re: vim and 64bit xp

2006-10-12 Thread A.J.Mechelynck
Brian Krusic wrote: Hi, New to vim project as I didn't want to install a whole subsystem (cygwin) just to use vi. Anyway, I installed vim on a 64 bit XP env (Opteron, not IA64) and then copied 64 bit vim binaries/files (x64) from georgevreilly.com/vim. But I don't see the shell extensions

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Gary Johnson
On 2006-10-12, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Basically, mail.vim does spell checking only in the letter portion, not the headers (or Subject: ...), etc. It checks spelling in Subject:, too, but not in the rest of the headers. Regards, Gary -- Gary Johnson

Re: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread A.J.Mechelynck
Tom Purl wrote: [...] That's weird. I use Gvim to edit web mail via the Mozex extension. I can place this is a tset at line one in my message after executing the `set filetype=mail` command, and it will be spell-checked. I don't have to include any headers or empty lines or anything else like

Re: Planet Vim

2006-10-12 Thread Panos Laganakos
I don't see why planet web sites still exist. I can basically recreate this functionality using an rss-aggregating web site such as Bloglines. You can search for Vim-related blogs using their blog search engine, and then track your favorite Vim-related sites in a Vim folder. I use Google

vimshell feature?

2006-10-12 Thread David Thompson
I've been playing with ':vimshell' command from http://www.wana.at/vimshell/ and was wondering what the current opinion is about officially adding a shell feature into vim. Please please, Bram, can you add this to vim? (*ducks for cover*) __ Do

Re: vimshell feature?

2006-10-12 Thread A.J.Mechelynck
David Thompson wrote: I've been playing with ':vimshell' command from http://www.wana.at/vimshell/ and was wondering what the current opinion is about officially adding a shell feature into vim. Please please, Bram, can you add this to vim? (*ducks for cover*) I think you're right to duck

Re: Planet Vim

2006-10-12 Thread Peter Hodge
--- Panos Laganakos [EMAIL PROTECTED] wrote: I searched the archives, but didn't find any reference to this. Google can't find it either, so therefore it can't exist. Are there enough people out there users/developers that blog about Vim? Personally I don't think so, but one way is to set up

VimL and Exuberant tags - Suggestions please

2006-10-12 Thread David Fishburn
I have taken over maintenance of the VimL exuberant tags component. For the vim plugin writers, are there any outstanding bugs or new feature requests you have for ctags.exe? Hari just mentioned Vim7 introduces some additional syntax items to function names: function mydict.len() dict

Re: VimL and Exuberant tags - Suggestions please

2006-10-12 Thread A.J.Mechelynck
David Fishburn wrote: [...] When variables are identified we strip off the scope: let s:ignoreNextCursorMovedI = 0 == ignoreNextCursorMovedI Should the scope be left on == s:ignoreNextCursorMovedI How are scopes handled in other languages? Notice that varname (in a function) is the same as

Re: vimshell feature?

2006-10-12 Thread David Thompson
--- A.J.Mechelynck [EMAIL PROTECTED] wrote: David Thompson wrote: I've been playing with ':vimshell' command from http://www.wana.at/vimshell/ and was wondering what the current opinion is about officially adding a shell feature into vim. Please please, Bram, can you add this

Re: gvim start with alternate size (than 80X25)

2006-10-12 Thread A.J.Mechelynck
Luke Vanderfluit wrote: Hi. I'm a great fan of vim and this is the best list! I'm programming java and use konqueror as an explorer. I have set konqueror to open java files with gvim. That's cool. Now I want to set the size of the window that gvim starts in. The default seems to be 80X25.

Re: diffoff

2006-10-12 Thread Benji Fisher
On Tue, Oct 10, 2006 at 12:29:51PM +0100, Vigil wrote: The :diffoff command resets the relevant options to their default value. This may be different from what the values were before diff mode was started, the old values are not remembered. Is it on the to-do list to make diffoff restore

Re: VimL and Exuberant tags - Suggestions please

2006-10-12 Thread Peter Hodge
Hello David, Can I suggest support for these commands: :set/setlocal/setglobal :syntax :highlight (and maybe :HiLink because it is so commonly used) Some examples: set foldmethod=syntax setlocal formatoptions+=roq setglobal completeopt-=preview syntax keyword phpFunction ...

RE: Vim7: Spell checking not working with ft=mail

2006-10-12 Thread Max Dyckhoff
Has spell been turned off by something? If you enter :verbose set spell? does it tell you if some plugin has been messing with your spell settings FWIW: I tried this and it worked. Opena clean instance of vim, :set spell, insertthis is a tsetesc (observe highlighting), :set ft=mail (observe