Jakson Alves de Aquino | 30 Jan 23:27 2015
Picon

SIGSEGV at syntax.c:2101

Hi,

When I am editing an Rnoweb file and start R with the
Vim-R-plugin, Vim crashes:

(gdb) bt
#0  0x00000000005c75c8 in syn_current_attr (syncing=0, displaying=1, can_spell=0x0, keep_state=0)
at syntax.c:2101
#1  0x00000000005c6da6 in get_syntax_attr (col=0, can_spell=0x0, keep_state=0) at syntax.c:1854
#2  0x0000000000586dcc in win_line (wp=0x8d3720, lnum=15, startrow=14, endrow=28, nochange=1) at screen.c:4354
#3  0x00000000005823bf in win_update (wp=0x8d3720) at screen.c:2011
#4  0x000000000057f9d1 in update_screen (type=40) at screen.c:678
#5  0x00000000005dfbed in set_shellsize (width=0, height=0, mustset=0) at term.c:3174
#6  0x00000000005df9d1 in shell_resized () at term.c:3036
#7  0x0000000000548332 in handle_resize () at os_unix.c:487
#8  0x000000000054820b in mch_inchar (buf=0xc3d558 "", maxlen=71, wtime=0, tb_change_cnt=21) at os_unix.c:399
#9  0x00000000005e403e in ui_inchar (buf=0xc3d558 "", maxlen=71, wtime=0, tb_change_cnt=21) at ui.c:199
#10 0x00000000004d05c2 in inchar (buf=0xc3d558 "", maxlen=215, wait_time=0, tb_change_cnt=21) at getchar.c:3098
#11 0x00000000004d01ae in vgetorpeek (advance=0) at getchar.c:2873
#12 0x00000000004ce91c in vpeekc () at getchar.c:1875
#13 0x00000000004ce9b7 in char_avail () at getchar.c:1925
#14 0x0000000000591b48 in redrawing () at screen.c:10421
#15 0x000000000057f4bb in update_screen (type=10) at screen.c:500
#16 0x000000000062a6bc in main_loop (cmdwin=0, noexmode=0) at main.c:1237
#17 0x000000000062a215 in main (argc=4, argv=0x7fffffffdc88) at main.c:1034
(gdb)

Rnoweb files combine LaTeX and R code. When R starts, it sends a
message to Vim using the clientserver feature. The message is a
list of loaded packages and Vim reacts to the message updating the
(Continue reading)

Christian Brabandt | 30 Jan 20:54 2015

[patch] add watch function to vim debugger

Bram,
Charles asked me, if I could extend the vim debugger and add a watch 
feature, so it would be easier for him to debug netrw issues.

So here is the patch:
https://github.com/chrisbra/vim-mq-patches/blob/master/watchexpr

As far as I know, Charles has already tested it successfully.
Test suite is run successfully

Best,
Christian
-- 
Allem kann ich widerstehen, nur der Versuchung nicht.
		-- Oscar Wilde

-- 
--

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

unknown3000 | 30 Jan 15:14 2015
Picon

Windows GVim Freezes on Redraw

Hi,

I've come across this bug while working on a fork of the plugin manager vim-plug to add python support (1).
The freeze happens anytime I call vim.command('redraw') from within the python code BEFORE returning
control. I can modify the buffer as many times as I want (see Buffer class), but redraw requests completely
freeze Windows GVim. On Linux & Mac versions of Vim this isn't a problem.

To test with my fork setup plug.vim & check it works. Then inside plug.vim, just edit this area(3) so that the
redraw command always runs.

This problem also seems to happen with Ruby version of vim-plug (2).

Regards,

Jeremy

1) https://github.com/starcraftman/vim-plug
2) https://github.com/junegunn/vim-plug/issues/81
3) https://github.com/starcraftman/vim-plug/blob/master/plug.vim#L1060-L1062

-- 
--

-- 
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.
(Continue reading)

Christian Brabandt | 29 Jan 23:27 2015

[patch] bug in block inserting

Bram,
here is a patch for an obscure bug when block-inserting.
While I was trying to fix another thing I noticed that Vim wouldn't let 
me block insert a tab char in front of a block selection.

The problem is, when there are spaces in front of the visually selected 
block and you are inserting tabs, the spaces in front of the block might
be changed to a single tab (according to your sts and ts settings) and 
therefore the oap->start position will be wrong.

(It took me a while until I figured out, that the column position 
actually decreases although I have added a single char. That was really 
unexpected).

This will finally lead to the situation that Vim thinks, the length of 
the inserted text is negative and abort. So here is a patch, that fixes 
this and also includes a test. 

(Test suite successful run 
https://travis-ci.org/chrisbra/vim-ci/builds/48824000)

Best,
Christian
-- 
Daß Frauen bisweilen boshafter sein können als Männer, mag daran
lieben, daß die Erbsünde zuerst in sie gefahren ist.
		-- Ernst R. Hauschka

-- 
--

-- 
(Continue reading)

Yuri Vic | 29 Jan 21:50 2015
Picon

Strange display of acute accent in a complex character

I have the UTF8 representation of this character: Ϊ́    (ce 99 cc 88 cc 81)
It apparently consists of 3 Unicode codepoints: U+0399 U+0308 U+0301

This character shows in vim as 2 separate caret positions. But when cursor is on the first position, the second one (an accent) completely disappears. This is what attracted my attention as weird, and possibly a bug.

This 3-codepoint character is an uppercase representation of this Greek letter ΐ (ce 90)

7.4.560

Yuri

--
--
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.
Benjamin Fritz | 29 Jan 18:59 2015
Picon

linebreak and conceal display problems

I know there have been recent problem with linebreak when combined with conceal, I think I have found one or two more.

With the attached test.vim file as a .vimrc, enter the following text:

bbeeeeee<tab><tab>;<tab>some text

The expected output is:

eeeeee<-<-;<some text

However, instead of that, I see only:

eeeeee<-

Removing the "set linebreak" line from test.vim shows:

eeeeee<---<-;<some text

Note there are extra '-' characters added for listchars, and they are the wrong color.

Removing "set nowrap" (regardless of linebreak setting) shows:

eeeeee<---<-;<some text

Note that there are still extra '-' characters, but they are the correct color now, and the text is not improperly concealed.

I observed this issue in 64-bit gvim 7.4.608 HUGE and also 7.4.552 HUGE running in Windows 7. I hoped that patches 579 or 587 would fix the issue, but apparently there are more problems remaining.

--
--
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.
Attachment (test.vim): application/octet-stream, 615 bytes
Ingo Karkat | 29 Jan 17:13 2015
Picon

BUG: /foo/,/bar/argdo proceeds after E14: Invalid address


Hello Vim developers,

the new range handling on :argdo (and :bufdo, :windo) proceeds even if
a silly (and invalid) range is passed to it:

    $ vim -N -u NONE
    :args *.txt
    :/foo/,/bar/argdo echo bufnr('')
    E14: Invalid address
    2
    "INSTALLmac.txt" 67 lines, 1942 characters
    3
    "INSTALLpc.txt" 513 lines, 19434 characters
    4
    "INSTALLvms.txt" 393 lines, 12432 characters
    5
    "INSTALLx.txt" 165 lines, 5354 characters
    6
    "README.txt" 143 lines, 5178 characters
    7

In contrast,
    :1,999argdo echo bufnr('')
correctly aborts with
    E16: Invalid range

-- regards, ingo

--

-- 
  -- Ingo Karkat --  /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --
  --   http://vim.sourceforge.net/account/profile.php?user_id=9713   --
Kenichi Ito | 29 Jan 15:06 2015
Picon

[doc] Add a missing tag in eval.txt

Hi,

"printf-S" tag is missing.

---
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 0fb3151..400b148 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
 <at>  <at>  -4766,6 +4766,7  <at>  <at>  printf({fmt}, {expr1} ...)				*printf()*
 		s	The text of the String argument is used.  If a
 			precision is specified, no more bytes than the number
 			specified are used.
+							*printf-S*
 		S	The text of the String argument is used.  If a
 			precision is specified, no more display cells than the
 			number specified are used.  Without the |+multi_byte|
---

Regards,
Kenichi Ito

-- 
--

-- 
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 | 29 Jan 13:56 2015
Picon

i_CTRL-W doesn't handle multi-bytes

Hi

----------------------
wwwWWWwww_
----------------------

When cursor is at "_", typing i_CTRL-W should work like as below.

----------------------
wwwWWWwww_
----------------------
wwwWWW_
----------------------
www_
----------------------
_
----------------------

But current behavior is below.

----------------------
wwwWWWwww_
----------------------
_
----------------------

vim doesn't look multibyte class in get back to previous word. Below is a patch. Please check.

https://gist.github.com/mattn/47d39a30a63786d0d3dc

- 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.
Marcin Szamotulski | 28 Jan 23:19 2015
Picon

count for zr and zm (patch)

Hi Bram,

I attach a small patch which adds count for zr and zm normal commands.  It
also adds a check to not go beyond the maximal fold level with zr.

Best regards,
Marcin

-- 
--

-- 
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.
Attachment (folds.patch): text/x-diff, 1713 bytes
Christian Brabandt | 28 Jan 20:06 2015

writable '=' register

Hi, :h quote= states:

,----
| 6. Expression register "=			*quote_=* *quote=* * <at> =*
| This is not really a register that stores text, but is a way to use an
| expression in commands which use a register.  The expression register is
| read-only; you cannot put text into it.  After the '=', the cursor moves to
`----

However, one can use :let  <at> = = '"foobar"' and also
:call setreg('=', '"foobar"')

That documentation should be adjusted, since there is even a test for 
that feature.

Best,
Christian
-- 
         lim      ----
        8-->9   \/ 8   = 3

-- 
--

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


Gmane