Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian J. Robinson
On Sat, 5 Aug 2017, Bram Moolenaar wrote: I assume what follows is not specific for the current window but something global. Christian wrote: I know ^W: exists, but I can't think of any good way to detect whether I should be sending that instead (under Windows, --remote-expr "" only gives

Patch 8.0.0872

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0872 Problem:Using mouse scroll while a terminal window has focus and the mouse pointer is on another window does not work. Same for focus in a non-terminal window ahd the mouse pointer is over a terminal window. Solution: Send the scroll

Re: Patch 8.0.0873

2017-08-05 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Patch 8.0.0873 > Problem:In a terminal window cannot use CTRL-\ CTRL-N to start Visual > mode. > Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command. > Files: src/main.c, src/terminal.c,

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-08-06 0:17 GMT+03:00 Christian J. Robinson : > On Sat, 5 Aug 2017, Christian Brabandt wrote: > >> What I mean is when in Insert Mode and pressing CTRL-\ CTRL-N we can enter >> a normal mode command. In what mode is Vim afterwards? It is back in insert >> mode, isn't it? And

Patch 8.0.0871

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0871 Problem:The status line for a terminal window always has "[+]". Solution: Do make the status line include "[+]" for a terminal window. Files: src/screen.c *** ../vim-8.0.0870/src/screen.c2017-08-01 20:53:25.928774497 +0200 --- src/screen.c2017-08-05

Re: Patch 8.0.0873

2017-08-05 Fir de Conversatie Bram Moolenaar
Dominique wrote: > > Patch 8.0.0873 > > Problem:In a terminal window cannot use CTRL-\ CTRL-N to start Visual > > mode. > > Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command. > > Files: src/main.c, src/terminal.c, src/proto/terminal.pro > > This

Patch 8.0.0874

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0874 (after 8.0.0873) Problem:Can't build with terminal feature. Solution: Include change to term_use_loop(). (Dominique Pelle) Files: src/normal.c *** ../vim-8.0.0873/src/normal.c2017-08-05 19:34:43.344410036 +0200 --- src/normal.c2017-08-05

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian J. Robinson
On Sat, 5 Aug 2017, Christian Brabandt wrote: What I mean is when in Insert Mode and pressing CTRL-\ CTRL-N we can enter a normal mode command. In what mode is Vim afterwards? It is back in insert mode, isn't it? And that's why I think it should behave the same for the terminal. No, CTRL-\

[patch] fixed crash in home_replace()

2017-08-05 Fir de Conversatie Dominique Pellé
Hi Vim-8.0.873 and older crash with the attached non nonsensical "crash.vim" script: $ vim -u NONE -S crash.vim Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped) Running with valgrind gives: ==4446== Memcheck, a memory error detector ==4446== Copyright (C)

Re: [patch] fixed crash in home_replace()

2017-08-05 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Vim-8.0.873 and older crash with the attached > non nonsensical "crash.vim" script: > > $ vim -u NONE -S crash.vim > Vim: Caught deadly signal SEGV > Vim: Finished. > Segmentation fault (core dumped) > > Running with valgrind gives: > > ==4446== Memcheck, a memory error

Patch 8.0.0875

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0875 Problem:Crash with weird command sequence. (Dominique Pelle) Solution: Use vim_snprintf() instead of STRCPY(). Files: src/misc1.c *** ../vim-8.0.0874/src/misc1.c 2017-08-03 17:53:59.296577109 +0200 --- src/misc1.c 2017-08-05 22:58:09.691408526 +0200 ***

Patch 8.0.0876

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0876 Problem:MS-Windows: Backslashes and wildcards in backticks don't work. Solution: Do not handle backslashes inside backticks in the wrong place. (Yasuhiro Matsumoto, closes #1942) Files: src/os_mswin.c, src/os_win32.c *** ../vim-8.0.0875/src/os_mswin.c

Patch 8.0.0873

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0873 Problem:In a terminal window cannot use CTRL-\ CTRL-N to start Visual mode. Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command. Files: src/main.c, src/terminal.c, src/proto/terminal.pro *** ../vim-8.0.0872/src/main.c 2017-07-30

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Sa, 05 Aug 2017, Bram Moolenaar wrote: > > > We can start by making CTRL-\ CTRL-N work as a prefix for one Normal > > mode command. > > How does it work for other modes? Use whatever makes it consistent. What do you mean? From Normal mode you can also use ":"

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian Brabandt
On Sa, 05 Aug 2017, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Sa, 05 Aug 2017, Bram Moolenaar wrote: > > > > > We can start by making CTRL-\ CTRL-N work as a prefix for one Normal > > > mode command. > > > > How does it work for other modes? Use whatever makes it

Re: Please enable auto cancellation on travis CI

2017-08-05 Fir de Conversatie Yasuhiro MATSUMOTO
Thank you On 8/6/17, Christian Brabandt wrote: > > On Fr, 04 Aug 2017, Bram Moolenaar wrote: > >> >> Yasuhiro wrote: >> >> > Bram and Christian. >> > >> > Could you please enable auto-cancellation on travis CI? >> > >> > http://go-gyazo.appspot.com/f6562f1f487205aa.png >> >

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Bram Moolenaar
Christian J. Robinson wrote: > I remotely send ^\^N to Vim to invoke a user-defined command on a > regular basis. Unfortunately, when the cursor is in a terminal window > it just sends the control characters directly to the shell (along with > the command). I suppose you don't run Vim in

Patch 8.0.0863

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0863 Problem:A remote command starting with CTRL-\ CTRL-N does not work in the terminal window. (Christian J. Robinson) Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command. Files: src/terminal.c, runtime/doc/terminal.txt ***

Re: For issue #1665, here is the vim-monokai

2017-08-05 Fir de Conversatie Bram Moolenaar
Xia Crusoe wrote: > According to #1665 chrisbra asked me to send this file to you. I'm > really glad that since years I loved Vim and finally can do something > for it. vim-monokai uses the MIT license so feel free to use it. Thanks. I'm making a list and will decide later what to include. --

Patch 8.0.0865

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0865 Problem:Cannot build with channel but without terminal feature. Solution: Add #ifdef Files: src/channel.c *** ../vim-8.0.0864/src/channel.c 2017-08-05 14:49:37.405044311 +0200 --- src/channel.c 2017-08-05 15:00:53.056103493 +0200 *** ***

Patch 8.0.0866

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0866 Problem:Solaris also doesn't have MIN and MAX. Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi, closes #1939) Files: src/terminal.c *** ../vim-8.0.0865/src/terminal.c 2017-08-05 14:49:37.405044311 +0200 --- src/terminal.c

Trouble with autoloaded self functions in dict

2017-08-05 Fir de Conversatie Björn Linse
Place the following in the autoload path: function dictautotest#doit() dict endfunction And the following in a separate test script: let mydict = { 'doit': function('dictautotest#doit') } let Mypartial = mydict.doit call Mypartial() This script will fail first time it is run. The reason is at

Patch 8.0.0864

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0864 Problem:Cannot specify the name of a terminal. Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936) Files: src/channel.c, src/structs.h, src/terminal.c, runtime/doc/eval.txt *** ../vim-8.0.0863/src/channel.c 2017-08-04 21:37:48.732574980 +0200

Patch 8.0.0867

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0867 Problem:When using a job or channel value as a dict value, when turning it into a string the quotes are missing. Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto, closes #1930) Files: src/list.c, src/eval.c,

Patch 8.0.0868

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0868 Problem:Cannot specify the terminal size on the command line. Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto, closes #1941) Files: src/terminal.c, src/testdir/test_terminal.vim *** ../vim-8.0.0867/src/terminal.c 2017-08-05

Patch 8.0.0869

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0869 Problem:Job output is sometimes not displayed in a terminal. Solution: Flush output before closing the channel. Files: src/channel.c, src/terminal.c *** ../vim-8.0.0868/src/channel.c 2017-08-05 15:02:00.811606320 +0200 --- src/channel.c 2017-08-05

For issue #1665, here is the vim-monokai

2017-08-05 Fir de Conversatie Xia Crusoe
Hi Bram, According to #1665 chrisbra asked me to send this file to you. I'm really glad that since years I loved Vim and finally can do something for it. vim-monokai uses the MIT license so feel free to use it. Thanks, Crusoe.Xia -- -- You received this message from the "vim_dev" maillist.

Re: include seoul256 colorscheme with Vim

2017-08-05 Fir de Conversatie Christian Brabandt
On Fr, 04 Aug 2017, LCD 47 wrote: > Not sure a popularity contest is the best idea here. Take f.i. > the solarized scheme: it's probably the most popular scheme out there, > but it's also the scheme generating the most requests for support, for > reasons related to terminals, curses, X

Re: Please enable auto cancellation on travis CI

2017-08-05 Fir de Conversatie Christian Brabandt
On Fr, 04 Aug 2017, Bram Moolenaar wrote: > > Yasuhiro wrote: > > > Bram and Christian. > > > > Could you please enable auto-cancellation on travis CI? > > > > http://go-gyazo.appspot.com/f6562f1f487205aa.png > > > > When send pull-request to vim/vim, travis CI start tests. If I notice > >

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian Brabandt
On Sa, 05 Aug 2017, Bram Moolenaar wrote: > We can start by making CTRL-\ CTRL-N work as a prefix for one Normal > mode command. How does it work for other modes? Use whatever makes it consistent. Best, Christian -- In der Praxis ist vielen Menschen die Theorie doch lieber als die Praxis.

Patch 8.0.0870

2017-08-05 Fir de Conversatie Bram Moolenaar
Patch 8.0.0870 Problem:Mouse escape codes sent to terminal unintentionally. Solution: Fix libvterm to send mouse codes only when enabled. Files: src/terminal.c, src/libvterm/src/mouse.c *** ../vim-8.0.0869/src/terminal.c 2017-08-05 17:40:34.212173943 +0200 --- src/terminal.c