Re: How to execute a command like sort by job?

2016-09-01 Fir de Conversatie thinca
2016-09-01 21:04 GMT+09:00 Bram Moolenaar <b...@moolenaar.net>: > > Thinca wrote: > >> :help channel-close says: >> >> Once done with the channel, disconnect it like this: > >> call ch_close(channel) >> When a socket is used this will clos

How to execute a command like sort by job?

2016-08-31 Fir de Conversatie thinca
ant! Stopping the job with job_stop() might be better. It seems there is no way to close only stdin. How to execute a command that waits the end of input, like sort? Best regards, -- thinca <thi...@gmail.com> -- -- You received this message from the "vim_dev" maillist. Do not

Timer can not stop in its callback

2016-08-31 Fir de Conversatie thinca
bug and should be fixed before Vim 8.0. Regards, -- thinca <thi...@gmail.com> -- -- 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 --- You re

Re: Vim 8 pre-announcement

2016-08-17 Fir de Conversatie thinca
ving emails from it, send an > email to vim_dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. :help job-term says: *job-term* "term": "open"Start a terminal and connect the job s

Re: [security issue] job_start/ch_open/timer_start is enabled on restricted/secure mode

2016-04-21 Fir de Conversatie thinca
Hi, Thank you for the patch (I'm reporter of this). I think check_restricted() is unnecessary for timer. But I follow Bram's judge :) 2016/04/22 11:10 "mattn" : > diff --git a/src/eval.c b/src/eval.c > index 3542b77..0045967 100644 > --- a/src/eval.c > +++ b/src/eval.c > @@

[patch] has('patch-7.4.1') doesn't work well

2016-03-26 Fir de Conversatie thinca
; vim_isdigit(name[6]) && vim_isdigit(name[8]) && vim_isdigit(name[10])) -- thinca <thi...@gmail.com> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying

Re: [patch] Possible memory leak with partial

2016-03-22 Fir de Conversatie thinca
har.c:1801 #11 0x0054759a in normal_cmd (oap=0x7fffdb30, toplevel=1) at normal.c:627 #12 0x0068bf34 in main_loop (cmdwin=0, noexmode=0) at main.c:1353 #13 0x0068b84b in main (argc=7, argv=0x7fffde48) at main.c:1045 -- thinca <thi...@gmail.com> -- -- Y

Re: Patch 7.4.1577

2016-03-19 Fir de Conversatie thinca
2016-03-20 1:43 GMT+09:00 thinca <thi...@gmail.com>: > 2016-03-17 18:45 GMT+09:00 Bram Moolenaar <b...@moolenaar.net>: >> >> Lilydjwg wrote: >> >>> On Wed, Mar 16, 2016 at 03:43:06PM +0100, Bram Moolenaar wrote: >>> > >>> > Kent Sib

Re: Patch 7.4.1577

2016-03-19 Fir de Conversatie thinca
2016-03-17 18:45 GMT+09:00 Bram Moolenaar : > > Lilydjwg wrote: > >> On Wed, Mar 16, 2016 at 03:43:06PM +0100, Bram Moolenaar wrote: >> > >> > Kent Sibilev wrote: >> > >> > > On Tuesday, March 15, 2016 at 2:33:55 PM UTC-4, Bram Moolenaar wrote: >> > > > Patch 7.4.1577 >> > > >

Re: Patch 7.4.1553

2016-03-12 Fir de Conversatie thinca
Hi, Help says "[where]" but code comment and commit comment say "[what]". Which is right? -- thinca <thi...@gmail.com> 2016-03-13 6:47 GMT+09:00 Bram Moolenaar <b...@moolenaar.net>: > > Patch 7.4.1553 > Problem:":runtime" does not use 'pa

[patch] feedkeys('', 'x') doesn't work

2016-03-10 Fir de Conversatie thinca
xecute all the typeahead. > possibly with an empty {string} But feedkeys('', 'x') doesn't work. I wrote a patch which fix this. I also added test. Please check the gist below. https://gist.github.com/thinca/c3215460ebca3043529c -- thinca <thi...@gmail.com> -- -- You received this messag

Re: Patch 7.4.1027

2016-01-04 Fir de Conversatie thinca
> How about this: > > bin If included, numbers starting with "0b" or "0B" will be > considered to be binary. Example: Using CTRL-X on > "0b1000" results in "0x0111". It looks pretty good excep

Re: Patch 7.4.1027

2016-01-03 Fir de Conversatie thinca
Hi Bram, The description of "bin" is not added to :help 'nrformats' Regards, -- thinca <thi...@gmail.com> 2016-01-03 1:56 GMT+09:00 Bram Moolenaar <b...@moolenaar.net>: > > Patch 7.4.1027 > Problem:No support for binary numbers. > Solution: Add "bi

[patch] v:errors is not initialized

2015-12-02 Fir de Conversatie thinca
(VV_ERRORS, list_alloc()); set_reg_var(0); /* default for v:register is not 0 but '"' */ -- thinca <thi...@gmail.com> -- -- 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, vis

Re: Patch 7.4.945

2015-12-01 Fir de Conversatie thinca
> Rename the functions to match Vim function style. The actual function name doesn't change. -- thinca <thi...@gmail.com> 2015-12-01 5:38 GMT+09:00 Bram Moolenaar <b...@moolenaar.net>: > > Patch 7.4.945 (after 7.4.944) > Problem:New style testing is incomplete. >

[patch] Get window local cwd by getcwd()

2015-11-15 Fir de Conversatie thinca
Hi Bram and list, I want to get the window local cwd(set by :lcd). So I wrote a patch. https://gist.github.com/thinca/9e705a090a56649e7160 And Hirohito Higashi (a.k.a h_east) wrote a test (Thanks!) https://gist.github.com/h-east/6019b1c8b3a84a67d547 Regards, -- thinca <thi...@gmail.

Re: [bug] parsing :command

2015-11-07 Fir de Conversatie thinca
command! -bar F call F() See :help :command-bar Regards, -- thinca <thi...@gmail.com> -- -- 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/mailli

[patch] :qcuit can take exit code

2014-10-11 Fir de Conversatie thinca
Hi, list :qcuit can quit Vim with exit code 1. But the exit code cannot change. I wrote a patch in which :cquit takes [code] argument. Please check. https://gist.github.com/thinca/5cfc8390d691b8fc5639 Thanks. -- thinca thi...@gmail.com -- -- You received this message from the vim_dev

Re: [patch] :qcuit can take exit code

2014-10-11 Fir de Conversatie thinca
Sorry, I was mistaken in the title and the text of mail. s/:qcuit/:cquit/ -- thinca thi...@gmail.com 2014-10-12 14:30 GMT+09:00 thinca thi...@gmail.com: Hi, list :qcuit can quit Vim with exit code 1. But the exit code cannot change. I wrote a patch in which :cquit takes [code] argument

Re: function dict['/foo']() fails

2013-08-04 Fir de Conversatie thinca
hi Bram, please response -- -- 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 --- You received this message because you are subscribed to the Google Groups

Re: function dict['/foo']() fails

2013-07-08 Fir de Conversatie thinca
This item was removed from todo list. https://code.google.com/p/vim/source/diff?spec=svnad6996a23e3e63c5495cbb0d4c1447aed068b8c5old=ceb5f21cda796051585afc665de66c8007f32064r=ad6996a23e3e63c5495cbb0d4c1447aed068b8c5format=unidiffpath=%2Fruntime%2Fdoc%2Ftodo.txt Why? -- -- You received this

Re: function dict['/foo']() fails

2013-07-08 Fir de Conversatie thinca
=%2Fruntime%2Fdoc%2Ftodo.txt Why? -- thinca thi...@gmail.com 2013/7/9 thinca thi...@gmail.com: This item was removed from todo list. https://code.google.com/p/vim/source/diff?spec=svnad6996a23e3e63c5495cbb0d4c1447aed068b8c5old=ceb5f21cda796051585afc665de66c8007f32064r

Re: function dict['/foo']() fails

2013-06-19 Fir de Conversatie thinca
framework: function! s:get['/']() return 'hello' endfunction function! s:get['/user/:name'](name) return 'hello ' . a:name endfunction Another example: Rspec style testing framework: function! s:it['should be true']() call s:assert(1 + 1 == 2) endfunction Please rethink. -- thinca thi...@gmail.com

function dict['/foo']() fails

2013-06-17 Fir de Conversatie thinca
. -- I also expect :function dict['/foo']() to be ok. I write a patch and test for this. https://gist.github.com/thinca/5797391 However, I am not confident for this patch. Please check it. Regards. -- thinca thi...@gmail.com -- -- You received this message from the vim_dev maillist. Do

Re: backtick should not be matched to wildignore.

2012-07-08 Fir de Conversatie thinca
But, this also doesn't work. I don't know the reason. Additionally, this way is too complex. So, I use backtick to avoid this problem. :e `='file[a].txt'` This works well. Thanks. -- thinca thi...@gmail.com -- You received this message from the vim_dev maillist. Do not top-post! Type your reply

:help! makes E478

2012-04-01 Fir de Conversatie thinca
? -- thinca thi...@gmail.com -- 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

Re: Patch for :tabrecently which go to previous recently tab page

2012-01-30 Fir de Conversatie thinca
I wrote a plugin of the similar purpose before. https://githib.com/thinca/vim-tabrecent This provides :TabRecent command. This can return also to a two or more previous tab. -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying

Re: Patch for :tabrecently which go to previous recently tab page

2012-01-30 Fir de Conversatie thinca
Sorry, wrong the URL. https://github.com/thinca/vim-tabrecent 2012/01/31 12:27 thinca thi...@gmail.com: I wrote a plugin of the similar purpose before. https://githib.com/thinca/vim-tabrecent This provides :TabRecent command. This can return also to a two or more previous tab. -- You

[patch] verbose message is truncated strangely

2012-01-17 Fir de Conversatie thinca
2012 +0900 @@ -252,6 +252,12 @@ inti; intn; +if (vim_strsize(s) room) +{ + STRMOVE(buf, s); + return; +} + room -= 3; half = room / 2; len = 0; -- thinca thi...@gmail.com -- You received this message from