Re: 2010 new features

2010-03-12 Fir de Conversatie Tom Link
 Maybe it /would/ make GVim more attractive if it had, let's say, a
 more modern toolbar.

Maybe MS Office like ribbons would help to improve vim's popularity.
I've been told that a future version of OpenOffice will have similar
gui elements. Hence, they have to be useful.

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


Re: 2010 new features

2010-03-12 Fir de Conversatie Matt Wozniski
On Fri, Mar 12, 2010 at 6:19 AM, Tom Link micat...@gmail.com wrote:
 Maybe it /would/ make GVim more attractive if it had, let's say, a
 more modern toolbar.

 Maybe MS Office like ribbons would help to improve vim's popularity.
 I've been told that a future version of OpenOffice will have similar
 gui elements. Hence, they have to be useful.

That's true, OpenOffice is a paragon of usability!

~Matt

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


Re: 2010 new features

2010-03-12 Fir de Conversatie Tux
Tom Link schrob am 12.03.2010 12:19:
 Maybe MS Office like ribbons would help to improve vim's popularity.
   

*shiver*

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


[patch] Re: Possible bug with search command invoked with foldd

2010-03-12 Fir de Conversatie Lech Lorens
On 20-Feb-2010 Jean Johner jean.joh...@cea.fr wrote:
 Hello,
[...]
 It looks like a bug.
 
 Can you reproduce that.
 
 Best regards.
 
 Jean Johner

The attached patch corrects the erroneous message.

-- 
Cheers,
Lech

-- 
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
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 68627a5..d49bae6 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5150,6 +5150,13 @@ do_sub_msg(count_only)
 int	count_only;		/* used 'n' flag for :s */
 {
 int	len = 0;
+int	nsubs = sub_nsubs;
+int	nlines = sub_nlines;
+
+/* These should be reset here in case global_busy is set during the next
+ * call to do_sub(). Such a situation takes place when :substitute is
+ * performed via :folddoopen. */
+sub_nsubs = sub_nlines = 0;
 
 /*
  * Only report substitutions when:
@@ -5157,7 +5164,7 @@ do_sub_msg(count_only)
  * - command was typed by user, or number of changed lines  'report'
  * - giving messages is not disabled by 'lazyredraw'
  */
-if (((sub_nsubs  p_report  (KeyTyped || sub_nlines  1 || p_report  1))
+if (((nsubs  p_report  (KeyTyped || nlines  1 || p_report  1))
 		|| count_only)
 	 messaging())
 {
@@ -5166,20 +5173,20 @@ do_sub_msg(count_only)
 	STRCPY(msg_buf, _((Interrupted) ));
 	len = (int)STRLEN(msg_buf);
 	}
-	if (sub_nsubs == 1)
+	if (nsubs == 1)
 	vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
 		%s, count_only ? _(1 match) : _(1 substitution));
 	else
 	vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
 		count_only ? _(%ld matches) : _(%ld substitutions),
-   sub_nsubs);
+   nsubs);
 	len = (int)STRLEN(msg_buf);
-	if (sub_nlines == 1)
+	if (nlines == 1)
 	vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
 		%s, _( on 1 line));
 	else
 	vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
-		_( on %ld lines), (long)sub_nlines);
+		_( on %ld lines), (long)nlines);
 	if (msg(msg_buf))
 	/* save message to display it after redraw */
 	set_keep_msg(msg_buf, 0);


Make_ming.mak syntax error

2010-03-12 Fir de Conversatie Dasn


Hello guys.

I am using mingw32 to build vim on WinXP

D:\src\vim7\srcmake -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for Windows32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to bug-m...@gnu.org.

D:\src\vim7\srcmake -f Make_ming.mak
Make_ming.mak:218: Extraneous text after `else' directive
Make_ming.mak:220: *** only one `else' per conditional.  Stop.

--
Dasn

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


Re: Make_ming.mak syntax error

2010-03-12 Fir de Conversatie Tony Mechelynck

On 13/03/10 02:05, Dasn wrote:


Hello guys.

I am using mingw32 to build vim on WinXP

D:\src\vim7\srcmake -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for Windows32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to bug-m...@gnu.org.

D:\src\vim7\srcmake -f Make_ming.mak
Make_ming.mak:218: Extraneous text after `else' directive
Make_ming.mak:220: *** only one `else' per conditional. Stop.



What is your patchlevel? Several recent 7.2 patches were concerned with 
MinGW, including 352, 364, 365, 377, 387, 388 and maybe others; the 
current patchlevel (as of this writing) is 7.2.394.


See http://ftp.vim.org/pub/vim/patches/7.2/README for a table of 
contents of all Vim 7.2 patches to date.


AFAICT, lines 215-223 of Make_ming.mak are as follows:

---8---
ifndef RUBY_PLATFORM
ifeq ($(RUBY_VER), 16)
RUBY_PLATFORM = i586-mswin32
else ifneq (X$(wildcard, 
$(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32), X)

RUBY_PLATFORM = i386-mingw32
else
RUBY_PLATFORM = i386-mswin32
endif
endif
---8---

If yours are the same try replacing that block with

---8---
ifndef RUBY_PLATFORM
ifeq ($(RUBY_VER), 16)
RUBY_PLATFORM = i586-mswin32
else
ifneq (X$(wildcard, $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32), X)
RUBY_PLATFORM = i386-mingw32
else
RUBY_PLATFORM = i386-mswin32
endif
endif
endif
---8---

(untested: break the line between else and ifneq and add an endif 
at the end of the block) and see if it makes a difference. (Note that 
the line containing the ifneq is quite long; the _next_ line sets 
RUBY_PLATFORM to i386-mingw32.)


Note: I'm not Bram, I don't use MinGW, and I can't even try it since I'm 
on Linux, so proceed with all due caution.



Best regards,
Tony.
--
Microsoft's definition of a boolean: TRUE, FALSE, MAYBE
Embrace and extend...?

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


Re: Make_ming.mak syntax error (P.S.)

2010-03-12 Fir de Conversatie Tony Mechelynck
P.S. see also the thread titled Cannot compile 7.2.394 on mingw 
started by Vlad Sandrini day before yesterday (by my clock, GMT+1), 
which contains a (supposedly slightly more correct, but not very 
different) patch by Dominique Pellé.


Best regards,
Tony.
--
... The name of the song is called 'Haddocks' Eyes'!
Oh, that's the name of the song, is it? Alice said, trying to
feel interested.
No, you don't understand, the Knight said, looking a little
vexed.  That's what the name is called.  The name really is, 'The Aged
Aged Man.'
Then I ought to have said That's what the song is called'?
Alice corrected herself.
No, you oughtn't:  that's quite another thing!  The song is
called 'Ways and Means':  but that's only what it is called you know!
Well, what is the song then? said Alice, who was by this time
completely bewildered.
I was coming to that, the Knight said.  The song really is
A-sitting on a Gate:  and the tune's my own invention.
-- Lewis Carroll, Through the Looking Glass

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


Re: Make_ming.mak syntax error

2010-03-12 Fir de Conversatie Dasn

On Sat, 13 Mar 2010 10:42:47 +0800, Tony Mechelynck wrote:


On 13/03/10 02:05, Dasn wrote:


Hello guys.

I am using mingw32 to build vim on WinXP

D:\src\vim7\srcmake -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for Windows32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to bug-m...@gnu.org.

D:\src\vim7\srcmake -f Make_ming.mak
Make_ming.mak:218: Extraneous text after `else' directive
Make_ming.mak:220: *** only one `else' per conditional. Stop.



What is your patchlevel? Several recent 7.2 patches were concerned with  
MinGW, including 352, 364, 365, 377, 387, 388 and maybe others; the  
current patchlevel (as of this writing) is 7.2.394.


See http://ftp.vim.org/pub/vim/patches/7.2/README for a table of  
contents of all Vim 7.2 patches to date.


I use the CVS repository, current patch level is 394.

--
Dasn

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