Re: backtick should not be matched to wildignore.

2012-07-10 Fir de Conversatie Bram Moolenaar
Thinca wrote: 2012/7/7 Bram Moolenaar b...@moolenaar.net: This does not appear to be the right solution. It also affects a command like :n foo* even though that should obey 'wildignore'. Backtick can avoid any special characters, including wildcard. Thus, there is no reason for

Re: document histadd() update

2012-07-10 Fir de Conversatie Bram Moolenaar
Beeyawned wrote: It seems that histadd() and histget() can use the same 's[hort]' name as history: These work: call histadd(s, hello) call histget(s,-1) Should the documentation be changed? histadd({history}, {item})*histadd()* Add the String {item} to the history

Re: if_xcmdsrv.c patches

2012-07-10 Fir de Conversatie Bram Moolenaar
Brian Burns wrote: While you are digging into this, could you find some way to test this code? This might be complicated, since it requires starting two Vim instances talking to each other, but it would be very useful to have at least basic testing for this code. Hey, I've

Re: backtick should not be matched to wildignore.

2012-07-10 Fir de Conversatie mattn
You are misusing backticks. The normal use is something like: :e `glob(pattern)` Really? :help `= says following: *`=* You can have the backticks expanded as a Vim expression, instead of an external command, by using the syntax

Patch 7.3.592

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.592 Problem:Vim on GTK does not support g:browsefilter. Solution: Add a GtkFileFilter to the file chooser. (Christian Brabandt) Files: src/gui_gtk.c *** ../vim-7.3.591/src/gui_gtk.c2012-06-06 16:14:36.0 +0200 --- src/gui_gtk.c 2012-07-10

Patch 7.3.593

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.593 Problem:No easy way to decide if b:browsefilter will work. Solution: Add the browsefilter feature. Files: src/gui_gtk.c, src/eval.c, src/vim.h *** ../vim-7.3.592/src/gui_gtk.c2012-07-10 13:12:46.0 +0200 --- src/gui_gtk.c 2012-07-10

Remote host bookmark bug: Undefined variable b:netrw_cur - should be b:netrw_curdir

2012-07-10 Fir de Conversatie Donatas
When browsing on a remote (e.g. through ssh) host, attempting to use a bookmark with gb produces the following error: E121: Undefined variable: b:netrw_cur E116: Invalid arguments for function SNR33_NetrwBookHistHandler Creating and deleting bookmarks does not cause any problem. Jumping to

Patch 7.3.594

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.594 Problem:The X command server doesn't work perfectly. It sends an empty reply for as-keys requests. Solution: Remove duplicate ga_init2(). Do not send a reply for as-keys requests. (Brian Burns) Files: src/if_xcmdsrv.c ***

Re: Remote host bookmark bug: Undefined variable b:netrw_cur - should be b:netrw_curdir

2012-07-10 Fir de Conversatie Charles Campbell
Donatas wrote: When browsing on a remote (e.g. through ssh) host, attempting to use a bookmark with gb produces the following error: E121: Undefined variable: b:netrw_cur E116: Invalid arguments for functionSNR33_NetrwBookHistHandler Creating and deleting bookmarks does not cause any problem.

Patch 7.3.595

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.595 Problem:The X command server responds slowly Solution: Change the loop that waits for replies. (Brian Burns) Files: src/if_xcmdsrv.c *** ../vim-7.3.594/src/if_xcmdsrv.c 2012-07-10 14:25:00.0 +0200 --- src/if_xcmdsrv.c2012-07-10 14:44:13.0 +0200

f-args breaks multi-byte character where the second byte is 0x5c when using DBCS encoding.

2012-07-10 Fir de Conversatie Yukihiro Nakadaira
f-args breaks multi-byte character where the second byte is 0x5c when using DBCS encoding. Steps to reproduce: :set encoding=cp932 :command -nargs=* Test :echo [f-args] :execute Test \u955c a b c(0x955c in cp932 is U+8868 in Unicode) Then, first argument is displayed as broken.

Patch 7.3.596

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.596 Problem:Can't remove all signs for a file or buffer. Solution: Support * for the sign id. (Christian Brabandt) Files: runtime/doc/sign.txt, src/buffer.c, src/ex_cmds.c, src/proto/buffer.pro *** ../vim-7.3.595/runtime/doc/sign.txt 2010-08-15

Patch 7.3.597

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.597 Problem:'clipboard' autoselect only applies to the * register. (Sergey Vakulenko) Solution: Make 'autoselect' work for the + register. (Christian Brabant) Add the autoselectplus option in 'clipboard' and the P flag in 'guioptions'. Files:

Re: Patch 7.3.597

2012-07-10 Fir de Conversatie Ike Devolder
Op dinsdag 10 juli 2012 16:49:38 schreef Bram Moolenaar: Patch 7.3.597 Problem:'clipboard' autoselect only applies to the * register. (Sergey Vakulenko) Solution: Make 'autoselect' work for the + register. (Christian Brabant) Add the autoselectplus option in 'clipboard' and

Patch 7.3.598

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.598 Problem:Cannot act upon end of completion. (Taro Muraoka) Solution: Add an autocommand event that is triggered when completion has finished. (Idea by Florian Klein) Files: src/edit.c, src/fileio.c, src/vim.h *** ../vim-7.3.597/src/edit.c 2012-07-06

Re: Patch 7.3.599

2012-07-10 Fir de Conversatie Ike Devolder
Op dinsdag 10 juli 2012 18:32:08 schreef Bram Moolenaar: Patch 7.3.599 (after 7.3.597) Problem:Missing change in one file. Solution: Patch for changed clip_autoselect(). Files: src/option.c *** ../vim-7.3.598/src/option.c 2012-06-29 15:51:26.0 +0200 ---

Patch 7.3.600

2012-07-10 Fir de Conversatie Bram Moolenaar
Patch 7.3.600 Problem:f-args is not expanded properly with DBCS encoding. Solution: Skip over character instead of byte. (Yukihiro Nakadaira) Files: src/ex_docmd.c *** ../vim-7.3.599/src/ex_docmd.c 2012-07-06 18:27:34.0 +0200 --- src/ex_docmd.c 2012-07-10

Re: [patch] Prevent an annoying scroll

2012-07-10 Fir de Conversatie Lech Lorens
On 10 July 2012 23:36, I wrote: [...] I forgot to explain that the unpleasant scroll of the window contents is caused by curwin-w_wrow being set to 0. Calling win_new_height() inside f_winrestview() is intended to recompute curwin-w_wrow. Cheers, Lech -- You received this message from the

Passing non-string argument into first argument for -complete=customlist.

2012-07-10 Fir de Conversatie mattn
Try following: function! CompleteFunc(ArgLead, CmdLine, CursorPos) echomsg string([a:ArgLead, a:CmdLine, a:CursorPos]) return [''] endfunction command! -nargs=* -complete=customlist,CompleteFunc Test : :Test fooTab :Test 10Tab :Test -10Tab :Test -Tab :Test 10Tab :Test

Re: Patch 7.3.598

2012-07-10 Fir de Conversatie Taro MURAOKA
2012年7月11日水曜日 1時03分21秒 UTC+9 Bram Moolenaar: I wrote: gt; Patch 7.3.598 gt; Problem:Cannot act upon end of completion. (Taro Muraoka) gt; Solution: Add an autocommand event that is triggered when completion has gt; finished. (Idea by Florian Klein) gt; Files: src/edit.c,

Re: Patch 7.3.475

2012-07-10 Fir de Conversatie James McCoy
On Sat, Mar 17, 2012 at 07:09:00PM +0100, Bram Moolenaar wrote: Patch 7.3.475 Problem:In a terminal with few colors the omnicomplete menu may be hard to see when using the default colors. Solution: Use more explicit colors. (suggested by Alex Henrie) Files: