Re: Time to remove naming restrictions?

2006-10-03 Thread Yakov Lerner
On 10/3/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: On 10/1/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: One thing that really annoys me with Vim is the limits it emposes on what names are legal for user-defined functions and commands. I know

Re: Fwd: Do Not Reply To This Message:Re: Time to remove naming restrictions?

2006-10-03 Thread A.J.Mechelynck
Nikolai Weibull wrote: I keep getting this f**king message every time I post to vim-dev. Seriously, wtf? nikolai (awaiting another notification for this mail not getting through) -- Forwarded message -- From: System Administrator [EMAIL PROTECTED] Date: 2 Oct 2006 14:19:05

Re: Do Not Reply To This Message:Re: Time to remove naming restrictions?

2006-10-03 Thread A.J.Mechelynck
Nikolai Weibull wrote: [...] So anyway, I guess my request is for Felix von Leitner, or whoever doesn't maintain this mailing list anymore (according to earlier discussions on similar subjects), to remove the offending email address from the mailing address. Thanks. nikolai P.S. Sorry about

Re: Fwd: Do Not Reply To This Message:Re: Time to remove naming restrictions?

2006-10-03 Thread A.J.Mechelynck
Ali Akcaagac wrote: On Tue, 2006-10-03 at 11:34 +0200, A.J.Mechelynck wrote: You can either blacklist [EMAIL PROTECTED] in your mail reader (e.g. by creating a new filter rule, 'if From: is [EMAIL PROTECTED] then Move to Trash'), or treat it in whatever manner you treat spam. Hello, I'm

Re: compilation of regular expressions/ enhancement?

2006-10-03 Thread A.J.Mechelynck
Marc Weber wrote: When doing something like map([a,b],matchstr(v:val, \(.\))) will the regular expression \(.\) be compiled on every iteration? How about this: for l in lines if l =~regex ... ? I noticed this beeing slow compared to executing grep once ago. If this is an issue, there

Patch 7.0.113

2006-10-03 Thread Bram Moolenaar
Patch 7.0.113 Problem:Using CTRL-L in Insert completion when there is no current match may cause a crash. (Yukihiro Nakadaira) Solution: Check for compl_leader to be NULL Files: src/edit.c *** ../vim-7.0.112/src/edit.c Thu Sep 14 11:07:08 2006 --- src/edit.c Tue Oct 3

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread Charles E Campbell Jr
Bram Moolenaar wrote: Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not really something I would like to add to Vim. Bram -- would you be

Patch 7.0.115

2006-10-03 Thread Bram Moolenaar
Patch 7.0.115 Problem:When 'ignorecase' is set, Insert mode completion only adds foo and not Foo when both are found. A found match isn't displayed right away when 'completeopt' does not have menu or menuone. Solution: Do not ignore case when checking if

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Bram Moolenaar wrote: Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not really something I would like to add to

Patch 7.0.116

2006-10-03 Thread Bram Moolenaar
Patch 7.0.116 Problem:64 bit Windows version reports 32 bit in the :version output. (M. Veerman) Solution: Change the text for Win64. Files: src/version.c *** ../vim-7.0.115/src/version.cTue Oct 3 15:49:20 2006 --- src/version.c Tue Oct 3 16:29:31 2006

Patch 7.0.117

2006-10-03 Thread Bram Moolenaar
Patch 7.0.117 Problem:Using extend on a syntax item inside a region with keepend, an intermediate item may be truncated. When applying the keepend and there is an offset to the end pattern the highlighting of a contained item isn't adjusted. Solution: Use

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread Bram Moolenaar
Charles Campbell wrote: Bram Moolenaar wrote: Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not really something I would like to add to Vim.

Re: [macvim] modifiers should be applied to special keys too (patch)

2006-10-03 Thread Bram Moolenaar
Nicolas Weber wrote: Hmmm… I’m having a problem. Ctrl-A, ctrl-e, ctrl-k, ctrl-u, etc. don’t seem to work anymore. I have these lines in my vimrc: The attached patch should fix this problem as well (again the diff is against vim svn). The problem was that chars like ^A (ctrl-a)

Patch 7.0.118

2006-10-03 Thread Bram Moolenaar
Patch 7.0.118 Problem:printf() does not do zero padding for strings. Solution: Do allow zero padding for strings. Files: src/message.c *** ../vim-7.0.117/src/message.cSun Sep 3 16:39:51 2006 --- src/message.c Tue Oct 3 15:41:44 2006 *** *** 4124,4131

Re: compilation of regular expressions/ enhancement?

2006-10-03 Thread Marc Weber
Hi Tony. Of course this was a trivial example. I was grepping the output of jar - content-texfile to find the packages of a java-class. Currently I'm using this function. I'm invoking this function for up to 40 files or more.. That depends on how many modules I have imported. let type_pattern =

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread Yakov Lerner
On 10/3/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not really

Re: compilation of regular expressions/ enhancement?

2006-10-03 Thread A.J.Mechelynck
Marc Weber wrote: Hi Tony. Of course this was a trivial example. I was grepping the output of jar - content-texfile to find the packages of a java-class. Currently I'm using this function. I'm invoking this function for up to 40 files or more.. That depends on how many modules I have imported.

Re: compilation of regular expressions/ enhancement?

2006-10-03 Thread Nikolai Weibull
On 10/3/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: I still don't see the advantage of compiling regexps while scripts remain interpreted. Well, storing the compiled regex is surely a lot faster. However, I don't think that's the way to do it for VimScript, as it isn't really parsed, it's

Re: Do Not Reply To This Message

2006-10-03 Thread Ilya Sher
A.J.Mechelynck wrote: [snip] The problem is, not only the KNBT pseudo-bounce is misdirected, it is incomplete. In particular, it doesn't say which address was not found, so all Felix (or Bram or someone) can know is that someone @knbt.com is no longer a valid address. But they can't go

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread Yegappan Lakshmanan
Hi Charles, On 10/3/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Suresh Govindachar wrote: Is it possible to add an autocommand-event for Clipboard Changed? Not really. This is not something that happens inside Vim. Polling for changes in the system is not

Re: [macvim] modifiers should be applied to special keys too (patch)

2006-10-03 Thread Nicolas Weber
Hi, I tried the patch, but it appears that CTRL-F and CTRL-B no longer work in Normal mode. They do something in Insert mode after CTRL-V. CTRL-F and CTRL-B work for me in Normal mode (they scroll forward/ backward). I'm using mac gvim svn (patches 1-110) and the second version of my

Re: Autocommand-Event for Clipboard-Changed

2006-10-03 Thread Charles E Campbell Jr
Yegappan Lakshmanan wrote: Are you referring to a sample code similar to the xcmdsrv_client.c file under the $VIM/tools directory? This sample code shows how to send commands to a remote Vim from a C program in Unix systems running X-Windows. A similar sample code for MS-Windows is needed.

Re: compilation of regular expressions/ enhancement?

2006-10-03 Thread Ilya Bobir
Marc Weber wrote: When doing something like map([a,b],matchstr(v:val, \(.\))) will the regular expression \(.\) be compiled on every iteration? How about this: for l in lines if l =~regex ... ? How about :help profile ? ;) [...]

Re: Time to remove naming restrictions?

2006-10-03 Thread Hari Krishna Dara
On Tue, 3 Oct 2006 at 10:30am, A.J.Mechelynck wrote: Nikolai Weibull wrote: On 10/1/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: One thing that really annoys me with Vim is the limits it emposes on what names are legal for user-defined functions and commands.

Re: Time to remove naming restrictions?

2006-10-03 Thread Nikolai Weibull
On 10/3/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: One thing that really annoys me with Vim is the limits it emposes on what names are legal for user-defined functions and commands. Another oddity in using this approach is the history. If you execute:

Chaining of function calls

2006-10-03 Thread Nikolai Weibull
So you can't write :call object.method().results_method() in VimScript. But it would be sweet if one could. Can't find anything in the TODO on this. Any plans for the future? nikolai

Re: Chaining of function calls

2006-10-03 Thread Nikolai Weibull
On 10/3/06, Nikolai Weibull [EMAIL PROTECTED] wrote: So you can't write :call object.method().results_method() in VimScript. But it would be sweet if one could. Can't find anything in the TODO on this. Any plans for the future? But you can write :let _ =

Re: Chaining of function calls

2006-10-03 Thread Nikolai Weibull
On 10/3/06, Nikolai Weibull [EMAIL PROTECTED] wrote: On 10/3/06, Nikolai Weibull [EMAIL PROTECTED] wrote: So you can't write :call object.method().results_method() in VimScript. But it would be sweet if one could. Can't find anything in the TODO on this. Any plans for the future? But

Re: Time to remove naming restrictions?

2006-10-03 Thread Peter Hodge
Argh. This is exactly why all the hacks one has to employ never really quite make it. There's always some base you haven't covered, some point you can't reach. Seriously, if people want to f**k up their session, let them. No one who isn't prepared to get burned is going to override