Crash if job is freed while in operator-pending mode

2016-04-26 Fir de Conversatie James McCoy
Using the attached script with 7.4.1795, Vim reliably crashes when freeing the job and operator-pending mode is active. $ vim -u NONE -N foo.vim :source % d " Wait for 10 seconds or so to ensure the job gets automatically freed GDB shows the stack at the time of the crash as: #0

Re: How to run a job asynchronously?

2016-04-26 Fir de Conversatie James McCoy
On Tue, Apr 26, 2016 at 09:38:02PM +0200, Bram Moolenaar wrote: > > Lcd wrote: > > > On 26 April 2016, Bram Moolenaar wrote: > > > > > > James McCoy wrote: > > > > Why is Vim injecting "DETACH" into the output? The netbeans code uses > > > > is because that's part of the

Re: Windows: After Patch 7.4.1792 colors completely wrong

2016-04-26 Fir de Conversatie Christian J. Robinson
On Tue, 26 Apr 2016, Ken Takata wrote: 2016/4/27 Wed 5:48:41 UTC+9 Heptite wrote: Something went wrong with this patch. Most of my colors are wrong. Attached patch should fix the problem. Confirmed. Thank you. - Christian -- "Behind every successful man is an amazed mother-in-law."

Re: Windows: After Patch 7.4.1792 colors completely wrong

2016-04-26 Fir de Conversatie Ken Takata
Hi, 2016/4/27 Wed 5:48:41 UTC+9 Heptite wrote: > Something went wrong with this patch. Most of my colors are wrong. > > How it looks now: > https://www.dropbox.com/s/q8wc4vzkg8r0uj2/vimwrongcolors.png?dl=0 > > How it should look: >

Re: Patch 7.4.1770

2016-04-26 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: > Patch 7.4.1770 > Problem:Cannot use true color in the terminal. > Solution: Add the 'guicolors' option. (Nikolai Pavlov) > Files: runtime/doc/options.txt, runtime/doc/term.txt, > runtime/doc/various.txt, src/auto/configure, src/config.h.in, >

Re: Windows: After Patch 7.4.1792 colors completely wrong

2016-04-26 Fir de Conversatie Kazunobu Kuriyama
Looks like just BGR instead of RGB... 2016-04-27 5:48 GMT+09:00 Christian J. Robinson : > > Something went wrong with this patch. Most of my colors are wrong. > > How it looks now: > https://www.dropbox.com/s/q8wc4vzkg8r0uj2/vimwrongcolors.png?dl=0 > > How it should look: >

Windows: After Patch 7.4.1792 colors completely wrong

2016-04-26 Fir de Conversatie Christian J. Robinson
Something went wrong with this patch. Most of my colors are wrong. How it looks now: https://www.dropbox.com/s/q8wc4vzkg8r0uj2/vimwrongcolors.png?dl=0 How it should look: https://www.dropbox.com/s/3of53y3qdiz1xcm/vimcorrectcolors.png?dl=0 - Christian -- Reality -- what a

Patch 7.4.1795

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1795 Problem:Compiler warning for redefining RGB. (John Marriott) Solution: Rename it to TORGB. Files: src/term.c *** ../vim-7.4.1794/src/term.c 2016-04-26 20:59:24.736486417 +0200 --- src/term.c 2016-04-26 22:24:21.259366463 +0200 *** *** 6068,6074

Re: Patch 7.4.1783

2016-04-26 Fir de Conversatie Kazunobu Kuriyama
2016-04-27 4:38 GMT+09:00 Bram Moolenaar : > > Kazunobu Kuriyama wrote: > > > > > 2016-04-25 5:03 GMT+09:00 Bram Moolenaar : > > > > > I do not see a clue why this would be different on OS/X. > > > > > > > > As the failure message above indicates, it looks

Patch 7.4.1794

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1794 (after 7.4.1792) Problem:Can't build on MS-Windows. Solution: Add missing declaration. Files: src/gui_w32.c *** ../vim-7.4.1793/src/gui_w32.c 2016-04-26 20:59:24.732486464 +0200 --- src/gui_w32.c 2016-04-26 21:48:19.568452175 +0200 *** ***

Patch 7.4.1793

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1793 Problem:Some character classes may differ between systems. On OS/X the regexp test fails. Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama) Files: src/regexp.c, src/regexp_nfa.c *** ../vim-7.4.1792/src/regexp.c2016-04-24

Re: Patch 7.4.1783

2016-04-26 Fir de Conversatie Bram Moolenaar
Kazunobu Kuriyama wrote: > > > 2016-04-25 5:03 GMT+09:00 Bram Moolenaar : > > > > I do not see a clue why this would be different on OS/X. > > > > > > As the failure message above indicates, it looks the functions isalpha(), > > > isalnum() and ispunct() of OS X accept a

Re: How to run a job asynchronously?

2016-04-26 Fir de Conversatie Bram Moolenaar
Lcd wrote: > On 26 April 2016, Bram Moolenaar wrote: > > > > James McCoy wrote: > > > > > On Mon, Apr 25, 2016 at 11:06:43PM +0200, Bram Moolenaar wrote: > > > > > > > > Andrew Stewart wrote: > > > > > > > > > This handler gets called just about immediately, as expected,

Re: Patch 7.4.1792

2016-04-26 Fir de Conversatie John Marriott
On 27-Apr-2016 4:59 AM, Bram Moolenaar wrote: Patch 7.4.1792 Problem:Color name decoding is implemented several times. Solution: Move it to term.c. (Christian Brabandt) Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, src/proto/term.pro, src/term.c This patch

Re: Patch 7.4.1792

2016-04-26 Fir de Conversatie Christian Brabandt
Hi Bram! On Di, 26 Apr 2016, Bram Moolenaar wrote: > > Patch 7.4.1792 > Problem:Color name decoding is implemented several times. > Solution: Move it to term.c. (Christian Brabandt) > Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, > src/proto/term.pro, src/term.c

Re: Patch 7.4.1770

2016-04-26 Fir de Conversatie Christian Brabandt
Hi Bram! On Di, 26 Apr 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Do, 21 Apr 2016, Bram Moolenaar wrote: > > > > > Patch 7.4.1770 > > [...] > > > + /* > > > + * Last attempt. Look in the file "$VIM/rgb.txt". > > > + */ > > > > This part of the code is

Patch 7.4.1792

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1792 Problem:Color name decoding is implemented several times. Solution: Move it to term.c. (Christian Brabandt) Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, src/proto/term.pro, src/term.c *** ../vim-7.4.1791/src/gui_mac.c 2016-02-27

Re: How to run a job asynchronously?

2016-04-26 Fir de Conversatie Bram Moolenaar
Andrew Stewart wrote: > > On 25 Apr 2016, at 10:06 pm, Bram Moolenaar wrote: > > The exit callback is only invoked once Vim detects the job is gone. By > > then it's too late to read the output. This is documented. > > > > There is also the close_cb for the channel,

Re: Patch 7.4.1770

2016-04-26 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Do, 21 Apr 2016, Bram Moolenaar wrote: > > > Patch 7.4.1770 > [...] > > + /* > > + * Last attempt. Look in the file "$VIM/rgb.txt". > > + */ > > This part of the code is now in term.c, gui_mac.c, gui_photon.c and > gui_w32.c Also the color

Re: How to run a job asynchronously?

2016-04-26 Fir de Conversatie LCD 47
On 26 April 2016, Bram Moolenaar wrote: > > James McCoy wrote: > > > On Mon, Apr 25, 2016 at 11:06:43PM +0200, Bram Moolenaar wrote: > > > > > > Andrew Stewart wrote: > > > > > > > This handler gets called just about immediately, as expected, but > > > > a:message is

Patch 7.4.1791

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1791 Problem:Channel could be garbage collected too early. Solution: Don't free a channel or remove it from a job when it is still useful. Files: src/channel.c *** ../vim-7.4.1790/src/channel.c 2016-04-26 19:01:00.957118797 +0200 --- src/channel.c

Patch 7.4.1790

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1790 Problem:Leading white space in a job command matters. (Andrew Stewart) Solution: Skip leading white space. Files: src/os_unix.c *** ../vim-7.4.1789/src/os_unix.c 2016-04-21 12:52:26.119916277 +0200 --- src/os_unix.c 2016-04-26 19:36:47.290236351 +0200

Patch 7.4.1788

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1788 Problem:NSIS script is missing packages. Solution: Add the missing directories. (Ken Takata) Files: nsis/gvim.nsi *** ../vim-7.4.1787/nsis/gvim.nsi 2016-01-16 18:05:40.441065385 +0100 --- nsis/gvim.nsi 2016-04-26 17:33:43.884426043 +0200 *** ***

Re: Capture columns nummers of matches ending with double byte chars

2016-04-26 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > (Cc-ing to vim_dev) > > Hi, > > 2016/4/26 Tue 15:00:33 UTC+9 rameo wrote: > > > > > > It is much better to download sources from https://github.com/vim/vim. > > > > > > > Found it: > > https://github.com/vim/vim-win32-installer/releases > > > > However... > > Tried: > >

Re: strikethrough text in gvim

2016-04-26 Fir de Conversatie Ken Takata
Hi, 2016/4/26 Tue 22:57:57 UTC+9 Christian Brabandt wrote: > Am 2016-04-26 15:51, schrieb Ken Takata: > [strikethrough patch] > > > Thank you for checking. > > Now I check with Win32 GUI and also with terminal (mintty). Both works > > fine. > > As I wrote before, I have to set the following esc

Patch 7.4.1787

2016-04-26 Fir de Conversatie Bram Moolenaar
Patch 7.4.1787 Problem:When a job ends the close callback is invoked before other callbacks. On Windows the close callback is not called. Solution: First invoke out/err callbacks before the close callback. Make the close callback work on Windows. Files:

Re: strikethrough text in gvim

2016-04-26 Fir de Conversatie Christian Brabandt
Am 2016-04-26 15:51, schrieb Ken Takata: [strikethrough patch] Thank you for checking. Now I check with Win32 GUI and also with terminal (mintty). Both works fine. As I wrote before, I have to set the following esc sequences: let _Ts="\e[9m" let _Te="\e[29m" Hayaki Saito told me

Re: strikethrough text in gvim

2016-04-26 Fir de Conversatie Ken Takata
Hi, 2016/4/26 Tue 15:12:51 UTC+9 Christian Brabandt wrote: > Hi Ken! > > On Mo, 25 Apr 2016, Ken Takata wrote: > > > Hi Christian, > > > > 2016/4/26 Tue 1:53:17 UTC+9 Christian Brabandt wrote: > > > Hi Ken! > > > > > > On Do, 10 Mär 2016, Ken Takata wrote: > > > > > > > Hi, > > > > > > > >

Re: Capture columns nummers of matches ending with double byte chars

2016-04-26 Fir de Conversatie Ken Takata
(Cc-ing to vim_dev) Hi, 2016/4/26 Tue 15:00:33 UTC+9 rameo wrote: > > > > It is much better to download sources from https://github.com/vim/vim. > > > > Found it: > https://github.com/vim/vim-win32-installer/releases > > However... > Tried: > gvim_7.4.1782_x86.exe > gvim_7.4.1786_x86.exe >

Re: How to run a job asynchronously?

2016-04-26 Fir de Conversatie Andrew Stewart
> On 25 Apr 2016, at 10:06 pm, Bram Moolenaar wrote: > The exit callback is only invoked once Vim detects the job is gone. By > then it's too late to read the output. This is documented. > > There is also the close_cb for the channel, which gets called much > sooner than

Re: Patch 7.4.1783

2016-04-26 Fir de Conversatie Kazunobu Kuriyama
2016-04-26 6:28 GMT+09:00 Bram Moolenaar : > > Kazunobu Kuriyama wrote: > > > 2016-04-25 5:03 GMT+09:00 Bram Moolenaar : > > > I do not see a clue why this would be different on OS/X. > > > > As the failure message above indicates, it looks the functions

Re: [patch] Fix quickfix handling of long lines

2016-04-26 Fir de Conversatie Anton Lindqvist
The patch did no longer apply without a conflict, updated patch attached. -- :wq -- -- 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

Re: strikethrough text in gvim

2016-04-26 Fir de Conversatie Christian Brabandt
Hi Ken! On Mo, 25 Apr 2016, Ken Takata wrote: > Hi Christian, > > 2016/4/26 Tue 1:53:17 UTC+9 Christian Brabandt wrote: > > Hi Ken! > > > > On Do, 10 Mär 2016, Ken Takata wrote: > > > > > Hi, > > > > > > 2013/10/12 Sat 23:25:06 UTC+9 Ken Takata wrote: > > > > Hi Christian, > > > > > > > >