Re: Patch 7.1.262

2008-02-20 Fir de Conversatie Tony Mechelynck
Adri Verhoef wrote: On Wed, Feb 20, 2008 at 20:40:45 +0100, Richard Hartmann wrote: On Wed, Feb 20, 2008 at 8:10 PM, Bram Moolenaar [EMAIL PROTECTED] wrote: + getpid() Return a Number which is the process ID of the Vim process. + On Unix this is a unique number. On

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie Richard Hartmann
On Wed, Feb 20, 2008 at 11:16 PM, Milan Vancura [EMAIL PROTECTED] wrote: Yes, it was Zdenek's original request... Come to think of it, get_ppname could be even more important than get_ppid. Bram: If you agree that this is useful, I can try my hands at a patch, so you don't have to. It is

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie George V. Reilly
On 20/02/2008, Richard Hartmann [EMAIL PROTECTED] wrote: On Wed, Feb 20, 2008 at 11:32 PM, Tony Mechelynck [EMAIL PROTECTED] wrote: You mean that it is not the process ID of the Vim process? No, what he meeans is: after a process exits, its PID may (usually not immediately) be

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie Richard Hartmann
On Thu, Feb 21, 2008 at 12:21 AM, George V. Reilly [EMAIL PROTECTED] wrote: The same caveats apply on Windows, which wasn't clear in Bram's help text. I assumed Bram counted Windows towards DOS, thus not offering a PID at all? Richard --~--~-~--~~~---~--~~

Re: quickfix in foldopen doesn't work for keyboard mappings

2008-02-20 Fir de Conversatie Ben Schmidt
Alexei Alexandrov wrote: Hi, I have the following in my .vimrc: nmap C-Up :cprevCR nmap C-Down :cnextCR to navigate quickly between compiler errors. I noticed though that when using these mappings I don't get closed folds opening automatically despite quickfix is specified in the

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie Richard Hartmann
On Wed, Feb 20, 2008 at 11:17 PM, Ben Schmidt [EMAIL PROTECTED] wrote: But it's unique during the period that the Vim process is running, which is the only time the function can be called, and the only time the concept of a process ID really makes sense! I think 'unique' here didn't

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie George V. Reilly
On 20/02/2008, Richard Hartmann [EMAIL PROTECTED] wrote: On Thu, Feb 21, 2008 at 12:21 AM, George V. Reilly [EMAIL PROTECTED] wrote: The same caveats apply on Windows, which wasn't clear in Bram's help text. I assumed Bram counted Windows towards DOS, thus not offering a PID at all?

Re: Redraw bug with hlsearch when scrolling up

2008-02-20 Fir de Conversatie Tony Mechelynck
Patrick Texier wrote: Le Tue, 19 Feb 2008 23:39:34 +0100, Dominique Pelle a écrit dans le message [EMAIL PROTECTED] : It initially works fine, but when I scroll up, only 1 line (sometimes 2) get highlighted instead of 3. After a scroll up, Vim highlights a multiline pattern only if first

Re: Redraw bug with hlsearch when scrolling up

2008-02-20 Fir de Conversatie Dominique Pelle
On Thu, Feb 21, 2008 at 3:42 AM, Tony Mechelynck [EMAIL PROTECTED] wrote: Patrick Texier wrote: Le Tue, 19 Feb 2008 23:39:34 +0100, Dominique Pelle a écrit dans le message [EMAIL PROTECTED] : It initially works fine, but when I scroll up, only 1 line (sometimes 2) get

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie Ben Schmidt
I assumed Bram counted Windows towards DOS, thus not offering a PID at all? No, Windows does have PID's, supported by the new Vim getpid() function. I agree the docs are unclear on this. Would be better if they had 'Unix and Windows'. Ben. Send instant messages to your online friends

Re: Patch 7.1.262

2008-02-20 Fir de Conversatie Ben Schmidt
Of course. But being able to generate/query a value and to reliably use it as a unique value are vastly different. I think you *can* reliably use it as a unique value (though only within the context of the process running), so I don't think these are vastly different. I personally think