Re: [vim/vim] Problems with -std=c11 compilation (#664)

2016-12-10 Fir de Conversatie ouidacisneros via vim_dev


On Sun, 12/11/16, Jörg Plate  wrote:

 Subject: Re: [vim/vim] Problems with -std=c11 compilation (#664)
 To: "vim/vim" 
 Date: Sunday, December 11, 2016, 6:49 AM
 
 Closed #664.
 
 —
 You are receiving this because you are subscribed to this
 thread.
 Reply to this email directly, 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+unsubscr...@googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 ** Romanii la 1859. Unirea Principatelor Romane in constiinta europeana. 
Documente externe 

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Minor update to version8.txt

2016-12-10 Fir de Conversatie maximabrowning via vim_dev


On Sun, 12/11/16, maximabrowning via vim_dev  wrote:

 Subject: Re: Minor update to version8.txt
 To: vim_dev@googlegroups.com
 Date: Sunday, December 11, 2016, 1:23 AM
 
 
 
 On Sat, 12/10/16, Bram Moolenaar 
 wrote:
 
  Subject: Re: Minor update to version8.txt
  To: vim_dev@googlegroups.com
  Cc: "Yegappan Lakshmanan" ,
 "Vimdev" 
  Date: Saturday, December 10, 2016, 8:15 PM
  
  
  Yegappan
  wrote:
  
  > The new CTRL-G
  and CTRL-T commands that can be used in the
  > search ("/" and "?")
  prompt are not listed in the version8.txt file.
  > I am attaching a patch to the version8.txt
  file.
  
  Thanks!
  
  -- 
  I AM
  THANKFUL...
  ...for the clothes that fit a
  little too snug because it
  means I have more
  than enough to eat.
  
   ///
  Bram Moolenaar -- b...@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+unsubscr...@googlegroups.com.
  For more options, visit
  https://groups.google.com/d/optout.
  75MIsCaRI SOCIALE LA CUMPaNA SECOLELOR ALXIX-LEA-ALXX-LEA
 
 -- 
 -- 
 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+unsubscr...@googlegroups.com.
 For more options, visit
 https://groups.google.com/d/optout.uterii suzerane  mereu dornica sa intervina 
la orice tulburare in tinuturile de la

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Minor update to version8.txt

2016-12-10 Fir de Conversatie maximabrowning via vim_dev


On Sat, 12/10/16, Bram Moolenaar  wrote:

 Subject: Re: Minor update to version8.txt
 To: vim_dev@googlegroups.com
 Cc: "Yegappan Lakshmanan" , "Vimdev" 
 Date: Saturday, December 10, 2016, 8:15 PM
 
 
 Yegappan
 wrote:
 
 > The new CTRL-G
 and CTRL-T commands that can be used in the
 > search ("/" and "?")
 prompt are not listed in the version8.txt file.
 > I am attaching a patch to the version8.txt
 file.
 
 Thanks!
 
 -- 
 I AM
 THANKFUL...
 ...for the clothes that fit a
 little too snug because it
 means I have more
 than enough to eat.
 
  ///
 Bram Moolenaar -- b...@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+unsubscr...@googlegroups.com.
 For more options, visit
 https://groups.google.com/d/optout.
 75MIsCaRI SOCIALE LA CUMPaNA SECOLELOR ALXIX-LEA-ALXX-LEA

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [vim/vim] Compile with explicitly specified path first (#1100)

2016-12-10 Fir de Conversatie ouidacisneros via vim_dev


On Sat, 12/10/16, Yousong Zhou  wrote:

 Subject: Re: [vim/vim] Compile with explicitly specified path first (#1100)
 To: "vim/vim" 
 Date: Saturday, December 10, 2016, 7:14 AM
 
 Hi, @brammool , 3 monthes
 have passed, any thoughts on this one?
 
 —
 You are receiving this because you are subscribed to this
 thread.
 Reply to this email directly, 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+unsubscr...@googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 08Initiativa cea mai insemnata a autoritatilor provizorii de la Bucuresti este 
insa aceea privind plebiscitul pentru alegerea ca domn al Romaniei a printului 
Caro  de Hohenzollern - Sigmaringen.

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[patch] improved test coverage (:syntime, :syntax list, :syntax completion)

2016-12-10 Fir de Conversatie Dominique Pellé
Hi

Attached patch improves test coverage for
the following items not currently covered
according to coveralls [1]:
- :syntime command
- :syntax list command
- :syntax completion

I did not test ":syntax list @{cluster-name} described
at ":help :syn-list" as I did not understand what cluster
name to give to make it work.

[1] https://coveralls.io/builds/9214454/source?filename=src%2Fsyntax.c

Regards
Dominique

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim
index 4b88fe3..14ac0d3 100644
--- a/src/testdir/test_syntax.vim
+++ b/src/testdir/test_syntax.vim
@@ -80,3 +80,79 @@ func Test_syntax_after_reload()
   call assert_true(exists('g:gotit'))
   call delete('Xsomefile')
 endfunc
+
+func Test_syntime()
+  if !has('profile')
+finish
+  endif
+
+  syntax on
+  syntime on
+  let a=execute('syntime report')
+  call assert_equal("\nNo Syntax items defined for this buffer", a)
+
+  view ../memfile_test.c
+  setfiletype cpp
+  redraw
+  let a=execute('syntime report')
+  call assert_match('^  TOTAL *COUNT *MATCH *SLOWEST *AVERAGE *NAME *PATTERN', a)
+  call assert_match(' \d*\.\d* \+[^0]\d* .* cppRawString ', a)
+  call assert_match(' \d*\.\d* \+[^0]\d* .* cppNumber ', a)
+
+  syntime off
+  syntime clear
+  let a=execute('syntime report')
+  call assert_match('^  TOTAL *COUNT *MATCH *SLOWEST *AVERAGE *NAME *PATTERN', a)
+  call assert_notmatch('.* cppRawString *', a)
+  call assert_notmatch('.* cppNumber*', a)
+  call assert_notmatch('[1-9]', a)
+
+  call assert_fails('syntime abc', 'E475')
+
+  syntax clear
+  let a=execute('syntime report')
+  call assert_equal("\nNo Syntax items defined for this buffer", a)
+
+  bd
+endfunc
+
+func Test_syntax_list()
+  syntax on
+  let a=execute('syntax list')
+  call assert_equal("\nNo Syntax items defined for this buffer", a)
+
+  view ../memfile_test.c
+  setfiletype c
+
+  let a=execute('syntax list')
+  call assert_match('cInclude*', a)
+  call assert_match('cDefine', a)
+
+  let a=execute('syntax list cDefine')
+  call assert_notmatch('cInclude*', a)
+  call assert_match('cDefine', a)
+  call assert_match(' links to Macro$', a)
+
+  call assert_fails('syntax list ABCD', 'E28:')
+  call assert_fails('syntax list @ABCD', 'E392:')
+
+  syntax clear
+  let a=execute('syntax list')
+  call assert_equal("\nNo Syntax items defined for this buffer", a)
+
+  bd
+endfunc
+
+func Test_syntax_completion()
+  call feedkeys(":syn \\\"\", 'tx')
+  call assert_equal('"syn case clear cluster conceal enable include iskeyword keyword list manual match off on region reset spell sync', @:)
+
+  call feedkeys(":syn case \\\"\", 'tx')
+  call assert_equal('"syn case ignore match', @:)
+
+  call feedkeys(":syn list \\\"\", 'tx')
+  call assert_match('^"syn list Boolean Character ', @:)
+
+  call feedkeys(":syn match \\\"\", 'tx')
+  call assert_match('^"syn match Boolean Character ', @:)
+endfunc


Vim calendar for 2017

2016-12-10 Fir de Conversatie Bram Moolenaar

Hello Vim users!

I have updated the handy desktop calendar for 2017.  It prints on one
sheet of paper and, after folding and applying a bit of glue, stands on
your desk.

It is available in English and Dutch.  You can find the PDF files on my
website: http://moolenaar.net/#Calendar


The project in Uganda in currently suffering from a drought.  This area
of Uganda is farmland.  For the farms to be productive rain is needed.
And there has been no rain since May, and very little before that.
Our staff says this is the worst drought in 25 years.

A $30 donation buys a family a bag of maize flour that can feed them for
1 month.  100% of your donation goes directly to buying maize flour.

See this page for how to send money: http://www.iccf.nl/donate.html

We have already started handing out bags of maize flour.  You can find
pictures and information on the blog of the director:
http://jeffshan.blogspot.ch/2016/11/famine-relief.html


Happy Vimming!

-- 
Facepalm reply #9: "Speed up, you can drive 80 here" "Why, the cars behind us
are also driving 60"

 /// Bram Moolenaar -- b...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Minor update to version8.txt

2016-12-10 Fir de Conversatie Bram Moolenaar

Yegappan wrote:

> The new CTRL-G and CTRL-T commands that can be used in the
> search ("/" and "?") prompt are not listed in the version8.txt file.
> I am attaching a patch to the version8.txt file.

Thanks!

-- 
I AM THANKFUL...
...for the clothes that fit a little too snug because it
means I have more than enough to eat.

 /// Bram Moolenaar -- b...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Patch 8.0.0126

2016-12-10 Fir de Conversatie Bram Moolenaar

Christian Brabandt wrote:

> On Fr, 09 Dez 2016, Bram Moolenaar wrote:
> 
> > !   /* Draw the 'foldcolumn'.  Allocate a buffer, "extra" may
> > !* already be in used. */
> 
> nitpicK:
> "may already be used" or
> "may already be in use"

I'll make it "in use".  Thanks.

-- 
I AM THANKFUL...
...for the mess to clean after a party because it means I have
been surrounded by friends.

 /// Bram Moolenaar -- b...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Minor update to version8.txt

2016-12-10 Fir de Conversatie Yegappan Lakshmanan
Hi,

The new CTRL-G and CTRL-T commands that can be used in the
search ("/" and "?") prompt are not listed in the version8.txt file.
I am attaching a patch to the version8.txt file.

- Yegappan

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt
index a419bd7..8749e2f 100644
--- a/runtime/doc/version8.txt
+++ b/runtime/doc/version8.txt
@@ -180,6 +180,10 @@ Insert mode commands: ~
 
 |i_CTRL-G_U|   CTRL-G Udon't break undo with next cursor movement
 
+Cmdline mode commands: ~
+
+|/_CTRL-G| CTRL-G  move to the next match in 'incsearch' mode
+|/_CTRL-T| CTRL-T  move to the previous match in 'incsearch' mode
 
 Options: ~