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

2013-07-03 Fir de Conversatie Lech Lorens
On 02-Jul-2013 Manuel Ortega mannyvim...@gmail.com wrote: On Tue, Jul 2, 2013 at 3:44 AM, Kazunobu Kuriyama kazunobu.kuriy...@nifty.com wrote: That said, the vim shipped with MacOS X 10.8.4, the version of which is 7.3 and looks no patch applied, not linked against X11, works well. This

Issue 147 in vim: resolve() don't work for symlinks created by mklink on windows

2013-07-03 Fir de Conversatie vim
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 147 by z...@softvisio.net: resolve() don't work for symlinks created by mklink on windows http://code.google.com/p/vim/issues/detail?id=147 What steps will reproduce the problem? 1. in cmd create symlink: mklink c:/target

Re: Annoying gtk warning

2013-07-03 Fir de Conversatie Bram Moolenaar
Ivan Krasilnikov wrote: Hi, I've been getting the following warnings in terminal when using gtk vim on recent versions of ubuntu: LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. For example, the warning triggered by selecting some file for

Patch 7.3.1288

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1288 Problem:The first :echo 'hello' command output doesn't show. Mapping for S-F3 gets triggered during startup. Solution: Add debugging code for the termresponse. When receiving the Co entry and when setting 'ambiwidth' redraw right away if possible.

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

2013-07-03 Fir de Conversatie Bram Moolenaar
Lech Lorens wrote: On 02-Jul-2013 Manuel Ortega mannyvim...@gmail.com wrote: On Tue, Jul 2, 2013 at 3:44 AM, Kazunobu Kuriyama kazunobu.kuriy...@nifty.com wrote: That said, the vim shipped with MacOS X 10.8.4, the version of which is 7.3 and looks no patch applied, not linked

Patch 7.3.1289

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1289 Problem:Get GLIB warning when removing a menu item. Solution: Reference menu-id and also call gtk_container_remove(). (Ivan Krasilnikov) Files: src/gui_gtk.c *** ../vim-7.3.1288/src/gui_gtk.c 2012-10-18 05:18:27.0 +0200 --- src/gui_gtk.c

Re: Regression: Position of mark '[ points to start of C-R= insertion, not the start of the text insertion.

2013-07-03 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: When inserting text in insert mode via C-R, if the expression register = is used, the start of the last changed text somehow gets reset to the position where the C-R= is triggered; i.e. any previously inserted text is not considered as belonging to the current insertion.

Patch 7.3.1290

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1290 (after 7.3.1253) Problem:CTRL-R = in Insert mode changes the start of the insert position. (Ingo Karkat) Solution: Only break undo, don't start a new insert. Files: src/edit.c *** ../vim-7.3.1289/src/edit.c 2013-06-29 16:21:50.0 +0200 ---

Re: Patch 7.3.1288

2013-07-03 Fir de Conversatie Tony Mechelynck
On 03/07/13 12:45, Bram Moolenaar wrote: Patch 7.3.1288 Problem:The first :echo 'hello' command output doesn't show. Mapping for S-F3 gets triggered during startup. Solution: Add debugging code for the termresponse. When receiving the Co entry and when setting

Re: Patch 7.3.1288

2013-07-03 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: On 03/07/13 12:45, Bram Moolenaar wrote: Patch 7.3.1288 Problem:The first :echo 'hello' command output doesn't show. Mapping for S-F3 gets triggered during startup. Solution: Add debugging code for the termresponse. When receiving the Co

Patch 7.3.1291

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1291 (after 7.3.1288) Problem:Compiler warnings for uninitialized variables. (Tony Mechelynck) Solution: Initialize the variables. Files: src/screen.c *** ../vim-7.3.1290/src/screen.c2013-07-03 12:45:25.0 +0200 --- src/screen.c2013-07-03

[BUG][PATCH] incorrect undo-history

2013-07-03 Fir de Conversatie ichizok
Hi, Since v7.3.1270, 'undo' does not work correctly under certain conditions. vim -N -u NONE :put ='aaa' u expected: buffer empties, and it is an 'oldest change' actual: 'aaa' remains at line 1, and it is an 'oldest change' ( i cannot undo any more ) I propose the attached fixes. Regards,

Re: Regression: Position of mark '[ points to start of C-R= insertion, not the start of the text insertion.

2013-07-03 Fir de Conversatie Ingo Karkat
On 03-Jul-2013 13:17 +0200, Bram Moolenaar wrote: Ingo Karkat wrote: When inserting text in insert mode via C-R, if the expression register = is used, the start of the last changed text somehow gets reset to the position where the C-R= is triggered; i.e. any previously inserted text is not

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

2013-07-03 Fir de Conversatie Ingo Karkat
On 02-Jul-2013 23:16 +0200, Bram Moolenaar wrote: Hirohito Higashi wrote: Hi, Manuel and Vimmers. 2013/7/3(Wed) 0:27:51 UTC+9 Manuel Ortega: On Tue, Jul 2, 2013 at 3:44 AM, Kazunobu Kuriyama kazunobu...@nifty.com wrote: That said, the vim shipped with MacOS X 10.8.4, the version of

Re: vim crash + possible bug fix

2013-07-03 Fir de Conversatie Bram Moolenaar
Raichoo wrote: I'm experiencing a reproducible crash in vim when using nerdtree. I start vim, open a file with nerdtree, hide the tree with nerdtreetoggle and open a split window. This leads to either an infinite loop or a crash in this portion of window.c:4080 for (wp =

Patch 7.3.1292

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1292 Problem:Possibly using invalid pointer when searcing for window. (Raichoo) Solution: Use firstwin instead of tp_firstwin for current tab. Files: src/window.c *** ../vim-7.3.1291/src/window.c2013-06-28 20:16:50.0 +0200 --- src/window.c2013-07-03

Patch 7.3.1293

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1293 Problem:Put in empty buffer cannot be undone. Solution: Save one more line for undo. (Ozaki) Files: src/ops.c *** ../vim-7.3.1292/src/ops.c 2013-06-29 17:19:20.0 +0200 --- src/ops.c 2013-07-03 14:16:42.0 +0200 *** *** 3499,3505

Re: [BUG][PATCH] incorrect undo-history

2013-07-03 Fir de Conversatie Bram Moolenaar
Ozaki wrote: Since v7.3.1270, 'undo' does not work correctly under certain conditions. vim -N -u NONE :put ='aaa' u expected: buffer empties, and it is an 'oldest change' actual: 'aaa' remains at line 1, and it is an 'oldest change' ( i cannot undo any more ) I propose the attached

Re: vim crash + possible bug fix

2013-07-03 Fir de Conversatie raichoo
Seems to work over here. At least it didn't show up anymore when I tried to reproduce it. :) Kind regards, raichoo On Wed, Jul 3, 2013 at 2:02 PM, Bram Moolenaar b...@moolenaar.net wrote: Raichoo wrote: I'm experiencing a reproducible crash in vim when using nerdtree. I start vim,

Patch 7.3.1294

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1294 Problem::diffoff resets options. Solution: Save and restore option values. (Christian Brabandt) Files: src/diff.c, src/structs.h, src/option.c *** ../vim-7.3.1293/src/diff.c 2013-05-06 04:21:35.0 +0200 --- src/diff.c 2013-07-03 15:23:18.0 +0200

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

2013-07-03 Fir de Conversatie Bram Moolenaar
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 well? Are there any other issues that need to resolved to bring this patch forward? I finally had time to look at this patch. It turns

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

2013-07-03 Fir de Conversatie Christian Wellenbrock
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 well? Are there any other issues that need to resolved to bring this patch forward? I

Re: [patch] Limit window size on all platforms when setting lines/columns

2013-07-03 Fir de Conversatie Daniel Harding
Bram Moolenaar wrote: Daniel Harding wrote: The attached patch is a follow-up to patch 7.3.117 (Problem: When changing the font size, only MS-Windows limits the window size. Solution: Also limit the window size on other systems. (Roland Puntaier)). That patch fixed the problem that on

Re: Problem with xterm screen refresh with recent versions of Vim

2013-07-03 Fir de Conversatie Yegappan Lakshmanan
Hi, On Tue, Jul 2, 2013 at 10:28 PM, Yegappan Lakshmanan yegapp...@gmail.com wrote: Hi, On Tue, Jul 2, 2013 at 8:14 PM, Yegappan Lakshmanan yegapp...@gmail.com wrote: Hi, On Tue, Jul 2, 2013 at 10:25 AM, Bram Moolenaar b...@moolenaar.net wrote: Yegappan Lakshmanan wrote: I see a

Patch 7.3.1295

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1295 Problem:glob() and globpath() do not handle escaped special characters properly. Solution: Handle escaped characters differently. (Adnan Zafar) Files: src/testdir/Makefile, src/testdir/test97.in, src/testdir/test97.ok, src/testdir/Make_amiga.mak,

Patch 7.3.1296

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1296 Problem:Only MS-Windows limits the GUI window size to what fits on the monitor. Solution: Limit the size for all systems. (Daniel Harding) Files: src/ui.c *** ../vim-7.3.1295/src/ui.c2013-06-29 14:16:58.0 +0200 --- src/ui.c2013-07-03

Re: [patch] Limit window size on all platforms when setting lines/columns

2013-07-03 Fir de Conversatie Bram Moolenaar
Daniel Harding wrote: The attached patch is a follow-up to patch 7.3.117 (Problem: When changing the font size, only MS-Windows limits the window size. Solution: Also limit the window size on other systems. (Roland Puntaier)). That patch fixed the problem that on non-MS-Windows

Patch 7.3.1297

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1297 Problem:findfile() directory matching does not work when a star follows text. (Markus Braun) Solution: Make a wildcard work properly. (Christian Brabandt) Files: src/misc2.c, src/testdir/test89.in, src/testdir/test89.ok *** ../vim-7.3.1296/src/misc2.c

Re: Problem with xterm screen refresh with recent versions of Vim

2013-07-03 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: On Tue, Jul 2, 2013 at 10:28 PM, Yegappan Lakshmanan yegapp...@gmail.com wrote: Hi, On Tue, Jul 2, 2013 at 8:14 PM, Yegappan Lakshmanan yegapp...@gmail.com wrote: Hi, On Tue, Jul 2, 2013 at 10:25 AM, Bram Moolenaar b...@moolenaar.net wrote:

Patch 7.3.1298

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1298 (after 7.3.1297) Problem:Crash. Solution: Use STRCPY() instead of STRCAT() and allocate one more byte. Files: src/misc2.c *** ../vim-7.3.1297/src/misc2.c 2013-07-03 17:13:56.0 +0200 --- src/misc2.c 2013-07-03 17:43:11.0 +0200 *** ***

[patch] Fixing tiny/small non-GUI build failure on Mac

2013-07-03 Fir de Conversatie Kazunobu Kuriyama
Hi, Attached are the patches fixing two different kinds of build failure on Mac, although both are about the compilation switch FEAT_CLIPBOARD. First, 'make' following ./configure --with-features=tiny --disable-gui yields the link error: gcc -o vim objects/buffer.o

Re: Quick Fix/No File Buffers and the q key

2013-07-03 Fir de Conversatie Amadeus Demarzi
Looks like my issue was fixed with most recent patches. Cheers and thanks! On Wednesday, June 26, 2013 10:04:33 PM UTC-7, Amadeus Demarzi wrote: Just a quick bump on this issue? Technically it seems like remaps in quickfix and other specialized buffers can be broken due to patch 1179.

Re: [patch] Fixing tiny/small non-GUI build failure on Mac

2013-07-03 Fir de Conversatie Bram Moolenaar
Kazunobu Kuriyama wrote: Attached are the patches fixing two different kinds of build failure on Mac, although both are about the compilation switch FEAT_CLIPBOARD. First, 'make' following ./configure --with-features=tiny --disable-gui yields the link error: gcc -o vim

Patch 7.3.1300

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1300 Problem:Mac: tiny and small build fails. Solution: Don't include os_macosx.m in tiny build. Include mouse support in small build. (Kazunobu Kuriyama) Files: src/configure.in, src/auto/configure, src/vim.h *** ../vim-7.3.1299/src/configure.in2013-06-18

Patch 7.3.1301

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1301 Problem:Some tests fail on MS-Windows. Solution: Fix path separators in test 89 and 96. Omit test 97, escaping works differently. Make findfile() work on MS-Windows. Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,

Possible bug: swap file not removed on exit

2013-07-03 Fir de Conversatie Lorenzo Di Gregorio
Hello, recently (after our company's IT has run some updates) I've started seeing a strange behavior in Vim under Linux: swap files .filename.swp are created and not removed on exit. I also see E211 file no longer available, but the file is available and in fact also regularly updated from

Re: Patch 7.3.1297

2013-07-03 Fir de Conversatie Ben Fritz
On Wednesday, July 3, 2013 10:14:24 AM UTC-5, Bram Moolenaar wrote: Patch 7.3.1297 Problem:findfile() directory matching does not work when a star follows text. (Markus Braun) Solution: Make a wildcard work properly. (Christian Brabandt) When looking into the bug

Re: Patch 7.3.1301

2013-07-03 Fir de Conversatie Nikolay Pavlov
On Jul 3, 2013 11:19 PM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.3.1301 Problem:Some tests fail on MS-Windows. Solution: Fix path separators in test 89 and 96. Omit test 97, escaping works differently. Make findfile() work on MS-Windows. Files:

Patch 7.3.1302

2013-07-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.1302 Problem:Test 17 fails on MS-Windows. Includes line break in file name everywhere. Solution: Fix 'fileformat'. Omit CR-LF from a line read from an included file. Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok ***

Re: Patch 7.3.1297

2013-07-03 Fir de Conversatie Bram Moolenaar
Ben Fritz write: On Wednesday, July 3, 2013 10:14:24 AM UTC-5, Bram Moolenaar wrote: Patch 7.3.1297 Problem:findfile() directory matching does not work when a star follows text. (Markus Braun) Solution: Make a wildcard work properly. (Christian Brabandt)

[no subject]

2013-07-03 Fir de Conversatie Benjamin Fritz
I use the delimitMate plugin by Israel Chauca Fuentes: http://www.vim.org/scripts/script.php?script_id=2754 https://github.com/Raimondi/delimitMate I found this plugin to be the best at automatically inserting the closing character for paired characters like (..), [..], etc. It is

Re: Patch 7.3.1301

2013-07-03 Fir de Conversatie Bram Moolenaar
Nikolay Pavlov wrote: On Jul 3, 2013 11:19 PM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.3.1301 Problem:Some tests fail on MS-Windows. Solution: Fix path separators in test 89 and 96. Omit test 97, escaping works differently. Make findfile() work on

'delimitMate' and other plugins broken by setline() changes

2013-07-03 Fir de Conversatie Ben Fritz
Responding mainly to set a topic. Sorry about that. Normally gmail warns me about not having a subject. Not today apparently. I have seen this hack in other plugins as well, mostly related to automatically adding text or moving the cursor in insert mode. On Wednesday, July 3, 2013 3:45:32 PM

Re: Patch 7.3.1301

2013-07-03 Fir de Conversatie Nikolay Pavlov
On Jul 4, 2013 12:47 AM, Bram Moolenaar b...@moolenaar.net wrote: Nikolay Pavlov wrote: On Jul 3, 2013 11:19 PM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.3.1301 Problem:Some tests fail on MS-Windows. Solution: Fix path separators in test 89 and 96. Omit test 97,

lazyredraw affecting highlight?

2013-07-03 Fir de Conversatie Bailey Ling
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 if lazyredraw is on, then highlight commands are executed

Re: Problem with xterm screen refresh with recent versions of Vim

2013-07-03 Fir de Conversatie Yegappan Lakshmanan
Hi, I see a problem in xterm screen refresh with the recent versions of Vim. The text displayed in the command line is not cleared. Steps to reproduce this problem: $ vim -u NONE -i NONE -N -c 'set cmdheight=2' -c 'set laststatus=2' press CTRL-G to display the current file name

pumselected() function

2013-07-03 Fir de Conversatie Charles
Hi Bram, Is it possible to add a pumselected() function to vim? I have a patch but I'm not sure my implementation is correct, it works though. Here's why it is required. Suppose I want to map CR like this 1) when popup is displayed but no item is selected, I want the popup to close and CR is