Re: enhancing namespaces | introduce n:m relation buffers/functionality

2006-04-17 Thread Marc Weber
Perhaps I should have focused on another point. I was thinking of some kind of plugin. A plugin would consist of functionality ( thus vim script functions) mappings commands This would mean when developping some scripts and you are already using them you can just plug out the script (or nam

Re: enhancing namespaces | introduce n:m relation buffers/functionality

2006-04-16 Thread Srinath Avadhanula
Hi Bram, Thanks for implementing list[M:N] truncation when N > length(list)! On 4/16/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > function :Close() > > ... > > > > What do you think? > > Much to complicated. In nearly all situations you can simply prepend > an ID to the global name, such

Re: enhancing namespaces | introduce n:m relation buffers/functionality

2006-04-16 Thread Bram Moolenaar
Marc Weber wrote: > I'm restructuring my vim scripts and I'm not sure in which namespace to > put some functions/ commands/ maps. > > By now there are these namespaces (copied from vim > help) as far as I know > |buffer-variable|b: Local to the current buffer. > |window-variable|

enhancing namespaces | introduce n:m relation buffers/functionality

2006-04-16 Thread Marc Weber
I'm restructuring my vim scripts and I'm not sure in which namespace to put some functions/ commands/ maps. By now there are these namespaces (copied from vim help) as far as I know |buffer-variable|b: Local to the current buffer. |window-variable|w: Local to the current window. |glob