Re: [PATCH] zip plugin: support any filename

2006-10-23 Thread Benji Fisher
On Mon, Oct 23, 2006 at 10:42:41PM +0200, Martin Stubenschrott wrote: > On Mon, Oct 23, 2006 at 10:02:48PM +0200, [EMAIL PROTECTED] wrote: > > I'm using this to edit firefox extensions directly inside their jar > > files. I'm also attaching a patch that adds the required associations > > (jar and x

Calling a non-existing dictionary function doesn't result in an error

2006-10-23 Thread Yegappan Lakshmanan
Hi all, When a non-existing dictionary function is invoked using the ":call" command, there is no error. But when it is used in an expression, an error message is displayed. Is this the expected behavior? let a = {} call a.xyz() The ":call" command silently returns without any errors. But t

Re: missing setbufline()?

2006-10-23 Thread Bram Moolenaar
Yegappan Lakshmanan wrote: > > > On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: > > > > > On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I see functions for creating new unlisted buffers (bufnr() with > > > > > > {create} > > > > > > option), and for

Re: [PATCH] zip plugin: support any filename

2006-10-23 Thread Martin Stubenschrott
On Mon, Oct 23, 2006 at 10:02:48PM +0200, [EMAIL PROTECTED] wrote: > I'm using this to edit firefox extensions directly inside their jar > files. I'm also attaching a patch that adds the required associations > (jar and xpi, I'm sure there are more). I exactly wanted to do the same, but it didn't

Re: missing setbufline()?

2006-10-23 Thread Yegappan Lakshmanan
Hi Bram, On 10/23/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > You can try the attached patch against the latest Vim7 sources. > The syntax of the new function is: > > setbufline({expr}, {lnum}, {line}) > > where, {expr} specifies the loaded buffer name/number, {lnum} specifies

Re: missing setbufline()?

2006-10-23 Thread Yegappan Lakshmanan
Hi Bram, On 10/23/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Yegappan Lakshmanan wrote: > On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: > > > On 10/22/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: > > > > > > > > I see functions for creating new unlisted buffers (bufnr() with

[PATCH] zip plugin: support any filename

2006-10-23 Thread tobutaz
Hello, I've made a small fix to vim's zip plugin. Before the patch, the plugin could only edit filenames with the zip extension. When using an autoloadcmd to open jars, the files would be edited correctly, but they would be saved at the wrong place, and would be ignored when opening the archive th

Re: unsychronized vimdiff panes

2006-10-23 Thread Yakov Lerner
On 10/23/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > In vimdiff mode, when you resize xterm vertically, 2 panes > become desynchronized, and stay desynchronized until you > press an arrow key. > The active pane is repositioned according to resizing, but the other > pane

Re: escape() and '

2006-10-23 Thread Yakov Lerner
On 10/23/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote: On 10/23/06, Mikolaj Machowski <[EMAIL PROTECTED]> wrote: > Hello, > > I understand that escape() was primarily designed to escape strings when > passing to system functions, but personally I never used that and in > didn't noticed such use

Re: unsychronized vimdiff panes

2006-10-23 Thread Bram Moolenaar
Yakov Lerner wrote: > In vimdiff mode, when you resize xterm vertically, 2 panes > become desynchronized, and stay desynchronized until you > press an arrow key. > The active pane is repositioned according to resizing, but the other > pane is not. And they get out of sync. To see this, choose two

Re: escape() and '

2006-10-23 Thread Nikolai Weibull
On 10/23/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Mikolaj Machowski wrote: > Hello, > > I understand that escape() was primarily designed to escape strings when > passing to system functions, but personally I never used that and in > didn't noticed such use in various scripts but very often

Re: escape() and '

2006-10-23 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Hello, I understand that escape() was primarily designed to escape strings when passing to system functions, but personally I never used that and in didn't noticed such use in various scripts but very often it is used to escape various charaters in Vim's own regexp match

Re: escape() and '

2006-10-23 Thread Nikolai Weibull
On 10/23/06, Mikolaj Machowski <[EMAIL PROTECTED]> wrote: Hello, I understand that escape() was primarily designed to escape strings when passing to system functions, but personally I never used that and in didn't noticed such use in various scripts but very often it is used to escape various ch

escape() and '

2006-10-23 Thread Mikolaj Machowski
Hello, I understand that escape() was primarily designed to escape strings when passing to system functions, but personally I never used that and in didn't noticed such use in various scripts but very often it is used to escape various charaters in Vim's own regexp matching or passing one string t

unsychronized vimdiff panes

2006-10-23 Thread Yakov Lerner
In vimdiff mode, when you resize xterm vertically, 2 panes become desynchronized, and stay desynchronized until you press an arrow key. The active pane is repositioned according to resizing, but the other pane is not. And they get out of sync. To see this, choose two large files and position it so