Re: Bug in non-gui vim 7.0-178: Command line expansion for emenu doesn't work for menu entries containing a period.

2007-01-13 Thread Thomas Link
set nocompatible set wildmenu amenu test.etc\..1 :echo 1cr emenu test.{press tab} This presents no possible completion in vim, but correctly shows the submenu in gvim. It works fine for me. Could there be something else that matters? I tried this with the terminal version on linux

Re: Apparent Vim 7.0 bug (re comments)

2007-01-10 Thread Robert Lee
that this is a bug, but I don't see what else could be causing this. Thanks for any help! -Robert I haven't delved very deep into the 'comments' options. In CSS files it is set (by the ftplugin, I guess) to comments=s1:/*,mb:*,ex:*/ and I get /* * * */ With your settings, I see

Undo bug

2007-01-06 Thread Andy Wokula
Think I found a bug in the undo-branches behaviour, which cuts undo-states. Try this out: In a new buffer, insert `one' (or some other text), then in normal mode type `g-g-u', now insert `two' and type `g-g-u' again (ignore quotes `'). From now on it is not possible to get back the text states

Bug in 7.0.178? autocmd BufReadCmd * DoSomething expand(afile) fails if the filename contains %

2007-01-02 Thread Thomas
Hi, I have the following line in my source: exec 'autocmd BufReadCmd '. pattern .' call '. rcmd .'(1, expand(afile), , %)' This fails if the filename contains % which is replaced with expand('%'). I can't seem to escape the % at any point, can I? Wrapping the exand(afile) in a escape(, %)

RE: Bug in 7.0.178? autocmd BufReadCmd * DoSomething expand(afile) fails if the filename contains %

2007-01-02 Thread Suresh Govindachar
Thomas sent to vim-dev@vim.org I have the following line in my source: exec 'autocmd BufReadCmd '. pattern .' call '. rcmd .'(1, expand(afile), , %)' This fails if the filename contains % which is replaced with expand('%'). I can't seem to escape the % at any point,

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-13 Thread Thomas
You can already do quite a lot if you define your own assert function or command for this. Ok, I now uploaded a plugin[1] that does this. Maybe somebody finds this useful too. The handling of script local functions is suboptimal though, which is why I still think this should be integrated

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-12 Thread Bram Moolenaar
Sanoblast wrote: Looking back, now that Vim script has become much more complex, a bit more type checking would be good. A valid point. Mabye this could be done by an assert command/function that checks its arguments or does nothing depending on an option (maybe

Re: vim bug description (timing issue on Linux)

2006-12-11 Thread A.J.Mechelynck
Peter Knaggs wrote: On 12/10/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: I can't type fast enough I noticed by looking in getchar.c at line 2695 that the timeout p_ttm is a global, which we can set (in milliseconds) using set ttimeoutlen value (see option.c). So e.g. to set it to three

Re: vim bug description (timing issue on Linux)

2006-12-11 Thread Bram Moolenaar
Peter Knaggs wrote: On 12/10/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: I can't type fast enough but (in Vim in konsole) the command :exe 'norm A^[Oj^[' (where each of the two ^[ is typed as Ctrl-V Esc) results in a lone star without the additional line below it.

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-11 Thread Bram Moolenaar
Thomas wrote: As mentioned in the documentation, automatic conversion only happens between numbers and strings, not with Lists and Dictionaries. This is to avoid mistakes, e.g., trying to concatenate a List and a String. Something like let l = [1,2,3] exec Foo . l could

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-11 Thread Thomas
Looking back, now that Vim script has become much more complex, a bit more type checking would be good. A valid point. Mabye this could be done by an assert command/function that checks its arguments or does nothing depending on an option (maybe 'debug')/flag/variable? Problem

Re: vim bug description (timing issue on Linux)

2006-12-10 Thread Peter Knaggs
On 12/10/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: I can't type fast enough I noticed by looking in getchar.c at line 2695 that the timeout p_ttm is a global, which we can set (in milliseconds) using set ttimeoutlen value (see option.c). So e.g. to set it to three seconds, to give yourself

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-10 Thread Thomas
As mentioned in the documentation, automatic conversion only happens between numbers and strings, not with Lists and Dictionaries. This is to avoid mistakes, e.g., trying to concatenate a List and a String. Something like let l = [1,2,3] exec Foo . l could come handy though -- which

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-10 Thread Thomas
Something like let l = [1,2,3] exec Foo . l could come in handy though -- which isn't possible now. Although I just realized that lists seem to be passed on by reference and this would create a new copy if the string presentation of a list were a parseable list. Which leads to another

Re: vim70: Dictionaries echo vs echom: Bug?

2006-12-10 Thread Thomas
let l = [1,2,3] exec Foo . l Which leads to another point: How do I pass a list by reference to Foo Sorry, I somehow seem to have forgot what the original problem was -- which I should able to solve with the function() call() functions.

Re[2]: Bug? (Re: local map and vmap not cleared when buffer deleted)

2006-12-06 Thread Alan G Isaac
On Wed, 6 Dec 2006, Bill McCarthy apparently wrote: I repeated this starting with a file name file: gvim -u NONE -i NONE -N file Here I see what appears to be a cosmetic bug. I am seeing: i @ buffer v @ I am using Vim 7.0. Starting with gvim -u NONE

Re: Bug? (Re: local map and vmap not cleared when buffer deleted)

2006-12-06 Thread Bill McCarthy
On Wed 6-Dec-06 9:17am -0600, Alan G Isaac wrote: On Wed, 6 Dec 2006, Bill McCarthy apparently wrote: I repeated this starting with a file name file: gvim -u NONE -i NONE -N file Here I see what appears to be a cosmetic bug. I am seeing: i @ buffer v

Re: BUG: tr() returns additional junk character

2006-12-05 Thread Bram Moolenaar
Ingo Karkat wrote: I found a bug in VIM 7.0's new tr() function. If the {src} string contains exactly 80 characters, an additional junk character is appended to the tr() result; this happens regardless of whether a character translation has occurred or not. How to reproduce: vim -u NONE

Possible bug in vb.vim or html.vim

2006-12-05 Thread Mark Manning
I have run across a rather strange error in the syntax highlighting for either vb.vim or html.vim. I'm unsure which is causing the problem. Here are the circumstances under which this error occurs: I am developing an HTA program. An HTA program (for those who do not use Windows) is an HTML

possible bug for syntax/vim.vim?

2006-11-30 Thread panshizhu
if I had the following in a vim script: call FooBar('xxx' \ 'yyy') then the last character ')' will be highlight as Error. It seems that the '\' continued line are not recognized well. My :version VIM - Vi IMproved 7.0 (2006 May 7, compiled Sep 15 2006 16:06:30) Included patches: 1-76

Re: possible bug for syntax/vim.vim?

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 7:30pm -0600, [EMAIL PROTECTED] wrote: if I had the following in a vim script: call FooBar('xxx' \ 'yyy') then the last character ')' will be highlight as Error. It seems that the '\' continued line are not recognized well. Yes, the continuation support is limited.

Re: searchpos bug

2006-11-16 Thread Bram Moolenaar
Viktor Kojouharov wrote: It seems that searchpos doesn't match under the cursor, when the cursor itself is on the first column. You can try the simple search pos command below, and try searching for anything non-whitespace. Even with the 'c' flag, it will still move the cursor to the first

BUG: Visual replace

2006-11-09 Thread Max Dyckhoff
explained some months ago. When you move to a new location and very quickly begin some command (like ^W, r, etc) then the command will be aborted because the au for CursorHold runs and issues some command. The one difference is that this new instance of the bug will happen at any time (you can

vimtutor bug

2006-11-07 Thread Shannon -jj Behrens
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 Vim 7.0.35. Thanks! -jj --

gVim 7 Win32 Maximize bug report

2006-11-02 Thread dotpanic
Hello, I'm pretty new to this mailing list and I hope I'm posting at the right place. I just want to report a simple bug, easy to reproduce. I have only tested it on Windows. Open vim, write a single 1 characters line (filled with blanks for example), and just maximize the window

Re: gVim 7 Win32 Maximize bug report

2006-11-02 Thread Yakov Lerner
On 11/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I'm pretty new to this mailing list and I hope I'm posting at the right place. I just want to report a simple bug, easy to reproduce. I have only tested it on Windows. Open vim, write a single 1 characters line (filled

Re: gVim 7 Win32 Maximize bug report

2006-11-02 Thread dotpanic
with an already corrected bug. Anyway, even with the latest release installed, the version displayed by windows is still 7.0.262.0. Best regards, Mike Meirsman This message was sent using IMP, the Internet Messaging Program.

RE: gVim 7 Win32 Maximize bug report

2006-11-02 Thread Steve Hall
From: dotpanic dotpanic homelinux.org, Thu, November 02, 2006 6:11 am I'm pretty new to this mailing list and I hope I'm posting at the right place. I just want to report a simple bug, easy to reproduce. I have only tested it on Windows. Open vim, write a single 1 characters line

Re: gVim 7 Win32 Maximize bug report

2006-11-02 Thread Yakov Lerner
On 11/2/06, Steve Hall [EMAIL PROTECTED] wrote: From: dotpanic dotpanic homelinux.org, Thu, November 02, 2006 6:11 am I'm pretty new to this mailing list and I hope I'm posting at the right place. I just want to report a simple bug, easy to reproduce. I have only tested it on Windows

Re: gVim 7 Win32 Maximize bug report

2006-11-02 Thread Bill McCarthy
On Thu 2-Nov-06 5:11am -0600, [EMAIL PROTECTED] wrote: I'm pretty new to this mailing list and I hope I'm posting at the right place. I just want to report a simple bug, easy to reproduce. I have only tested it on Windows. Open vim, write a single 1 characters line (filled with blanks

Re: gVim 7 Win32 Maximize bug report

2006-11-02 Thread A.J.Mechelynck
to have bothered you with an already corrected bug. Anyway, even with the latest release installed, the version displayed by windows is still 7.0.262.0. Best regards, Mike Meirsman This message was sent using IMP, the Internet

BUG that will cause loss of edited text

2006-10-26 Thread Yongwei Wu
Hi Bram and maintainers, I encountered this bug when editing files: 1) Open a file, change something. The file is marked as modifed. 2) Use Ctrl-W,Ctrl-] to go to the definition of any symbol in a new window. The newly opened file is unmodified, and the old one is still modified. 3) Use Ctrl-T

Re: BUG that will cause loss of edited text

2006-10-26 Thread Yegappan Lakshmanan
Hi, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Bram and maintainers, I encountered this bug when editing files: 1) Open a file, change something. The file is marked as modifed. 2) Use Ctrl-W,Ctrl-] to go to the definition of any symbol in a new window. The newly opened file

Re: BUG that will cause loss of edited text

2006-10-26 Thread Yongwei Wu
Hi Yegappan, On 10/26/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Bram and maintainers, I encountered this bug when editing files: 1) Open a file, change something. The file is marked as modifed. 2) Use Ctrl-W,Ctrl-] to go

Re: BUG that will cause loss of edited text

2006-10-26 Thread Yongwei Wu
Hi list, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Yegappan, On 10/26/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Bram and maintainers, I encountered this bug when editing files: 1) Open a file, change

Re: BUG that will cause loss of edited text

2006-10-26 Thread A.J.Mechelynck
Yongwei Wu wrote: Hi list, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Yegappan, On 10/26/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote: Hi, On 10/26/06, Yongwei Wu [EMAIL PROTECTED] wrote: Hi Bram and maintainers, I encountered this bug when editing files: 1) Open

Re: BUG: mksession saves lcd in incorrect place

2006-10-24 Thread Bram Moolenaar
Marius Roets wrote: I believe I have found a bug in Vim 7.0.146, relating to mksession and lcd. Here is a small example. 1) Open Vim 2) :e file1.txt 3) :tabe temp/file2.txt Any different directory 4) :lcd %:h 5) :mks test.vim 6) Close vim 7) Open vim 8) :source test.vim 9) The second

Re: BUG: mksession saves lcd in incorrect place

2006-10-24 Thread Marius Roets
On 10/24/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I see the problem. I'll fix it. Thanks Bram!

Re: BUG: mksession saves lcd in incorrect place

2006-10-24 Thread Marius Roets
On 10/24/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I see the problem. I'll fix it. This works correctly now after applying patch 7.0.147. Thanks again Bram. Marius

Re: Bug: CursorHoldI not triggered after startinsert

2006-10-23 Thread Bram Moolenaar
Hari Krishna Dara wrote: I am using :startinsert! from my plugin to put the user in insert mode, but if the user doesn't type anything for 'updatetime' after this, no CursorHoldI event is generated. I tried doing an explicit :doauto right after :startinsert!, but Vim ignores it, probably

BUG: mksession saves lcd in incorrect place

2006-10-23 Thread Marius Roets
Hi everybody, I believe I have found a bug in Vim 7.0.146, relating to mksession and lcd. Here is a small example. 1) Open Vim 2) :e file1.txt 3) :tabe temp/file2.txt Any different directory 4) :lcd %:h 5) :mks test.vim 6) Close vim 7) Open vim 8) :source test.vim 9) The second tab is empty

Re: Bug: CursorHoldI not triggered after startinsert

2006-10-23 Thread Hari Krishna Dara
On Mon, 23 Oct 2006 at 9:25pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: I am using :startinsert! from my plugin to put the user in insert mode, but if the user doesn't type anything for 'updatetime' after this, no CursorHoldI event is generated. I tried doing an explicit :doauto

Undo/modified bug

2006-10-22 Thread Christian J. Robinson
to consistently reproduce this bug, but I can't. - Christian -- Microsoft is to software what McDonalds is to gourmet cooking. Christian J. Robinson [EMAIL PROTECTED] http://infynity.spodzone.com/ PGP keys: 0x893B0EAF / 0xFB698360 http://infynity.spodzone.com/pgp

Re: Undo/modified bug

2006-10-22 Thread Bram Moolenaar
. It shouldn't happen. I've tried very hard to find a way to consistently reproduce this bug, but I can't. I'm afraid I can't guess what causes this, thus there is nothing I can do. -- From know your smileys: :-{} Too much lipstick /// Bram Moolenaar -- [EMAIL PROTECTED] -- http

Bug: CursorHoldI not triggered after startinsert

2006-10-22 Thread Hari Krishna Dara
I am using :startinsert! from my plugin to put the user in insert mode, but if the user doesn't type anything for 'updatetime' after this, no CursorHoldI event is generated. I tried doing an explicit :doauto right after :startinsert!, but Vim ignores it, probably because the command only

Re: Bug: CursorHoldI not triggered after startinsert

2006-10-22 Thread Hari Krishna Dara
On Sun, 22 Oct 2006 at 5:25pm, Hari Krishna Dara wrote: I am using :startinsert! from my plugin to put the user in insert mode, but if the user doesn't type anything for 'updatetime' after this, no CursorHoldI event is generated. I tried doing an explicit :doauto right after :startinsert!,

Re: BUG: formatoptions+=t makes comments wrap (incorrectly) when they shouldn't

2006-10-19 Thread Bram Moolenaar
Peter Hodge wrote: When I have formatoptions=t, it makes comment lines wrap when they shouldn't, and it also ignores whatever comment leader is defined in 'comments'. To reproduce: :set formatoptions=roc :set comments=b:% :set textwidth=30 % type these lines of text % as

BUG: formatoptions+=t makes comments wrap (incorrectly) when they shouldn't

2006-10-18 Thread Peter Hodge
Hello, When I have formatoptions=t, it makes comment lines wrap when they shouldn't, and it also ignores whatever comment leader is defined in 'comments'. To reproduce: :set formatoptions=roc :set comments=b:% :set textwidth=30 % type these lines of text % as one line, and notice

java indentation bug?

2006-10-13 Thread Hari Krishna Dara
(String[] args) throws Something { int i = 0; } } This seems like a bug in the Java indent plugin. -- Thanks, Hari __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http

Re: BUG: inputdialog() does not resize on Mac

2006-10-11 Thread Benji Fisher
On Thu, Sep 28, 2006 at 01:27:26PM -0400, David Fishburn wrote: Running this command: echo inputdialog(Choose # of database type:\n1. None\n2. ASA\n3. MYSQL\n4. SQLSERVER\n5. DB2,1,-1) On Windows and Linux will correctly size the inputdialog box so that the entire text is displayed.

Re: Bug in :(un)lockvar

2006-10-10 Thread Bram Moolenaar
Hari Krishna Dara wrote: I need to create a doubly linked list and since this will cause problem with lockvar, I will just comment the lock/unlockvar commands. I am wondering if you have any plans to fix this issue. The lockvar is a great way to prevent accidental changes (and it already

Re: Vim 7.0 (1-109 patches) completion bug.

2006-10-09 Thread Bill McCarthy
Giving up on 80.91.16.141. This continues the conversion with the same subject. There does appear to be a bug. Please read on. On Sun 8-Oct-06 10:42pm -0600, Igor Prischepoff wrote: Hello, Bill. Can you try _one more last time_ please ? gvim - whatever you prefer for clean vim without

RE: Vim 7.0 (1-109 patches) completion bug.

2006-10-09 Thread Igor Prischepoff
Thank you, Bill. I can confirm same behaviour as you described with my vim. Now it is up to Bram to decide if this is wrong or right. --- [EMAIL PROTECTED]

Re: Bug in :(un)lockvar

2006-10-09 Thread Hari Krishna Dara
Bram, I need to create a doubly linked list and since this will cause problem with lockvar, I will just comment the lock/unlockvar commands. I am wondering if you have any plans to fix this issue. The lockvar is a great way to prevent accidental changes (and it already helped me once) so I would

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-07 Thread Peter Hodge
I can reproduce the problem. Indeed looks like a bug. Removing containedin=NOTHING solves it, while it should not change anything. Sorry for finding a bug while you are so busy. But I am addicted to syntax highlighting, it's such a wonderful feature. regards, Peter -- hundred

Re: Bug in netrw.vim

2006-10-07 Thread A.J.Mechelynck
Victor Hsieh wrote: That is exactly what I think. In most cast, http server and ftp server doesn't share the same PATH (I mean, http,ftp://somewhere/PATH). Consider about this case, if I tried to edit http://somewhere/~victor/ , and my vim opened ftp://somewhere/~victor/ instead, it's not

Re: Bug in :(un)lockvar

2006-10-07 Thread Bram Moolenaar
Hari Krishna Dara wrote: The :lockvar and :unlockvar commands fail when there is a recursive references. E.g., try the below: :let a = {} :let b = {} :let a.b = b :let b:a = a :lockvar! a E743: variable nested too deep for (un)lock You could of course end up with more complicated

Re: Bug in updating block markers ?

2006-10-07 Thread Bram Moolenaar
Hari Krishna Dara wrote: The ' and ' markers identify the start and end position of a selection block and it seems to be not updated correctly in one particular case. Say you start selection (visual mode or select mode) on one line, and use ^E or ^Y to scroll the buffer such that the current

Re: Bug in updating block markers ?

2006-10-07 Thread Hari Krishna Dara
am pretty sure many maps have been written using this assumption (I might have one or two as well) and they will break with your patch. If the bug has always been there, why not make it the expected behavior? Do you see any problem with that? Anyone can think of an alternate way to identify

Re: Bug in updating block markers ?

2006-10-07 Thread Bram Moolenaar
have been written using this assumption (I might have one or two as well) and they will break with your patch. These maps would already break when autoselect is not enabled. If the bug has always been there, why not make it the expected behavior? Do you see any problem with that? It may

Re: Bug in updating block markers ?

2006-10-07 Thread Hari Krishna Dara
On Sat, 7 Oct 2006 at 10:08pm, Bram Moolenaar wrote: exec 'normal! '.(s:IsSelectMode() ? \C-G : '').\Escgv. \ (s:IsSelectMode() ? \C-G : '') It is strange that the normal command would not recognize the Esc in select mode if I don't first switch to visual mode using

Bug in netrw.vim

2006-10-06 Thread Victor Hsieh
Hi, With vim 7.0 and netrw.vim version 98, I've encountered a problem when trying to vim http://somewhere/file.txt;. This patch will fix the problem: --- netrw.vim 2006-10-06 13:53:03.567758750 +0800 +++ netrw.vim.orig 2006-10-06 13:47:02.757209500 +0800 @@ -753,7 +753,7

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-06 Thread Ilya Bobir
Peter Hodge wrote: Thanks for your help, I had another look and found out you need another syntax command to reproduce it properly. Here is the revised bug report Start vim using vim -u NONE insert the following test code (note that the 4th line must be indented). array($foo) is_array

Re: Vim 7.0 (1-109 patches) completion bug.

2006-10-06 Thread Bill McCarthy
in buffer? // I still thinks it should be considered as a bug. What action did you take on the first C-N? Since 'o' is the longest common, no addition completion is done. If you just want the 'o' type C-Y, if you want 'one' type C-N, or if you want 'or' type C-P. Why C-Y? See ':h complete_CTRL-Y

Re: Bug in netrw.vim

2006-10-06 Thread Charles E Campbell Jr
Victor Hsieh wrote: With vim 7.0 and netrw.vim version 98, I've encountered a problem when trying to vim http://somewhere/file.txt;. This patch will fix the problem: By the way, netrw is up to version 107a on my website. If you have a problem with netrw, its always best to get the latest

Re: Bug in netrw.vim

2006-10-06 Thread Charles E Campbell Jr
Victor Hsieh wrote: On 10/6/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Victor Hsieh wrote: With vim 7.0 and netrw.vim version 98, I've encountered a problem when trying to vim http://somewhere/file.txt;. This patch will fix the problem: This would silently let users overwrite

Re: Bug in netrw.vim

2006-10-06 Thread A.J.Mechelynck
Victor Hsieh wrote: On 10/6/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Victor Hsieh wrote: With vim 7.0 and netrw.vim version 98, I've encountered a problem when trying to vim http://somewhere/file.txt;. This patch will fix the problem: This would silently let users overwrite their

Re: Bug in netrw.vim

2006-10-06 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Victor Hsieh wrote: [...] I know. But I just want to read the html code or so with my favoriate editor ;) I used to do it with vim6. Actually in most case, connecting to ftp://somewhere (when open http://somewhere) is not gonna work. Not if you don't have the

Re: Bug in netrw.vim

2006-10-06 Thread mwoehlke
A.J.Mechelynck wrote: Charles E Campbell Jr wrote: Victor Hsieh wrote: [...] I know. But I just want to read the html code or so with my favoriate editor ;) I used to do it with vim6. Actually in most case, connecting to ftp://somewhere (when open http://somewhere) is not gonna work. Not

Re: BUG: getwinvar/gettabwinvar returns wrong dictionary w/ patch

2006-10-06 Thread Bram Moolenaar
Geoff Reedy wrote: When calling getwinvar or gettabwinvar with an empty string as the last argument it is supposed to return a dictionary of the values defined in the specified window. This does not appear to be documented in the help files but it is documented in a comment within

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-06 Thread Bram Moolenaar
Peter Hodge wrote: Thanks for your help, I had another look and found out you need another syntax command to reproduce it properly. Here is the revised bug report Start vim using vim -u NONE insert the following test code (note that the 4th line must be indented). array($foo

Re: Bug in netrw.vim

2006-10-06 Thread Victor Hsieh
That is exactly what I think. In most cast, http server and ftp server doesn't share the same PATH (I mean, http,ftp://somewhere/PATH). Consider about this case, if I tried to edit http://somewhere/~victor/ , and my vim opened ftp://somewhere/~victor/ instead, it's not gonna work at all. There

Re: bug in map expr and complete()

2006-10-06 Thread Jürgen Krämer
Hi, Hari Krishna Dara wrote: The help on complete() gives an example as a usage pattern which seems to be very useful, but it doesn't work. Here is a slightly modified example to avoid breaking the lines in email transmission: inoremap expr F5 ListWeeks() func! ListWeeks() call

Re: bug in map expr and complete()

2006-10-06 Thread Hari Krishna Dara
On Fri, 6 Oct 2006 at 8:19am, Jürgen Krämer wrote: Hi, Hari Krishna Dara wrote: The help on complete() gives an example as a usage pattern which seems to be very useful, but it doesn't work. Here is a slightly modified example to avoid breaking the lines in email transmission:

Re: bug in map expr and complete()

2006-10-06 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Fri, 6 Oct 2006 at 8:19am, Jürgen Krämer wrote: Hi, Hari Krishna Dara wrote: The help on complete() gives an example as a usage pattern which seems to be very useful, but it doesn't work. Here is a slightly modified example to avoid breaking the lines in email

Re: bug in map expr and complete()

2006-10-06 Thread Hari Krishna Dara
On Fri, 6 Oct 2006 at 7:48pm, A.J.Mechelynck wrote: Hari Krishna Dara wrote: On Fri, 6 Oct 2006 at 8:19am, Jürgen Krämer wrote: Hi, Hari Krishna Dara wrote: The help on complete() gives an example as a usage pattern which seems to be very useful, but it doesn't work. Here is a

Re: bug in map expr and complete()

2006-10-06 Thread A.J.Mechelynck
Hari Krishna Dara wrote: [...] Interesting... the 7.0.99 version that I have doesn't have anything that you are pointing to, and the example clearly used map expr. The documentation was probably updated later on? What patch version do you have? Or may be that I updated the vim binaries, not

Re: bug in map expr and complete()

2006-10-06 Thread Bill McCarthy
On Fri 6-Oct-06 6:46pm -0600, A.J.Mechelynck wrote: Hari Krishna Dara wrote: [...] Interesting... the 7.0.99 version that I have doesn't have anything that you are pointing to, and the example clearly used map expr. The documentation was probably updated later on? What patch version do you

Re: bug in map expr and complete()

2006-10-06 Thread A.J.Mechelynck
Bill McCarthy wrote: On Fri 6-Oct-06 6:46pm -0600, A.J.Mechelynck wrote: Hari Krishna Dara wrote: [...] Interesting... the 7.0.99 version that I have doesn't have anything that you are pointing to, and the example clearly used map expr. The documentation was probably updated later on? What

Bug in updating block markers ?

2006-10-06 Thread Hari Krishna Dara
The ' and ' markers identify the start and end position of a selection block and it seems to be not updated correctly in one particular case. Say you start selection (visual mode or select mode) on one line, and use ^E or ^Y to scroll the buffer such that the current line goes past the window

Re: bug in map expr and complete()

2006-10-06 Thread Bill McCarthy
On Fri 6-Oct-06 8:36pm -0600, you wrote: Bill McCarthy wrote: On Fri 6-Oct-06 6:46pm -0600, A.J.Mechelynck wrote: Hari Krishna Dara wrote: [...] Interesting... the 7.0.99 version that I have doesn't have anything that you are pointing to, and the example clearly used map expr. The

Bug in :(un)lockvar

2006-10-06 Thread Hari Krishna Dara
The :lockvar and :unlockvar commands fail when there is a recursive references. E.g., try the below: :let a = {} :let b = {} :let a.b = b :let b:a = a :lockvar! a E743: variable nested too deep for (un)lock You could of course end up with more complicated indirect recursive references as well,

BUG: syntax region overlaps keyword *sometimes*

2006-10-05 Thread Peter Hodge
Hello, I have discovered that it is possible for a syntax region to overlap a syntax keyword, even though the region is not contained in the keyword. Take the following code example and apply the syntax commands below: TEST CODE: (is_array($foo)) ( is_array($foo) ) SYNTAX

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-05 Thread Ilya Bobir
Peter Hodge wrote: Hello, I have discovered that it is possible for a syntax region to overlap a syntax keyword, even though the region is not contained in the keyword. Take the following code example and apply the syntax commands below: TEST CODE: (is_array($foo)) ( is_array($foo)

Re: Vim 7.0 (1-109 patches) completion bug.

2006-10-05 Thread Bill McCarthy
On Wed 4-Oct-06 10:16pm -0600, Igor Prischepoff wrote: Hi, i think i have found a bug in vim 7.0 Patch level 1-109. Windows version +perl +python (i don't think this matters in this case) here is how to reproduce: gvim -u NONE -U NONE :set complete-=tdon't want complete from

Re: Vim 7.0 (1-109 patches) completion bug.

2006-10-05 Thread Bram Moolenaar
Igor Prischepoff wrote: Hi, i think i have found a bug in vim 7.0 Patch level 1-109. Windows version +perl +python (i don't think this matters in this case) here is how to reproduce: gvim -u NONE -U NONE :set complete-=t don't want complete from tags file - it's not important

Re: Vim 7.0 (1-109 patches) completion bug.

2006-10-05 Thread Mikolaj Machowski
Dnia czwartek, 5 października 2006 05:16, Igor Prischepoff napisał: Hi, i think i have found a bug in vim 7.0 Patch level 1-109. Windows version +perl +python (i don't think this matters in this case) here is how to reproduce: gvim -u NONE -U NONE :set complete-=t don't want

Re: BUG: syntax region overlaps keyword *sometimes*

2006-10-05 Thread Peter Hodge
command to reproduce it properly. Here is the revised bug report Start vim using vim -u NONE insert the following test code (note that the 4th line must be indented). array($foo) is_array $foo is_array($foo) is_array($foo) Apply the following syntax commands: syn

vim -u NONE (was: Re: Vim 7.0 (1-109 patches) completion bug.)

2006-10-05 Thread Peter Hodge
BTW, using gvim -u NONE -U NONE is both redundant (in the case of -U NONE), dangerous (since default settings may truncate your viminfo on exit), and put you in vi compatible mode. Better is: gvim -u NONE -i NONE -N I wouldn't think the -i option is necessary, because

Re: vim -u NONE (was: Re: Vim 7.0 (1-109 patches) completion bug.)

2006-10-05 Thread Gary Johnson
On 2006-10-06, Peter Hodge [EMAIL PROTECTED] wrote: BTW, using gvim -u NONE -U NONE is both redundant (in the case of -U NONE), dangerous (since default settings may truncate your viminfo on exit), and put you in vi compatible mode. Better is: gvim -u NONE -i NONE -N

BUG: getwinvar/gettabwinvar returns wrong dictionary w/ patch

2006-10-05 Thread Geoff Reedy
When calling getwinvar or gettabwinvar with an empty string as the last argument it is supposed to return a dictionary of the values defined in the specified window. This does not appear to be documented in the help files but it is documented in a comment within getwinvar in eval.c. The

RE: Vim 7.0 (1-109 patches) completion bug.

2006-10-05 Thread Igor Prischepoff
; two_and_three : byte; three : byte; // may be this is a word? one:=three; // or next one is a a word? one:=two_and_three; oC-N:=tC-n // completion in second C-N still not working here... // so there is no word? not 'one:=t*' or 't*' words in buffer? // I still thinks it should be considered as a bug

bug in map expr and complete()

2006-10-05 Thread Hari Krishna Dara
The help on complete() gives an example as a usage pattern which seems to be very useful, but it doesn't work. Here is a slightly modified example to avoid breaking the lines in email transmission: inoremap expr F5 ListWeeks() func! ListWeeks() call complete(col('.'), ['Sun', 'Mon', 'Tue',

Vim 7.0 (1-109 patches) completion bug.

2006-10-04 Thread Igor Prischepoff
Hi, i think i have found a bug in vim 7.0 Patch level 1-109. Windows version +perl +python (i don't think this matters in this case) here is how to reproduce: gvim -u NONE -U NONE :set complete-=tdon't want complete from tags file - it's not important, just to switch off message :set

Re: BUG? getchar(0) and getchar(1) do not detect ESC

2006-10-04 Thread A.J.Mechelynck
is called. In GUI Vim, I correctly see 27 returned by getchar(0), but in Terminal Vim, getchar(0) is returning '0', even though ESC has been pressed. Is this a bug in Vim? regards, Peter Here, it depends of the number of keypresses: In gvim, :sleep 10 | echo getchar(0) followed by Esc returns 27

Re: BUG? getchar(0) and getchar(1) do not detect ESC

2006-10-04 Thread Bram Moolenaar
. In GUI Vim, I correctly see 27 returned by getchar(0), but in Terminal Vim, getchar(0) is returning '0', even though ESC has been pressed. Is this a bug in Vim? It's because Esc is the start of a key sequence and it's incomplete. Vim can't know you pressed the Esc key instead of having

BUG? getchar(0) and getchar(1) do not detect ESC

2006-10-03 Thread Peter Hodge
correctly see 27 returned by getchar(0), but in Terminal Vim, getchar(0) is returning '0', even though ESC has been pressed. Is this a bug in Vim? regards, Peter On Yahoo!7 Answers: 25 million answers and counting. Learn

Re: matchparen highlight bug

2006-09-28 Thread Bram Moolenaar
Ilya Bobir wrote: I've found bug in highlighting when matchparen is used. Not sure it is because of a matchparen thought. Test case = gvim i{}EschO Now I can see first line with one character background been highlighted and an insert cursor over it and '{}' on a second

BUG: inputdialog() does not resize on Mac

2006-09-28 Thread David Fishburn
Running this command: echo inputdialog(Choose # of database type:\n1. None\n2. ASA\n3. MYSQL\n4. SQLSERVER\n5. DB2,1,-1) On Windows and Linux will correctly size the inputdialog box so that the entire text is displayed. On the Mac platform the inputdialog does not size appropriately and will

matchparen highlight bug

2006-09-27 Thread Ilya Bobir
Hello. I've found bug in highlighting when matchparen is used. Not sure it is because of a matchparen thought. Test case = gvim i{}EschO Now I can see first line with one character background been highlighted and an insert cursor over it and '{}' on a second line, both highlighted

<    1   2   3   4   5   >