Charles Campbell | 3 May 21:46 2016
Picon

Re: [vim/vim] propose vim as manpager that syntax highlights and follows symlinks (#491)

Charles E Campbell wrote:
> Murukesh Mohanan wrote:
>> Typically man pages have bold and underlines displayed using |x\bx|
>> and |_\bx|, |\b| being the backspace and |x| the letter in question
>> (Thomas Dickey talks about this in this Unix & Linux post
>> <http://unix.stackexchange.com/a/271553/70524>). That's what makes
>> using just |vim -| as the manpager annoying. The workaround I have
>> seen posted in a number of places is to filter out the backspaces, and
>> the characters that would have been printed over. Typically:
>>
>> |MANPAGER='col -b | vim -' |
>>
>> There's no reason to do this with |col -b|, of course. You could do
>> something like:
>>
>> if !empty($MAN_PN)
>>     autocmd StdinReadPost * set ft=man | file $MAN_PN | call PrepManPager()
>> endif
>>
>> And |PrepManPager()| defined in some suitable place:
>>
>> function! PrepManPager()
>>     setlocal modifiable
>>     %s/.\b\(.\)/\1/g
>>     1
>>     setlocal nomodified
>>     setlocal nomodifiable
>> endfunction
>> ------------------------------------------------------------------------
>>
(Continue reading)

Bram Moolenaar | 3 May 10:03 2016
Picon
Picon

www.vim.org


Takuya Fujiwara wrote:

> When I click "login" button at http://www.vim.org/login.php ,
> I get the following error message since yesterday.
> 
> > POST has been used more than 500 times within 5 hours.
> > Assuming bot attack. Retry again later. If you continue having trouble write to the mailinglist.
> 
> What should I do?

It appears SourceForge has a problem.  It's very slow, database access
is timing out.  It seems a bit better at the moment.

-- 
It is illegal to take more than three sips of beer at a time while standing.
		[real standing law in Texas, United States of America]

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
--

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

tyru | 3 May 07:42 2016
Picon
Gravatar

www.vim.org

Hi list!

When I click "login" button at http://www.vim.org/login.php ,
I get the following error message since yesterday.

> POST has been used more than 500 times within 5 hours.
> Assuming bot attack. Retry again later. If you continue having trouble write to the mailinglist.

What should I do?

-- 
Takuya Fujiwara

-- 
--

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

Chris AtLee | 2 May 19:45 2016

[vim/vim] Ctrl-A decrements numbers if 'octal' is removed from nrformats (#787)

To reproduce:
:set nrformats-=octal

Using the text '1-2-3' as a sample. With the cursor over '1', Ctrl-A increments as expected. With the cursor over '2', Ctrl-A decrements, as with '3'.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

--
--
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.
Greg Hurrell | 2 May 08:45 2016
Picon
Gravatar

Fwd: "after" files not running in package

Running Vim 7.4 (patches 1-1795) I've found that files under an "after" directory are not being evaluated when inside a package, but they run when installed the old-fashioned way.

The plug-in contains the following files:

- ftplugin/vim.vim
- after/syntax/vim.vim

By adding an `:echomsg` command in each of these files, I can see the "ftplugin" file gets executed but the "after" file does not get loaded as I would expect when editing a .vim file.

The actual locations of the files on my system when installed as a package are:

- ~/.vim/pack/bundle/start/vim-docvim/ftplugin/vim.vim
- ~/.vim/pack/bundle/start/vim-docvim/after/syntax/vim.vim

My 'packpath' is default:

packpath=~/.vim,/usr/local/share/vim/vimfiles,/usr/local/share/vim/vim74,/usr/local/share/vim/vimfiles/after,~/.vim/after

I'm doing the following in my ~/.vim/vimrc:

if has('packages')
  packloadall
else
  " Use Pathogen for plug-in loading.
  source $HOME/.vim/pack/bundle/opt/vim-pathogen/autoload/pathogen.vim
  call pathogen#infect('pack/bundle/start/{}')
endif

As you can see, in older versions of Vim I manage my runtimepath with vim-pathogen. In that case, the "after" file _does_ load as expected.

For reference, the plug-in I'm referencing here is:


Does this sound like a bug, or is the different behavior expected when using packages?

Cheers,
Greg


--
--
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.
Greg Hurrell | 2 May 08:51 2016
Picon
Gravatar

"after" files not running in package

Running Vim 7.4 (patches 1-1795) I've found that files under an "after" directory are not being evaluated
when inside a package, but they run when installed the old-fashioned way.

The plug-in contains the following files:

- ftplugin/vim.vim
- after/syntax/vim.vim

By adding an `:echomsg` command in each of these files, I can see the "ftplugin" file gets executed but the
"after" file does not get loaded as I would expect when editing a .vim file.

The actual locations of the files on my system when installed as a package are:

- ~/.vim/pack/bundle/start/vim-docvim/ftplugin/vim.vim
- ~/.vim/pack/bundle/start/vim-docvim/after/syntax/vim.vim

My 'packpath' is default:

packpath=~/.vim,/usr/local/share/vim/vimfiles,/usr/local/share/vim/vim74,/usr/local/share/vim/vimfiles/after,~/.vim/after

I'm doing the following in my ~/.vim/vimrc:

if has('packages')
  packloadall
else
  " Use Pathogen for plug-in loading.
  source $HOME/.vim/pack/bundle/opt/vim-pathogen/autoload/pathogen.vim
  call pathogen#infect('pack/bundle/start/{}')
endif

As you can see, in older versions of Vim I manage my runtimepath with vim-pathogen. In that case, the "after"
file _does_ load as expected.

For reference, the plug-in I'm referencing here is:

https://github.com/wincent/vim-docvim

Does this sound like a bug, or is the different behavior expected when using packages?

Cheers,
Greg

-- 
--

-- 
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 | 1 May 23:06 2016
Picon
Picon

Patch 7.4.1816


Patch 7.4.1816
Problem:    Looping over a null list throws an error.
Solution:   Skip over the for loop.
Files:      src/eval.c, src/testdir/test_expr.vim

*** ../vim-7.4.1815/src/eval.c	2016-05-01 14:22:12.359965167 +0200
--- src/eval.c	2016-05-01 22:55:16.965677362 +0200
***************
*** 3292,3302 ****
  	if (!skip)
  	{
  	    l = tv.vval.v_list;
! 	    if (tv.v_type != VAR_LIST || l == NULL)
  	    {
  		EMSG(_(e_listreq));
  		clear_tv(&tv);
  	    }
  	    else
  	    {
  		/* No need to increment the refcount, it's already set for the
--- 3292,3307 ----
  	if (!skip)
  	{
  	    l = tv.vval.v_list;
! 	    if (tv.v_type != VAR_LIST)
  	    {
  		EMSG(_(e_listreq));
  		clear_tv(&tv);
  	    }
+ 	    else if (l == NULL)
+ 	    {
+ 		/* a null list is like an empty list: do nothing */
+ 		clear_tv(&tv);
+ 	    }
  	    else
  	    {
  		/* No need to increment the refcount, it's already set for the
*** ../vim-7.4.1815/src/testdir/test_expr.vim	2016-04-20 14:59:19.047369459 +0200
--- src/testdir/test_expr.vim	2016-05-01 22:52:15.147777312 +0200
***************
*** 83,85 ****
--- 83,92 ----
    call add(x, 'foo')
    call assert_equal(['foo'], y)
  endfunc
+ 
+ func Test_loop_over_null_list()
+   let null_list = submatch(1, 1)
+   for i in null_list
+     call assert_true(0, 'should not get here')
+   endfor
+ endfunc
*** ../vim-7.4.1815/src/version.c	2016-05-01 20:20:40.771810344 +0200
--- src/version.c	2016-05-01 23:03:26.852018312 +0200
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     1816,
  /**/

-- 
There are only two hard things in programming: Cache invalidation,
naming things and off-by-one errors.

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
--

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

LCD 47 | 1 May 20:23 2016
Picon
Gravatar

Can't compile with Perl v5.22.2

    This seems to be a recent change in Perl rather than Vim:

clang -c -I. -Iproto -DHAVE_CONFIG_H     -pipe -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
-I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread
-DDYNAMIC_PYTHON3_DLL=\"libpython3.5m.so.1.0\"  -o objects/if_python3.o if_python3.c
In file included from if_perl.xs:610:
/usr/lib/perl5/CORE/inline.h:20:5: error: use of undeclared identifier 'PERL_ARGS_ASSERT_AV_TOP_INDEX'
    PERL_ARGS_ASSERT_AV_TOP_INDEX;
    ^
/usr/lib/perl5/CORE/inline.h:242:5: error: use of undeclared identifier 'PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE'
    PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE;
    ^
/usr/lib/perl5/CORE/inline.h:274:5: error: use of undeclared identifier 'PERL_ARGS_ASSERT__IS_UTF8_CHAR_SLOW'
    PERL_ARGS_ASSERT__IS_UTF8_CHAR_SLOW;
    ^
/usr/lib/perl5/CORE/inline.h:305:5: error: use of undeclared identifier 'PERL_ARGS_ASSERT_IS_SAFE_SYSCALL'
    PERL_ARGS_ASSERT_IS_SAFE_SYSCALL;
    ^
/usr/lib/perl5/CORE/inline.h:390:5: error: use of undeclared identifier 'PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC'
    PERL_ARGS_ASSERT_SV_ONLY_TAINT_GMAGIC;
    ^

$ perl --version | head -2

This is perl 5, version 22, subversion 2 (v5.22.2) built for i586-linux-thread-multi

    /lcd

-- 
--

-- 
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 | 1 May 20:21 2016
Picon
Picon

Patch 7.4.1815


Patch 7.4.1815
Problem:    Compiler warnings for unused variables. (Ajit Thakkar)
Solution:   Add a dummy initialization. (Yasuhiro Matsumoto)
Files:      src/quickfix.c

*** ../vim-7.4.1814/src/quickfix.c	2016-05-01 13:28:34.517588215 +0200
--- src/quickfix.c	2016-05-01 20:18:14.137455159 +0200
***************
*** 207,215 ****
      char_u	    *fmtstr = NULL;
      char_u	    *growbuf = NULL;
      int		    growbuflen;
!     int		    growbufsiz;
!     char_u	    *linebuf;
!     int		    linelen;
      int		    discard;
      int		    col = 0;
      char_u	    use_viscol = FALSE;
--- 207,215 ----
      char_u	    *fmtstr = NULL;
      char_u	    *growbuf = NULL;
      int		    growbuflen;
!     int		    growbufsiz = 0;
!     char_u	    *linebuf = NULL;
!     int		    linelen = 0;
      int		    discard;
      int		    col = 0;
      char_u	    use_viscol = FALSE;
*** ../vim-7.4.1814/src/version.c	2016-05-01 14:22:12.363965120 +0200
--- src/version.c	2016-05-01 20:19:32.616574918 +0200
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     1815,
  /**/

-- 
It is illegal to rob a bank and then shoot at the bank teller with a water
pistol.
		[real standing law in Louisana, United States of America]

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
--

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

Demetri Obenour | 1 May 20:14 2016

[vim/vim] Support registering functions in embedded scripting languages as Vim functions (#786)

It would be nice for Vimscript to be able to call other languages without just evaluating a string.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

--
--
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 May 15:41 2016
Picon
Gravatar

Fix compiler warnings

please check this.

diff --git a/src/quickfix.c b/src/quickfix.c
index 6a38c78..db4c0fa 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
 <at>  <at>  -207,9 +207,9  <at>  <at>  qf_init_ext(
     char_u	    *fmtstr = NULL;
     char_u	    *growbuf = NULL;
     int		    growbuflen;
-    int		    growbufsiz;
-    char_u	    *linebuf;
-    int		    linelen;
+    int		    growbufsiz = 0;
+    char_u	    *linebuf = NULL;
+    int		    linelen = 0;
     int		    discard;
     int		    col = 0;
     char_u	    use_viscol = FALSE;

-- 
--

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