RE: Dubious scripts at vim.org

2011-11-24 Thread Marc Weber
Excerpts from John Beckett's message of Thu Nov 24 07:34:16 +0100 2011: It's probably a particular version of someone's ctags. But it might be a hacked version which installs a keylogger. its not from ctags.sourceforge.net which stopped shipping .exe in v 15.5. looks like they recommend cygwin

Backporting script to vim 6.3 (need help)

2011-11-24 Thread Preben Randhol
Hi I have made some vimscripts for Python programming. I made them for Vim 7.0, but now I need to get them to work on Vim 6.3 as I have to work on a system where I cannot update Vim. My main problem is that I cannot figure out how I can call a function like one can in Vim 7 function!

RE: Backporting script to vim 6.3 (need help)

2011-11-24 Thread John Beckett
Preben Randhol wrote: I have made some vimscripts for Python programming. I made them for Vim 7.0, but now I need to get them to work on Vim 6.3 as I have to work on a system where I cannot update Vim. Sorry to ignore your question (I don't know the answer), but you do know that you can build

Re: Character count in current paragraph

2011-11-24 Thread Ben Schmidt
On 24/11/11 5:32 PM, Christian Brabandt wrote: On Thu, November 24, 2011 5:56 am, Ben Schmidt wrote: Hi, guys! Looking for some Vim voodoo a little bit outside my areas of expertise! I'd like to put the number of characters in the current paragraph (i.e. area between empty lines) in my ruler,

Re: Backporting script to vim 6.3 (need help)

2011-11-24 Thread Marc Weber
Excerpts from Preben Randhol's message of Thu Nov 24 09:12:51 +0100 2011: function! foo() You can always use execute: exec 'fun('.string(args)[1:-2].')' but you duplicate objects this way not passing references.. With some luck its just good enough. Updating Vim is probably easier then

Substitution of text in keywords

2011-11-24 Thread Clark, David
Hello all... I've been using of Vim as my everyday editor for many years but have only recently started to program it to do repetitive things for me. I've written a function to standardise the case of keywords in my code, however when I run it it's not just the keywords that are being changed -

Re: Substitution of text in keywords

2011-11-24 Thread Jürgen Krämer
Hi, Clark, David wrote: I've been using of Vim as my everyday editor for many years but have only recently started to program it to do repetitive things for me. I've written a function to standardise the case of keywords in my code, however when I run it it's not just the keywords that

Re: Substitution of text in keywords

2011-11-24 Thread Christian Brabandt
On Thu, November 24, 2011 11:23 am, Clark, David wrote: Hello all... I've been using of Vim as my everyday editor for many years but have only recently started to program it to do repetitive things for me. I've written a function to standardise the case of keywords in my code, however when

Re: Dotfile and Github

2011-11-24 Thread Rich Healey
In case anyone needs it, this is the script I use for merging my dotfiles (I ripped out a few bits and pieces) #!/bin/sh # This is a script to send my homedir changes to my git repo. # Making changes there would be bad. SENSITIVEGLOB=password to=$1 if [ -z $to ]; then echo Specify where

Re: Character count in current paragraph

2011-11-24 Thread Tim Chase
On 11/24/11 03:12, Ben Schmidt wrote: :echo line2byte(line('})) - line2byte(line('{)+1) I'm using the last one, as I like the linebreaks counted (at least for now) as they will be turned into spaces when the lines are joined (which is what will happen before they are pasted into a textbox with

RE: Substitution of text in keywords

2011-11-24 Thread Clark, David
Hi Christian, Thanks for the info... If I understand you correctly you're saying I should remove the exclamation mark and add an 'e' to the end of each line, e.g: :silent %s,\and\,And,ge Also, the syntax file I'm using has lots of syntax keyword groups and an individual item may exist in any

RE: Dubious scripts at vim.org

2011-11-24 Thread Bram Moolenaar
Marc Weber wrote: Excerpts from John Beckett's message of Thu Nov 24 07:34:16 +0100 2011: It's probably a particular version of someone's ctags. But it might be a hacked version which installs a keylogger. its not from ctags.sourceforge.net which stopped shipping .exe in v 15.5. looks

Re: rating manipulations on www.vim.org have taken place

2011-11-24 Thread Bram Moolenaar
Marc Weber wrote: It happened to a plugin of tpope and to one of mine: 31 down ratings in sequence on 2011-08-06 between 18:234 and 22:05 310 down ratings in sequence on 2011-08-08 between 10:39 and 22:25 509 down ratings in sequence on 2011-08-08 between 01:39 and 18:30 In between no

Re: Backporting script to vim 6.3 (need help)

2011-11-24 Thread Tim Chase
On 11/24/11 02:12, Preben Randhol wrote: I have made some vimscripts for Python programming. I made them for Vim 7.0, but now I need to get them to work on Vim 6.3 as I have to work on a system where I cannot update Vim. My main problem is that I cannot figure out how I can call a function like

Re: Backporting script to vim 6.3 (need help)

2011-11-24 Thread Rich Healey
Spearing offtopic, but this does somewhat assume that he has a working toolchain + all of vim's dependencies, which may not be a valid assumption. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information,

RE: Dubious scripts at vim.org

2011-11-24 Thread Marc Weber
Excerpts from Bram Moolenaar's message of Thu Nov 24 21:42:27 +0100 2011: Marc, can you contact the author and ask him to take care of this? I've done two things: - CCing the author. So if he reads mail - he knows about the issue. - Put a note on lingr.com (vim_users_en) (some days ago) and

Re: Dubious scripts at vim.org

2011-11-24 Thread Yasuhiro MATSUMOTO
Hi, I'm administrator of http://vim-jp.org/ . Have I better to notify to all? Then, I'll post entry about this. Regards, Thanks. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: rating manipulations on www.vim.org have taken place

2011-11-24 Thread Marc Weber
Excerpts from Bram Moolenaar's message of Thu Nov 24 21:42:27 +0100 2011: I do think that a negative rating is useful. It is - but not in the current shape. If you give a negative rating its ok - but you should - allow the author to remedy the issue - force users dowvoting scripts to leave a

Re: rating manipulations on www.vim.org have taken place

2011-11-24 Thread Benjamin R. Haskell
On Fri, 25 Nov 2011, Marc Weber wrote: Excerpts from Bram Moolenaar's message of Thu Nov 24 21:42:27 +0100 2011: I do think that a negative rating is useful. It is - but not in the current shape. If you give a negative rating its ok - but you should - allow the author to remedy the issue -

Re: Dubious scripts at vim.org

2011-11-24 Thread Marc Weber
Excerpts from Yasuhiro MATSUMOTO's message of Fri Nov 25 04:21:39 +0100 2011: I'm administrator of http://vim-jp.org/ . Have I better to notify to all? Then, I'll post entry about this. :) Great. That would be perfect. What to post? There should be enough English text to understand what the

Re: Dubious scripts at vim.org

2011-11-24 Thread Benjamin R. Haskell
On Fri, 25 Nov 2011, Marc Weber wrote: Excerpts from Yasuhiro MATSUMOTO's message of Fri Nov 25 04:21:39 +0100 2011: I'm administrator of http://vim-jp.org/ . Have I better to notify to all? Then, I'll post entry about this. :) Great. That would be perfect. What to post? There should be

Re: Dubious scripts at vim.org

2011-11-24 Thread Yasuhiro MATSUMOTO
BTW) It's not japanese. It's chinese. ;) -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Dubious scripts at vim.org

2011-11-24 Thread Marc Weber
ujihisa just clarified that I didn't research carefully enough. Its not Japanese - but Chinese. Sorry for this. I just tried Google translation from Japanese to German - and it returned a translation (which did not make too much sense) - and lot's of untranslated characters. The Chinese - German

Re: Dubious scripts at vim.org

2011-11-24 Thread Yasuhiro MATSUMOTO
Sorry for this. I don't mind. :) That I want to give advice to me is 'This plugin dubious, So I have to better to notify to many people'. Regards, Thanks. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more

Re: Dubious scripts at vim.org

2011-11-24 Thread Marc Weber
Excerpts from Benjamin R. Haskell's message of Fri Nov 25 04:59:45 +0100 2011: Why? That seems like a pointless restriction. Just because a plugin author is unable to write in English doesn't make the plugin somehow unworthy of being on vim.org. Even Chinese people are likely to know

Re: rating manipulations on www.vim.org have taken place

2011-11-24 Thread Marc Weber
Excerpts from Benjamin R. Haskell's message of Fri Nov 25 04:52:14 +0100 2011: That's what you could do if you're assuming that the ratings are for the benefit of the plugin authors. I'd rather the ratings be useful for users. Let me explain it to you: Its plugin author writing scripts. Thus

Re: Dubious scripts at vim.org

2011-11-24 Thread uj
I've never seen Japanese description in any scripts on www.vim.org, including the script you mentioned which is written in Chinese. On Nov 24, 7:05 pm, Marc Weber marco-owe...@gmx.de wrote: Excerpts from Bram Moolenaar's message of Thu Nov 24 21:42:27 +0100 2011: Marc, can you contact the