Re: Version confusion

2006-10-13 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, For the real vim junkie there are several sources for the "real stuff" ( == newest versions of vim/scripts/plugins et cetera available). I myself use to update my vim source with the newest patches and download the runtime files on a regular base. Furtherm

Version confusion

2006-10-13 Thread Meino Christian Cramer
Hi, For the real vim junkie there are several sources for the "real stuff" ( == newest versions of vim/scripts/plugins et cetera available). I myself use to update my vim source with the newest patches and download the runtime files on a regular base. Furthermore I download the newest CVS s

Generic tree control plugin for Vim

2006-10-13 Thread Yegappan Lakshmanan
Hi all, I have developed a generic Vim tree control (non-GUI) plugin. This control can be used by other Vim plugins to display information in a tree control. The tree control is similar to the one used by the taglist plugin. The tree control will work only in Vim version 7.0 and above. The tree

Re: Why cabbrev rather than cmap?

2006-10-13 Thread A.J.Mechelynck
Suresh Govindachar wrote: In another thread, Yakov Lerner wrote: 4) You can use tip http://www.vim.org/tips/tip.php?tip_id=1285 to remap :w to :up : cabbrev w =(getcmdtype()==':' && getcmdpos()==1 ? 'up' : 'w') Why cabbrev rather than cmap? --Suresh For one thing, a cabbrev will wait fo

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

2006-10-13 Thread A.J.Mechelynck
Yongwei Wu wrote: Hi Benji, On 10/12/06, Benji Fisher <[EMAIL PROTECTED]> wrote: 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

Why cabbrev rather than cmap?

2006-10-13 Thread Suresh Govindachar
In another thread, Yakov Lerner wrote: > 4) You can use tip http://www.vim.org/tips/tip.php?tip_id=1285 > to remap :w to :up : > > cabbrev w =(getcmdtype()==':' && getcmdpos()==1 ? 'up' : 'w') Why cabbrev rather than cmap? --Suresh

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

2006-10-13 Thread Yongwei Wu
Hi Benji, On 10/12/06, Benji Fisher <[EMAIL PROTECTED]> wrote: 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 Simplifie

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Hari Krishna Dara
On Fri, 13 Oct 2006 at 7:29pm, Martin Krischik wrote: > Am Freitag, 13. Oktober 2006 17:22 schrieben Sie: > > > function mydict.len() dict > >     let var_in_func = 2 > >     let s:script_var_in_func = 2 > >    return len(self.data) > > endfunction > > This syntax is only suitable for what is cal

java indentation bug?

2006-10-13 Thread Hari Krishna Dara
In the below code, I find that the curly-brace for the method is indented incorrectly. The first line in the method is also indented incorrectly. I verified this with gvim starting with -u NONE option and with :filetype on and :filetype indent on. public class A { public static void main(Stri

VIM as C++ IDE

2006-10-13 Thread Peng Yu
Hi, Currently, I use F12 to map to make command. However, the cursor will jump to the file which contains the first error or the first warning. It will leave the current file that I'm editing if it is different from the file contain the errors or warnings. Another drawback, is that the error mess

RE: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread David Fishburn
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nikolai Weibull > Sent: Friday, October 13, 2006 2:48 PM > To: Martin Krischik > Cc: vim-dev; vim@vim.org > Subject: Re: VimL and Exuberant tags - Suggestions please > > On 10/13/06, Nikolai Weibull

ANN: VST 1.2 "Friday 13th"

2006-10-13 Thread Mikolaj Machowski
Hello, Hello, VST is script which makes possible to export text files with simple markup to HTML, LaTeX or HTML S5 presentation format to create even complex documents. Script doesn't require any external dependency and will work on any platform Vim7 is available. VST is Vim only implementation o

Re: netrw for new extension

2006-10-13 Thread Hari Krishna Dara
On Fri, 13 Oct 2006 at 3:16pm, Charles E Campbell Jr wrote: > Hari Krishna Dara wrote: > > >Netrw comes with a few supported formats, and the format is deduced by > >the extension of the file, which is fair, but is there anyway to > >configure netrw such that it will recognize new extensions as o

Re: Scanning messages in :messages

2006-10-13 Thread Bram Moolenaar
Hari Krishna Dara wrote: > When you use ins-completion, Vim starts scanning all the buffers for > matches, and this results in several messages, one for each of the > buffer. I am wondering if these need to go into the :messages list. If > you have several buffers loaded, one completion could pot

Re: netrw for new extension

2006-10-13 Thread Charles E Campbell Jr
Hari Krishna Dara wrote: Netrw comes with a few supported formats, and the format is deduced by the extension of the file, which is fair, but is there anyway to configure netrw such that it will recognize new extensions as one of the supported filetypes? E.g., there are several archives that are

Re: netrw for new extension

2006-10-13 Thread Charles E Campbell Jr
Hari Krishna Dara wrote: Netrw comes with a few supported formats, and the format is deduced by the extension of the file, which is fair, but is there anyway to configure netrw such that it will recognize new extensions as one of the supported filetypes? E.g., there are several archives that are

Scanning messages in :messages

2006-10-13 Thread Hari Krishna Dara
When you use ins-completion, Vim starts scanning all the buffers for matches, and this results in several messages, one for each of the buffer. I am wondering if these need to go into the :messages list. If you have several buffers loaded, one completion could potentially take all the existing mes

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Nikolai Weibull
On 10/13/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote: On 10/13/06, Martin Krischik <[EMAIL PROTECTED]> wrote: > The ctags Patch list list [1] not been worked on for ages. I wonder why no one has taken over development/forked this project yet. It seems obvious that the current maintainer has

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Nikolai Weibull
On 10/13/06, Martin Krischik <[EMAIL PROTECTED]> wrote: The ctags Patch list list [1] not been worked on for ages. I wonder why no one has taken over development/forked this project yet. It seems obvious that the current maintainer has given up interest. nikolai

netrw for new extension

2006-10-13 Thread Hari Krishna Dara
Netrw comes with a few supported formats, and the format is deduced by the extension of the file, which is fair, but is there anyway to configure netrw such that it will recognize new extensions as one of the supported filetypes? E.g., there are several archives that are compatible/same as zip arc

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Martin Krischik
Am Freitag, 13. Oktober 2006 02:16 schrieb David Fishburn: > I have taken over maintenance of the VimL exuberant tags component. Just VimL or the hole of ctags? The ctags Patch list list [1] not been worked on for ages. Parsers for Ada, Ruby, PHP, Haskel are "Open" and waiting for integration f

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Martin Krischik
Am Freitag, 13. Oktober 2006 17:22 schrieben Sie: > function mydict.len() dict >     let var_in_func = 2 >     let s:script_var_in_func = 2 >    return len(self.data) > endfunction This syntax is only suitable for what is called an Meta-Class or a Singelton-Pattern. It is not suitable for real O

RE: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Hari Krishna Dara
On Fri, 13 Oct 2006 at 11:43am, David Fishburn wrote: > > > > -Original Message- > > From: Peter Hodge [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 12, 2006 11:24 PM > > To: David Fishburn; vim@vim.org > > Subject: Re: VimL and Exuberant tags - Suggestions please > > > > Hello Da

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Charles E Campbell Jr
hdrtag (available at http://mysite.verizon.net/astronaut/src) creates tags for *.vim files. Currently, it supports tags for syntax, match, region, c luster, keyword, function, command, and maps. Regards, Chip Campbell

Re: :tab does not open in new tab in some cases ?

2006-10-13 Thread A.J.Mechelynck
Meino Christian Cramer wrote: :hi I did the following mappings: map :tab e ~/.vimrc_ map :tab e ~/.zshrc_ I start vim without any argument and press F12 . ${HOME}/.vimrc opens but does not create an entry in the tab pages line at the top of my Vim window -- so

RE: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread David Fishburn
> -Original Message- > From: Peter Hodge [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 12, 2006 11:24 PM > To: David Fishburn; vim@vim.org > Subject: Re: VimL and Exuberant tags - Suggestions please > > Hello David, > > Can I suggest support for these commands: > > :set/setlo

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

2006-10-13 Thread A.J.Mechelynck
Anthony Campbell wrote: On 13 Oct 2006, A.J.Mechelynck wrote: Anthony Campbell wrote: On 13 Oct 2006, A.J.Mechelynck wrote: Anthony Campbell wrote: I'm sorry; I can't post to the list, although I can read it. (Feel free to forward it.) Just to say that I don't get spelling checked with html

Re: bugs in vim scripting highlighting

2006-10-13 Thread Charles E Campbell Jr
Hari Krishna Dara wrote: I faced a problem, though it is with netrw, not with vim syntax file. I tried to open the download link from Vim, and got the below error: Error detected while processing function netrw#NetRead: line 275: "http://mysite.verizon.net/astronaut/vim/syntax/vim.vim.gz"; E21

:tab does not open in new tab in some cases ?

2006-10-13 Thread Meino Christian Cramer
:hi I did the following mappings: map :tab e ~/.vimrc_ map :tab e ~/.zshrc_ I start vim without any argument and press F12 . ${HOME}/.vimrc opens but does not create an entry in the tab pages line at the top of my Vim window -- so far so nice, since it is the fir

RE: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread David Fishburn
> -Original Message- > From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 12, 2006 8:47 PM > To: David Fishburn > Cc: vim@vim.org > Subject: Re: VimL and Exuberant tags - Suggestions please > > David Fishburn wrote: > [...] > > When variables are identified we str

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

2006-10-13 Thread Tom Purl
> Anthony Campbell wrote: >> I know, I have subscribed, but my posts never appear. (This is not new; >> it's been like that for many months.) I've tried unsubscribing and >> resubscribing, but no luck. > Did you receive the confirmation email which was sent to you as an > auto-reply when you sent

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

2006-10-13 Thread A.J.Mechelynck
Anthony Campbell wrote: On 13 Oct 2006, A.J.Mechelynck wrote: Anthony Campbell wrote: I'm sorry; I can't post to the list, although I can read it. (Feel free to forward it.) Just to say that I don't get spelling checked with html files either. Anthony I. To post to the list, you must: 1.

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

2006-10-13 Thread A.J.Mechelynck
Anthony Campbell wrote: On 12 Oct 2006, A.J.Mechelynck wrote: 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

Re: diffoff

2006-10-13 Thread Benji Fisher
On Fri, Oct 13, 2006 at 10:47:33AM +0100, Vigil wrote: > >>Is it on the to-do list to make diffoff restore from previous values > >>rather > >>than default ones, or is there already an option somewhere that toggles > >>the > >>behaviour? > > > >AFAIK you have to save the options before starti

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Mikolaj Machowski
Dnia piątek, 13 października 2006 02:16, David Fishburn napisał: > > > Instead of simply grouping everything under variables, should we > distinguish between different types? > let forms#form = { > \ 'title': 'Address Entry Form', > \ 'fields': [], > \ 'defaultbutton': 'ok', >

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

2006-10-13 Thread leslie . polzer
On Thu, Oct 12, 2006 at 10:50:31PM +0200, A.J.Mechelynck wrote: > (i.e., 3 nonempty lines and one empty line). You may add more headers, > and/or fill them in. Then your "body" text will be after the first > empty line, and it will not be regaded as "headers". Interesting. The subject is checked

Re: diffoff

2006-10-13 Thread Vigil
Is it on the to-do list to make diffoff restore from previous values rather than default ones, or is there already an option somewhere that toggles the behaviour? AFAIK you have to save the options before starting diff mode and restore them later. At least, that is the answer to the questio

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

2006-10-13 Thread leslie . polzer
On Thu, Oct 12, 2006 at 01:42:23PM -0700, Max Dyckhoff wrote: > 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 The answer is just "spell". > FWIW: I tried this and it worked. Opena clean