function command suppress messages

2013-07-05 Fir de Conversatie mattn
Hi. test.vim - echo a echo a function! Hoge() endfunction - When you run this script: $ vim -u NONE -i NONE -N --noplugin test.vim You expect to see 'a', but it doesn't. need_wait_return should be stored/restored while calling function command. Below is a patch

Re: Patch for Win 64bit warnings

2013-07-05 Fir de Conversatie Mike Williams
On 04/07/2013 19:51, Bram Moolenaar wrote: Mike Williams wrote: Yet more casts to cope with results of STRLEN being assigned to a smaller int. Enjoy. The diff is messed up. It says UTF-16 but that doesn't work... Many apologies. I recently switched to PowerShell from cmd.exe and didn't

Re: Regression: After startup, first message output is swallowed.

2013-07-05 Fir de Conversatie Lech Lorens
On 03-Jul-2013 Bram Moolenaar b...@moolenaar.net wrote: There is something weird going on: The terminal uses Esc[1;2R both for function key 3 shifted and for the cursor position report. So what happens is that for the 'ambiwidth' option to be set automatically it requests the cursor

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian Brabandt
Hi Christian! On Do, 04 Jul 2013, Christian J. Robinson wrote: At some point in the last couple of weeks I have noticed that my recent Vim builds (native Windows 7 binaries built under cygwin) are crashing whenever my custom 'balloonexpr' is triggered--the balloon shows, then Vim crashes.

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian Robinson
On Jul 5, 2013, at 2:46 AM, Christian Brabandt cbli...@256bit.org wrote: Hi Christian! On Do, 04 Jul 2013, Christian J. Robinson wrote: At some point in the last couple of weeks I have noticed that my recent Vim builds (native Windows 7 binaries built under cygwin) are crashing whenever

Accept cpp.doxygen like filetype for syntax/cpp.vim

2013-07-05 Fir de Conversatie mattn
Hi bram. When set ft=cpp.doxygen, it isn't applied some syntax feature. https://github.com/vim-jp/cpp-vim/issues/11 Below is a patch. Please check. https://github.com/vim-jp/cpp-vim/commit/7ae7c49c34cb01c8f68d0541087b88be5b8588ae.patch - Yasuhiro Matsumoto -- -- You received this message

Re: lazyredraw affecting highlight?

2013-07-05 Fir de Conversatie Christian Brabandt
Hi Bailey! On Mi, 03 Jul 2013, Bailey Ling wrote: Hey all, I'm running into a weird issue with rendering the statusline in my plugin vim-airline. I created a minimal vimrc gist here (https://gist.github.com/bling/7d26e6c63ba0207e657f) that illustrates the problem. It appears that

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian Brabandt
On Fr, 05 Jul 2013, Christian Robinson wrote: On Jul 5, 2013, at 2:46 AM, Christian Brabandt cbli...@256bit.org wrote: On Do, 04 Jul 2013, Christian J. Robinson wrote: At some point in the last couple of weeks I have noticed that my recent Vim builds (native Windows 7 binaries built under

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Dominique Pellé
Christian Robinson hept...@gmail.com wrote: On Jul 5, 2013, at 2:46 AM, Christian Brabandt cbli...@256bit.org wrote: Hi Christian! On Do, 04 Jul 2013, Christian J. Robinson wrote: At some point in the last couple of weeks I have noticed that my recent Vim builds (native Windows 7

[patch] suppress warnings

2013-07-05 Fir de Conversatie Ken Takata
Hi, When I compile on Cygwin, I get following warnings: mbyte.c: In function 'encname2codepage': mbyte.c:4111:2: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] In file included from os_unix.h:33:0, from vim.h:271,

Re: Patch 7.3.1297

2013-07-05 Fir de Conversatie Christian Brabandt
Hi Yukihiro! On Fr, 05 Jul 2013, Yukihiro Nakadaira wrote: On Thu, Jul 4, 2013 at 12:14 AM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.3.1297 Problem:findfile() directory matching does not work when a star follows text. (Markus Braun) Solution: Make a

Re: Patch 7.3.1297

2013-07-05 Fir de Conversatie Yukihiro Nakadaira
On Fri, Jul 5, 2013 at 8:55 PM, Christian Brabandt cbli...@256bit.orgwrote: Hi Yukihiro! On Fr, 05 Jul 2013, Yukihiro Nakadaira wrote: On Thu, Jul 4, 2013 at 12:14 AM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.3.1297 Problem:findfile() directory matching does not work

[patch] fix typos in gvim.nsi

2013-07-05 Fir de Conversatie Ken Takata
Hi, I found some typos in gvim.nsi. Additionally, I suggest that we add some settings: SetCompressor /SOLID lzma (see: http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.4) XPStyle on (see: http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.46) Thanks, Ken Takata -- -- You received this

syntax problem in vim.vim: vimUserAttrbCmpltFunc

2013-07-05 Fir de Conversatie itchyny
Hi list. There is a problem in vim.vim for |command-completion-customlist|. - command! -nargs=+ -complete=customlist,s: X call s:x(q-args) - The above example is looks like: https://f.cloud.github.com/assets/375258/752414/fb5dee78-e543-11e2-8fcd-b9ea89846ad6.png Expected:

[PATCH] syntax/tex: subequations is not a math environment

2013-07-05 Fir de Conversatie Anton Khirnov
# HG changeset patch # User Anton Khirnov an...@khirnov.net # Date 1350881984 -7200 # Node ID d06f0b678ab404b4fae324d057fc7a48be856020 # Parent 0134f1a6b8a09b98a72df28b1de188b109bd9a00 syntax/tex: subequations is not a math environment subequations only affects the numbering of equations in

Patch 7.3.1309

2013-07-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.1309 Problem:When a script defines a function the flag to wait for the user to hit enter is reset. Solution: Restore the flag. (Yasuhiro Matsumoto) Except when the user was typing the function. Files: src/eval.c *** ../vim-7.3.1308/src/eval.c

Re: function command suppress messages

2013-07-05 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: test.vim - echo a echo a function! Hoge() endfunction - When you run this script: $ vim -u NONE -i NONE -N --noplugin test.vim You expect to see 'a', but it doesn't. need_wait_return should be stored/restored while

Re: syntax problem in vim.vim: vimUserAttrbCmpltFunc

2013-07-05 Fir de Conversatie Charles Campbell
itchyny wrote: Hi list. There is a problem in vim.vim for |command-completion-customlist|. - command! -nargs=+ -complete=customlist,s: X call s:x(q-args) - The above example is looks like:

Re: Patch 7.3.1301

2013-07-05 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: Nikolay Pavlov wrote: It's the other way around: On MS-Windows you can do: :e foo\$bar That is editing the file $bar in directory foo. On Unix this has a different meaning, editing file foo$bar, thus not using $bar as an environment variable. That's why test

Re: Patch 7.3.1301

2013-07-05 Fir de Conversatie Bram Moolenaar
Nikolay Pavlov wrote: On Jul 4, 2013 10:25 PM, Bram Moolenaar b...@moolenaar.net wrote: Nikolay Pavlov wrote: It's the other way around: On MS-Windows you can do: :e foo\$bar That is editing the file $bar in directory foo. On Unix this has a different

Patch 7.3.13

2013-07-05 Fir de Conversatie Bram Moolenaar
*** ../vim-7.3.1309/nsis/gvim.nsi 2013-07-04 22:34:56.0 +0200 --- nsis/gvim.nsi 2013-07-05 19:56:34.0 +0200 *** *** 40,46 ComponentText This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer. DirText Choose a directory to install Vim

Re: [patch] fix typos in gvim.nsi

2013-07-05 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: I found some typos in gvim.nsi. Additionally, I suggest that we add some settings: SetCompressor /SOLID lzma (see: http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.4) XPStyle on (see: http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.46) OK, I'll include this.

Re: Patch for Win 64bit warnings

2013-07-05 Fir de Conversatie Bram Moolenaar
Mike Williams wrote: Yet more casts to cope with results of STRLEN being assigned to a smaller int. Enjoy. The diff is messed up. It says UTF-16 but that doesn't work... Many apologies. I recently switched to PowerShell from cmd.exe and didn't realise that hg diff file will

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian J. Robinson
On Fri, 5 Jul 2013, Christian Brabandt wrote: On Fr, 05 Jul 2013, Christian Robinson wrote: On Jul 5, 2013, at 2:46 AM, Christian Brabandt cbli...@256bit.org wrote: On Do, 04 Jul 2013, Christian J. Robinson wrote: At some point in the last couple of weeks I have noticed that my recent Vim

Re: Patch 7.3.13

2013-07-05 Fir de Conversatie Bram Moolenaar
Sorry, that should have started with: Patch 7.3.1310 Problem:Typos in nsis script. Can use better compression. Solution: Fix typos. Use lzma compression. (Ken Takata) Files: nsis/gvim.nsi -- User: I'm having problems with my text editor. Help desk: Which editor are you

Patch 7.3.1311

2013-07-05 Fir de Conversatie Bram Moolenaar
Patch 7.3.1311 Problem:Compiler warnings on Cygwin. Solution: Add type casts. Add windows include files. (Ken Takata) Files: src/mbyte.c, src/ui.c *** ../vim-7.3.1310/src/mbyte.c 2013-06-28 20:16:50.0 +0200 --- src/mbyte.c 2013-07-05 20:07:21.0 +0200 ***

Re: [patch] suppress warnings

2013-07-05 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: When I compile on Cygwin, I get following warnings: mbyte.c: In function 'encname2codepage': mbyte.c:4111:2: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] In file included from os_unix.h:33:0, from

Re: Patch 7.3.1301

2013-07-05 Fir de Conversatie Zulox4
On Friday, July 5, 2013 8:01:49 PM UTC+2, Bram Moolenaar wrote: Nikolay Pavlov wrote: Nikolay Pavlov wrote: It's the other way around: On MS-Windows you can do: :e foo\$bar That is editing the file $bar in directory foo. On Unix this

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian J. Robinson
On Fri, 5 Jul 2013, Dominique Pellé wrote: Christian Robinson hept...@gmail.com wrote: If you have cygwin, you have gdb. Well, had to install it... My question is, will this work for a *native* Windows binary being built using cygwin Make_ming.mak? (See below.) You can get stack trace

g[lobal] with s[ubstitute]

2013-07-05 Fir de Conversatie Bee
Hello Bram Will this patch be incorporated in 7.3.? Bill g[lobal] with s[ubstitute] https://groups.google.com/forum/m/#!topic/vim_use/S5MiwpqCzDc On Di, 18 Jun 2013, Tim Chase wrote: On 2013-06-18 09:46, Christian Brabandt wrote: On Mon, June 17, 2013 01:12, Bee wrote: Also if I

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Dominique Pellé
Christian J. Robinson wrote: On Fri, 5 Jul 2013, Dominique Pellé wrote: Christian Robinson hept...@gmail.com wrote: If you have cygwin, you have gdb. Well, had to install it... My question is, will this work for a *native* Windows binary being built using cygwin Make_ming.mak? (See

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian J. Robinson
On Fri, 5 Jul 2013, Dominique Pellé wrote: Maybe you can use your same configuration (.vimrc and plugins) to try to reproduce the bug on Linux where there are useful debugging tools (gdb, valgrind). Like my Cygwin GTK2 build, the crash doesn't happen on CentOS either. My configs are

Re: Patch 7.3.1301

2013-07-05 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: Nikolay Pavlov wrote: On Jul 4, 2013 10:25 PM, Bram Moolenaar b...@moolenaar.net wrote: Nikolay Pavlov wrote: It's the other way around: On MS-Windows you can do: :e foo\$bar That is editing the file $bar in directory foo. On Unix this has a different

Re: [patch] support multi-byte 'fillchars' in custom 'statusline'

2013-07-05 Fir de Conversatie Christian Wellenbrock
On Wednesday, July 3, 2013 4:06:32 PM UTC+2, Christian Wellenbrock wrote: 2013/7/3 Bram Moolenaar b...@moolenaar.net Christian Wellenbrock wrote: I added the MB_CHAR2LEN macro and used that instead of mb_char2len. Does the mb_char2bytes call need a has_mbyte check as

Re: Patch 7.3.1301

2013-07-05 Fir de Conversatie Nikolay Pavlov
On Jul 6, 2013 12:34 AM, Charles Campbell charles.e.campb...@nasa.gov wrote: Bram Moolenaar wrote: Nikolay Pavlov wrote: On Jul 4, 2013 10:25 PM, Bram Moolenaar b...@moolenaar.net wrote: Nikolay Pavlov wrote: It's the other way around: On MS-Windows you can do: :e foo\$bar

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Nazri Ramliy
Hi, If I were you I'd try reducing the vimrc a'la binary search. Just a suggestion. Nazri -- -- 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: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Christian J. Robinson
On Sat, 6 Jul 2013, Nazri Ramliy wrote: If I were you I'd try reducing the vimrc a'la binary search. Just a suggestion. Yeah, I tried that. This appears to be a true Heisenbug: http://en.wikipedia.org/wiki/Heisenbug - Christian -- Windows 2000: Designed for the Internet

Re: syntax problem in vim.vim: vimUserAttrbCmpltFunc

2013-07-05 Fir de Conversatie itchyny
On Saturday, July 6, 2013 1:39:03 AM UTC+9, Charles Campbell wrote: Please try syntax/vim.vim v7.3-26 , available at my website at http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM . The problem: s:Xxxx was permitted (old rules for what was allowed to be a function name),

Re: Patch 7.3.1287

2013-07-05 Fir de Conversatie Ken Takata
Hi mattn, 2013/07/02 Tue 5:03:19 UTC+9 Bram Moolenaar wrote: Patch 7.3.1287 Problem:Python SystemExit exception is not handled properly. Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken Takata) Files:runtime/doc/if_pyth.txt,

workaround test87 failure with python 3.3

2013-07-05 Fir de Conversatie Taro MURAOKA
Hi list. test87 is failed because of python 3.3 shows different messages of exceptions from python 3.2. I have made workaround for it. Please check an attached patch. Best. -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are

Re: 'balloonexpr' crash...?

2013-07-05 Fir de Conversatie Zulox4
On Saturday, July 6, 2013 2:02:26 AM UTC+2, Heptite wrote: On Sat, 6 Jul 2013, Nazri Ramliy wrote: If I were you I'd try reducing the vimrc a'la binary search. Just a suggestion. If you use Ms windows it may be better to use Ms Native Compiler to compile Vim. Or if you like

Re: g[lobal] with s[ubstitute]

2013-07-05 Fir de Conversatie Zulox4
On Friday, July 5, 2013 10:18:12 PM UTC+2, Bee wrote: Hello Bram Will this patch be incorporated in 7.3.? Bill g[lobal] with s[ubstitute] https://groups.google.com/forum/m/#!topic/vim_use/S5MiwpqCzDc On Di, 18 Jun 2013, Tim Chase wrote: On 2013-06-18 09:46, Christian Brabandt

[patch][Win64] :py and :py3 don't work when compiled by GCC (Cygwin/MinGW)

2013-07-05 Fir de Conversatie Ken Takata
Hi, On Win64, :py and :py3 don't work when compiled by GCC (Cygwin/MinGW). :py shows an error, and :py3 causes a crash. I think it was already reported by someone but I forget the thread. A workaround which was adding -DMS_WIN64 was also reported, but there was no patch. I made a patch for that.