Re: PHP Omnicompletion

2010-08-05 Fir de Conversatie Doug Kearns
On Thu, Aug 5, 2010 at 3:20 AM, Shawn B. shawncp...@gmail.com wrote: As per numerous requests I've been told to post here to get my updated phpcomplete.vim script (http://www.vim.org/scripts/script.php? script_id=3171) included as the default in 7.3. How does one go about doing that? In

GTK GUI: columns is sometimes set to 122 even though I set it in GUIEnter

2010-08-05 Fir de Conversatie ron
I have an occasional issue where my sessions do not restore the window size correctly. This is in 7.3d, using GTK GUI (the issue may well exist under Windows, but I haven't tried it there yet). I have a rather complex sessions setup, but the point is that I save a special value WinColumns (among

Re: find file problem

2010-08-05 Fir de Conversatie Nazri Ramliy
On Thu, Aug 5, 2010 at 3:59 PM, Skip bezrod...@gmail.com wrote: 2. s...@skip:~/work/breakout2/TlkMessageExchange$ LANG=C vim -u NONE - U NONE . 3. input :set nocompatible 4. input :set path=./include 5. input :find lib.h E345: Can't find file lib.h in path 6. input :set path=include

Re: Vim 7.3d ready for beta testing

2010-08-05 Fir de Conversatie Tony Mechelynck
On 04/08/10 19:15, Bram Moolenaar wrote: Hello Vim users, Announcing: Vim (Vi IMproved) version 7.3d BETA This is a BETA release of Vim 7.3. It consists of Vim 7.2 plus all patches, updated runtime files and some more. 7.3d is for a large part the same as 7.3c, but the MS-Windows

Re: GTK GUI: columns is sometimes set to 122 even though I set it in GUIEnter

2010-08-05 Fir de Conversatie ron
This script replicates the problem, simply gvim -u test.vim (assuming you call this 'test.vim') set nocp set viminfo=c,!,1000,'1000 set sessionoptions=globals,buffers,slash,localoptions,folds,tabpages,unix fun TestLeave() let g:WinCol=columns wv! test.viminfo mks!

Re: Question about :find completion support in Vim 7.3b

2010-08-05 Fir de Conversatie Nazri Ramliy
On Thu, Aug 5, 2010 at 4:11 AM, Bram Moolenaar b...@moolenaar.net wrote: I noticed another problem: with 'path' set to ./** and in an empty buffer :find completion crashes. =A0I fixed it. Thanks. I'll add this check to the test script. I've updated the test to check for this and a few more

Re: GTK GUI: columns is sometimes set to 122 even though I set it in GUIEnter

2010-08-05 Fir de Conversatie ron
Now confirmed that this does NOT happen on Windows, but does on GTK -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

PHP syntax script problem

2010-08-05 Fir de Conversatie Dimitar DIMITROV
Hi, When using :vglobal/\S/,/\S/-j|noh (this reduces several empty lines following one another to just one line) on a php file: ?php class Test { public function init() { echo '1'; echo '2'; echo '3'; echo '4'; echo '5'; } } with :set

E315: ml_get: invalid lnum

2010-08-05 Fir de Conversatie Dimitar DIMITROV
Hi, 1. :help 2. 10GVjesc 3. :ene 4. Use MiddleMouse to paste the text but don't do it above line 1 5. u 6. Use MiddleMouse to paste the text and do it above line 1 7. ddu^R Error message: E315: ml_get: invalid lnum: 3 E315: ml_get: invalid lnum: 3 :version VIM - Vi IMproved 7.3d BETA (2010

Re : PHP syntax script problem

2010-08-05 Fir de Conversatie Dimitar DIMITROV
Hi, When using :vglobal/\S/,/\S/-j|noh (this reduces several empty lines following one another to just one line) on a php file: ?php class Test { public function init() { echo '1'; echo '2'; echo '3'; echo '4'; echo '5'; }

Re: Vim 7.3d ready for beta testing

2010-08-05 Fir de Conversatie Bram Moolenaar
Ben Fritz wrote: On Aug 4, 12:15=A0pm, Bram Moolenaar b...@moolenaar.net wrote: I will no longer include new features in 7.3, it's only testing now. I assume bug fixes don't count as new features and can still be included. Of course. Let's try to get the most important bugs fixed.

Re: PHP Omnicompletion

2010-08-05 Fir de Conversatie David Fishburn
On 8/5/2010 2:36 AM, Doug Kearns wrote: On Thu, Aug 5, 2010 at 3:20 AM, Shawn B.shawncp...@gmail.com wrote: As per numerous requests I've been told to post here to get my updated phpcomplete.vim script (http://www.vim.org/scripts/script.php? script_id=3171) included as the default in 7.3. How

Re: PHP Omnicompletion

2010-08-05 Fir de Conversatie Shawn Biddle
It's omnicompletion so if you don't have a tab-complete or some other type of plugin to complete on another key it is the default ^X^O inscompletion method. Either way I've disambiguated the description accordingly. On Thu, Aug 5, 2010 at 10:48 AM, David Fishburn dfishburn@gmail.comwrote:

Re: PHP Omnicompletion

2010-08-05 Fir de Conversatie David Fishburn
On 8/5/2010 11:11 AM, Shawn Biddle wrote: It's omnicompletion so if you don't have a tab-complete or some other type of plugin to complete on another key it is the default ^X^O inscompletion method. Either way I've disambiguated the description accordingly. Yes, much better. Thanks, Dave

Re: PHP syntax script problem

2010-08-05 Fir de Conversatie Benjamin R. Haskell
On Thu, 5 Aug 2010, Dimitar DIMITROV wrote: Hi, When using :vglobal/\S/,/\S/-j|noh (this reduces several empty lines following one another to just one line) on a php file: ?php class Test {     public function init()     {     echo '1';     echo '2';    

Re: [PATCH] Add options for opening dropped files in new tabs

2010-08-05 Fir de Conversatie Michael Trim
On 4 August 2010 20:16, björn bjorn.winck...@gmail.com wrote: On 4 August 2010 21:01, Michael Trim wrote: The two options as implemented in the patch are not mutually exclusive, though they could perhaps be better named: - nodropnewtab + nodropsplit (default) = current behaviour, where

Re: PHP syntax script problem

2010-08-05 Fir de Conversatie James Vega
On Thu, Aug 05, 2010 at 11:52:58AM -0400, Benjamin R. Haskell wrote: Roughly, from what I can tell: :vglobal/\S/ -- for all lines without non-whitespace (i.e. forall blank lines): ,-- repeat last f F t T search (or does ',' do something different here?) /\S/ -- find

Re: PHP syntax script problem

2010-08-05 Fir de Conversatie Benjamin R. Haskell
On Thu, 5 Aug 2010, James Vega wrote: On Thu, Aug 05, 2010 at 11:52:58AM -0400, Benjamin R. Haskell wrote: Roughly, from what I can tell: :vglobal/\S/ -- for all lines without non-whitespace (i.e. forall blank lines): ,-- repeat last f F t T search (or does ',' do

Re: [PATCH] Add options for opening dropped files in new tabs

2010-08-05 Fir de Conversatie björn
On 5 August 2010 19:24, Michael Trim wrote: The Ctrl key functionality is part of the existing code, and is not relied on or provided by this patch.  The Ctrl modifier just allows the user to force the opposite behaviour to the actual state of the 'dropsplit' option.  Without modifier support

Re: [PATCH] Add options for opening dropped files in new tabs

2010-08-05 Fir de Conversatie björn
On 5 August 2010 20:43, björn wrote: On 5 August 2010 19:24, Michael Trim wrote: The Ctrl key functionality is part of the existing code, and is not relied on or provided by this patch.  The Ctrl modifier just allows the user to force the opposite behaviour to the actual state of the

Re: BUG: ``E685: Internal error: func_unref()'' when using delfunction on local function varible containing a dictionary function

2010-08-05 Fir de Conversatie Bram Moolenaar
ZyX (?) wrote: Attached script causes a error when sourced using vim -u NONE -c 'set nocompatible' -c 'so ~/tmp/vim/test-bug.vim Error message: Error detected while processing /home/zyx/tmp/vim/test-bug.vim: line8: E685: Internal error: func_unref() E685: Internal

Re: Problem with latest vimdiff

2010-08-05 Fir de Conversatie Bram Moolenaar
Gary Johnson wrote: Using the latest vim73, changeset c945fdb34ce3, Wed Aug 04 20:55:44 2010 +0200, the two windows of a vimdiff display can get out of sync. To demonstrate the problem, cd to the vim/src directory and execute this command. vim -d -N -u NONE -i NONE (hg cat -r

Re: E315: ml_get: invalid lnum

2010-08-05 Fir de Conversatie Bram Moolenaar
Dimitar Dimitrov wrote: 1. :help 2. 10GVjesc 3. :ene 4. Use MiddleMouse to paste the text but don't do it above line 1 5. u 6. Use MiddleMouse to paste the text and do it above line 1 7. ddu^R Error message: E315: ml_get: invalid lnum: 3 E315: ml_get: invalid lnum: 3 :version

Re: GTK GUI: columns is sometimes set to 122 even though I set it in GUIEnter

2010-08-05 Fir de Conversatie Bram Moolenaar
Ron Aaron wrote: I have an occasional issue where my sessions do not restore the window size correctly. This is in 7.3d, using GTK GUI (the issue may well exist under Windows, but I haven't tried it there yet). I have a rather complex sessions setup, but the point is that I save a

Re: Question about :find completion support in Vim 7.3b

2010-08-05 Fir de Conversatie Bram Moolenaar
Nazri Ramliy wrote: On Thu, Aug 5, 2010 at 4:11 AM, Bram Moolenaar b...@moolenaar.net wrote: I noticed another problem: with 'path' set to ./** and in an empty buffer :find completion crashes. =A0I fixed it. Thanks. I'll add this check to the test script. I've updated the test to

Re: GTK GUI: columns is sometimes set to 122 even though I set it in GUIEnter

2010-08-05 Fir de Conversatie ron
On Aug 5, 10:56 pm, Bram Moolenaar b...@moolenaar.net wrote: GTK resizing is hacky.  I could never figure out how to do it properly. I'm sure that when we try to fix this problem another one will pop up. Arggh! Without really trying to understand the code, just by seeing what happens using my

Updated Brazilian Portuguese translation

2010-08-05 Fir de Conversatie Eduardo Dobay
I hadn't updated the translation since I first uploaded it, so here is a patch against the old source. (Am I too late for 7.3?) Eduardo -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

[PATCH] update version in gvim manifest

2010-08-05 Fir de Conversatie Michael Wookey
--- src/gvim.exe.mnf |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gvim.exe.mnf b/src/gvim.exe.mnf index 0033979..26ade97 100644 --- a/src/gvim.exe.mnf +++ b/src/gvim.exe.mnf @@ -2,7 +2,7 @@ assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0

using $curbuf-Count(), $curbuf-Delete() from embedded perl interpreter

2010-08-05 Fir de Conversatie Britton Kerin
I just figured out that $curbuf-Count() doesn't track the contents of $curbuf accross $curbuf-Delete() (and presumably other methods). For example: our $curbuf; my @buflines = $curbuf-Get(1 .. $curbuf-Count()); print LOG \...@buflines size before Delete: @buflines.\n; print

Re: using $curbuf-Count(), $curbuf-Delete() from embedded perl interpreter

2010-08-05 Fir de Conversatie Christian J. Robinson
On Thu, Aug 5, 2010 at 5:53 PM, Britton Kerin britton.ke...@gmail.com wrote: I just figured out that $curbuf-Count() doesn't track the contents of $curbuf accross $curbuf-Delete() (and presumably other methods).  For example:    our $curbuf;    my @buflines = $curbuf-Get(1 ..