Christian Brabandt | 1 Sep 22:31 2014

[patch] fix ml_get errors in autocommand

Bram,
I recently stumbled over an ml_get: invalid lnum error in my NrrwRgn 
plugin (when writing changes back). I have not been able to reproduce 
the issue without the plugin.

What it does however is, it switches to a different buffer in the same 
window, moves to a certain position and replaces part or the buffer and 
switches back to the original buffer. The problem is, that when 
restoring the buffer and windows in aucmd_restbuf() the cursor position 
is not validated.

This patch fixes the issue:

diff --git a/src/fileio.c b/src/fileio.c
--- a/src/fileio.c
+++ b/src/fileio.c
 <at>  <at>  -9009,6 +9009,7  <at>  <at>  win_found:

            curwin = aco->save_curwin;
            curbuf = curwin->w_buffer;
+           check_cursor();
        }
     }
 }

Best,
Christian
--

-- 
...ein Schiff, das nicht mehr die hohe See hält, ist zu einem 
Küstenfahrer vielleicht immer noch nütze.
(Continue reading)

Marslo Jiao | 1 Sep 08:03 2014
Picon

Is there anything about CI (Contentious Integration) in vim

Hi,

I'm maintenance a windows-vim version (https://sourceforge.net/projects/marslosvimgvim/).
However, I've got many COMPILE ERRORs recently (v7.4.399, v7.4.400, v7.4.414).

I think it's time for involving the new process. At least make compile successfully by using CI.

How do you think?

Br, Marslo

-- 
--

-- 
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 "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mattn | 1 Sep 12:14 2014
Picon

cedit=<c-c> make endless-loop

Hi list.

* CASE1:

Note: vim will hang. And it require kill -9.

:set cedit=<c-c>
:normal! :

=> endless loop

* CASE2:

:set cedit=<C-c>
:echo input('')

Type <c-c>

=> broken cmdwin are displayed

Below is a patch to fix this.

https://gist.github.com/mattn/2511755e15510b7b0b0f

- Yasuhiro Matsumoto

-- 
--

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
(Continue reading)

vim | 1 Sep 06:56 2014

Issue 254 in vim: Establish primaryness of this site

Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 254 by fulldec... <at> gmail.com: Establish primaryness of this site
https://code.google.com/p/vim/issues/detail?id=254

I would recommend that this Project Home link more clearly indicate that  
this Google Code project is the primary home of Vim development and is not  
a mirror or anything like that.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

-- 
--

-- 
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 "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mattn | 1 Sep 04:11 2014
Picon

ft=diff occur error when encoding=cp932 on cygwin

Hi list.

When encoding=utf-8 on cygwin, set ft=diff occur error.
Because some characters which can't be converted are translated to '?' by iconv.

Below is a patch to avoid handle non-related scripts.

https://gist.github.com/mattn/d9432fbd6eadca91e1d6

Thanks.
- Yasuhiro Matsumoto

-- 
--

-- 
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 "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Todd E Thomas | 31 Aug 19:41 2014
Picon

Vim Crashes on a Ruby String Method with Auto-Completion Enabled

Hey guys, I (may have) found a bug. I need someone to duplicate it for me.

Basically, I can make Vim crash in a ruby script while adding a string method. It only happens on *some*
auto-completion though - not all. For example:

If I were to try step 2 in this verification, Vim would behave as expected:
https://github.com/vim-ruby/vim-ruby/wiki/VimRubySupport#verifying-installation

What steps will reproduce the problem?
1. Use my .vimrc setup
2. Attempt to add an 11th line like the 10th (test_fail.rb; entered; not Yp)
3. CTRL-C will not get you out of it. The terminal session must be closed.

What is the expected output? What do you see instead?
The expected result: vim should not hang/crash.
CTRL+C will not save me at this point. They terminal session (tab) must be closed manually.

What version of the product are you using? On what operating system?
Mac OS X (10.9); vim called within Terminal.app
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 26 2014 14:31:09)
...

Please provide any additional information below.

The Background: I have a fairly customized vim configuration that's been working without error for years
on both Linux and OS X (10.8/9). This problem is occurring on the Mac; I've attempted the same test on Linux
(Fedora 20 with the latest updates); Vim behaves as expected. I use the latest version of Vim from Homebrew
and I only use it from within Terminal.app.

(Continue reading)

mvxxc | 31 Aug 15:18 2014
Picon
Picon

Line formatting bug

As I have read a lot about assumed breakindent bugs in previous threads: This
reminds me of the strange behavior related to line formatting I mentioned in the
vim_use mailing list. It can still be reproduced with the following test.

mvxxc <at> gmx.de, 15.02.2014 02:11:
> ... it seems that formatting really behaves
> differently if "linebreak" is set. After setting options with
> ":se all& co=79 tw=80", place the cursor in the first test line and format both
> lines with "gqj". Try this with and without "linebreak".

> xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
> xxx

> In the first case, there are two words in the second line; in the second case,
> it is just one word. This can also be reproduced when starting Vim with
> "vim -u NONE +'se all& co=79 tw=80'".

According to the help page for linebreak, this option should not affect
formatting.

> Unlike "wrapmargin" and "textwidth", this does not insert <EOL>s in the file,
> it only affects the way the file is displayed, not its contents.

-- 
--

-- 
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

--- 
(Continue reading)

Marcin Szamotulski | 31 Aug 15:05 2014
Picon

getcmdtype documentation

Hi Bram,

I found that when an expression is evaluated using the expression
register i_CTRL-R_= the getcmdtype() function returns '='.  I attach
patch which documents that.

Best regards,
Marcin Szamotulski
Attachment (getcmdtype_doc.patch): text/x-diff, 480 bytes
mattn | 31 Aug 08:57 2014
Picon

gettabvar(1, '') doesn't return dict of variables

hi list.

getbufvar(1, ''), getwinvar(1, '') returns dict of the variables of each them scope. But gettabvar(1, '') doesn't.

Below is a patch to fix this.

https://gist.github.com/mattn/f606cccc62d2171ad6d1

Thanks.

- Yasuhiro Matsumoto

-- 
--

-- 
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 "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Taro MURAOKA | 31 Aug 08:14 2014
Picon

helptags failed because E888 are duplicated

Related to 7.4.421

https://groups.google.com/d/msg/vim_dev/e95YWigigyQ/DMvHGRiAOo8J

New error code E888 was introduced.
But it appears twice in doc/pattern.txt.

https://code.google.com/p/vim/source/browse/runtime/doc/pattern.txt#832
https://code.google.com/p/vim/source/browse/runtime/doc/pattern.txt#841

It make trouble for :helptags command,
it doesn't allow duplicated tag definitions.

I don't know how to fix it.  Any idea?

-- 
--

-- 
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 "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 30 Aug 18:10 2014
Picon
Picon

Patch 7.4.430


Patch 7.4.430
Problem:    test_listlbr fails when compiled with normal features.
Solution:   Check for the +conceal feature.
Files:	    src/testdir/test_listlbr.in

*** ../vim-7.4.429/src/testdir/test_listlbr.in	2014-08-29 12:08:39.686423658 +0200
--- src/testdir/test_listlbr.in	2014-08-30 17:07:04.930651497 +0200
***************
*** 2,8 ****

  STARTTEST
  :so small.vim
! :if !exists("+linebreak") | e! test.ok | w! test.out | qa! | endif
  :10new|:vsp|:vert resize 20
  :put =\"\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP \"
  :norm! zt
--- 2,8 ----

  STARTTEST
  :so small.vim
! :if !exists("+linebreak") || !exists("+conceal") | e! test.ok | w! test.out | qa! | endif
  :10new|:vsp|:vert resize 20
  :put =\"\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP \"
  :norm! zt
*** ../vim-7.4.429/src/version.c	2014-08-30 13:32:03.406623315 +0200
--- src/version.c	2014-08-30 17:08:01.758651621 +0200
***************
*** 743,744 ****
--- 743,746 ----
(Continue reading)


Gmane