Re: Gvim closing unexpectedly

2006-11-08 Thread Edward Wong
Yup, I can confirm it too. I'm in Windows with cygwin and command :echo has("tcl") crashes gvim. :) On 10/5/06, Steve Hall <[EMAIL PROTECTED]> wrote: From: "Greg Dunn", Thu, October 05, 2006 9:36 am > On 10/4/06, Steve Hall wrote: > > On Thu, 2006-10-05 at 10:04 +1000, Robbie Gates wrote: > > >

Is always guaranteed to be the same as and is always guaranteed to be unique?

2006-11-08 Thread Nikolai Weibull
Is always guaranteed to be the same as and is always guaranteed to be unique? nikolai

Re: Is always guaranteed to be the same as and is always guaranteed to be unique?

2006-11-08 Thread A.J.Mechelynck
Nikolai Weibull wrote: Is always guaranteed to be the same as and is always guaranteed to be unique? nikolai 1. No. From ":help ": when executing autocommands, is replaced with the file name for a file read or write when executing autocommands,

Re: Is always guaranteed to be the same as and is always guaranteed to be unique?

2006-11-08 Thread Nikolai Weibull
On 11/8/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Nikolai Weibull wrote: > Is always guaranteed to be the same as and is > always guaranteed to be unique? > > nikolai > 1. No. From ":help ": when executing autocommands, is replaced with the file name for a

Re: Is always guaranteed to be the same as and is always guaranteed to be unique?

2006-11-08 Thread A.J.Mechelynck
Nikolai Weibull wrote: [...] Ah, sorry. My question was incomplete. Is guaranteed to be equal to for all commands where a file isn't being read/sourced? Specifically, do they refer to the same buffer for BufDelete? The BufDelete documentation suggests using , but I'd much prefer using the b

Re: Is always guaranteed to be the same as and is always guaranteed to be unique?

2006-11-08 Thread Nikolai Weibull
On 11/8/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Nikolai Weibull wrote: > Ah, sorry. My question was incomplete. Is guaranteed to be > equal to for all commands where a file isn't being > read/sourced? Specifically, do they refer to the same buffer for > BufDelete? The BufDelete doc

Re: Is always guaranteed to be the same as and is always guaranteed to be unique?

2006-11-08 Thread Yakov Lerner
On 11/8/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote: and is always guaranteed to be unique? No. Namely, unnamed buffers are problem here. Some autocommands that use can be invoked on unnamed buffers (I had such case). In this case, you have to use . As long as buffer is not unnamed and is

Re: command line completion on several lines

2006-11-08 Thread koxinga
(for those of you who don't follow vim@vim.org, this is an answer to a message posted there because I got confused and posted in both lists ...) A.J.Mechelynck wrote: koxinga wrote: koxinga wrote: Hello, [...] It won't work with multibyte. [...] Any feedback appreciated, of course ...

Re: vimtutor bug

2006-11-08 Thread Bram Moolenaar
Shannon -jj Behrens wrote: > In vimtutor, I see: > > NOTE: A count between the operator d and the motion works similar to >using the motion without an operator. > > However, it seems that "2dw" works the same as "d2w". I think the tutor > needs to be updated. > > I'm using

how can these two act differently?

2006-11-08 Thread mzyzik
All, I decided to make a mapping that simply hits "" whenever the popup menu comes up. This is to make the popup behavior work more like in IDEs, where the user can just select the nearest completion item at any moment by hitting enter ("" does this in Vim). Here are two mappings I tried to accom