Re: Showmarks complaint

2015-06-03 Thread Tim Johnson
* Christian Brabandt cbli...@256bit.org [150603 13:59]:
 Hi Tim!
 
 On Mi, 03 Jun 2015, Tim Johnson wrote:
 
  Hello :
  Using vim 7.4, non-gui mode on Mac OS X, installed by Macports.
  I think this was a recent upgrade (didn't monitor macport full
  upgrade closely).
  
  Now I'm getting messages like :
  Error detected while processing function SNR60_ShowMarks:
  
  A quick google shows similar issues but seemed linked to older, out
  of sync versions of showmarks.vim. I'm not finding a version newer
  than 2.2, which is what I have.
  
  Any ideas?
  thanks
 
 The actual error message could help ;)
 
 Also you might want to ask the author of the plugin and check, you are 
 using the latest version of the plugin.
  The full error message is as follows:

  Error detected while processing function SNR60_ShowMarks:
  line   39:

  However, in the short time between my OP and your kind reply, I
  started seeing more error messages. Being a bit short of time, I
  roll backed to the previous version, which is stable and does all
  that I need it to.

  If I don't see a second upgrade in a few weeks, I'll revisit the
  issue by going back to the latest version and trouble-shoot it.

  Thanks for the reply
  cheers
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com

-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Showmarks complaint

2015-06-03 Thread Tim Johnson
Hello :
Using vim 7.4, non-gui mode on Mac OS X, installed by Macports.
I think this was a recent upgrade (didn't monitor macport full
upgrade closely).

Now I'm getting messages like :
Error detected while processing function SNR60_ShowMarks:

A quick google shows similar issues but seemed linked to older, out
of sync versions of showmarks.vim. I'm not finding a version newer
than 2.2, which is what I have.

Any ideas?
thanks
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com

-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Showmarks complaint

2015-06-03 Thread Christian Brabandt
Hi Tim!

On Mi, 03 Jun 2015, Tim Johnson wrote:

 Hello :
 Using vim 7.4, non-gui mode on Mac OS X, installed by Macports.
 I think this was a recent upgrade (didn't monitor macport full
 upgrade closely).
 
 Now I'm getting messages like :
 Error detected while processing function SNR60_ShowMarks:
 
 A quick google shows similar issues but seemed linked to older, out
 of sync versions of showmarks.vim. I'm not finding a version newer
 than 2.2, which is what I have.
 
 Any ideas?
 thanks

The actual error message could help ;)

Also you might want to ask the author of the plugin and check, you are 
using the latest version of the plugin.

Best,
Christian
-- 
Kommt 'ne schwangere Frau zum Bäcker: Ich bekomm' ein Graubrot.
Antwortet der Bäcker: Na, da wird sich Ihr Mann aber wundern.

-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Documentation on space

2015-06-03 Thread Christian Brabandt
Hi Tim!

On Di, 02 Jun 2015, Tim Chase wrote:

 Just noticed this evening that the documentation for
 
   :help space
 
 doesn't distinguish between l, right, and space.  However, at
 the end of a line (if 'nocp' is set) space will proceed to the
 first character on the subsequent line while l and right don't.
 To repeat,
 
   $ vim -u NONE -c set nocp multiline_example.txt
 
 then $ to get to the end of a line.  Try l and right, noticing
 they don't do anything.  Try space and it takes you to the next
 line.
 
 Should the documentation be updated to reflect that difference?

That behaviour depends on the 'whichwrap' option. 

This patch adds a link to the 'whichwrap' option.

diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -172,6 +172,8 @@ CTRL-H  or  
*CTRL-H* *BS*
 l  or  *l*
 Rightor  *Right* 
*Space*
 Space[count] characters to the right.  |exclusive| 
motion.
+   See 'whichwrap' option for adjusting behaviour on
+   end of line

*0*
 0  To the first character of the line.  |exclusive|


Best,
Christian
-- 
Je vornehmer einer ist, desto höflicher behandelt er den Niedrigen.
-- Ludwig Börne

-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: regexpengine...and doing compatibility well (tnx!)

2015-06-03 Thread Christian Brabandt
Hi L.!

On Di, 02 Jun 2015, L. A. Walsh wrote:

 Is the new regexp being written in C++?
 The newer versions do pretty well w/efficiency...

It's written in C

Best,
Christian
-- 
Ein Mensch in einer fremden Stadt fragt:
  Wissen Sie, wo es zum Bahnhof geht?
Psychoanalytiker: Sie meinen diese dunkle Höhle, wo immer was
langes rein- und rausfährt?

-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Execute command on multiple ranges found by regex

2015-06-03 Thread Tim Chase
On 2015-06-03 16:03, BPJ wrote:
 You can define a range with regular expression(s) like:
 
  :/^beginfoo/+1,/^endfoo/-1!somefilter
 
 However if there are multiple ranges which would match only the 
 next one is filtered.
 
 Can you make Vim apply the command to all matching ranges 
 throughout the buffer in one go?  I'm sure there is some easy 
 solution I can't find...

The :g command can use a range before its command, so you could do
something like

  :g/^beginfoo/+,/^endfoo/-!somefilter

(I'm using the shorthand of + == +1 and - == -1)

I love this esoteric/underused corner of Vim and it's saved me
countless hours of work since I learned about it.

-tim





-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Execute command on multiple ranges found by regex

2015-06-03 Thread BPJ

You can define a range with regular expression(s) like:

:/^beginfoo/+1,/^endfoo/-1!somefilter

However if there are multiple ranges which would match only the 
next one is filtered.


Can you make Vim apply the command to all matching ranges 
throughout the buffer in one go?  I'm sure there is some easy 
solution I can't find...


/bpj

--
--
You received this message from the vim_use 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_use group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Showmarks complaint

2015-06-03 Thread Mun
Hi Tim,

On Wed, Jun 03, 2015 at 02:44 PM PDT, Tim Johnson wrote:
TJ Hello :
TJ Using vim 7.4, non-gui mode on Mac OS X, installed by Macports.
TJ I think this was a recent upgrade (didn't monitor macport full
TJ upgrade closely).
TJ 
TJ Now I'm getting messages like :
TJ Error detected while processing function SNR60_ShowMarks:

I notified the author back in Sept 2014 regarding a problem documented
in the following link.  It's probably the same thing you're
experiencing:

https://groups.google.com/forum/#!topic/vim_dev/7NLT2Z0_V5s

The author replied that he would look into it; but he's probably been
swamped with other duties and hasn't been able to update showmarks yet.

Regards,

-- 
Mun


TJ A quick google shows similar issues but seemed linked to older, out
TJ of sync versions of showmarks.vim. I'm not finding a version newer
TJ than 2.2, which is what I have.
TJ 
TJ Any ideas?
TJ thanks
TJ -- 
TJ Tim 
TJ http://www.akwebsoft.com, http://www.tj49.com
TJ 
TJ -- 
TJ -- 
TJ You received this message from the vim_use maillist.
TJ Do not top-post! Type your reply below the text you are replying to.
TJ For more information, visit http://www.vim.org/maillist.php
TJ 
TJ --- 
TJ You received this message because you are subscribed to the Google Groups 
vim_use group.
TJ To unsubscribe from this group and stop receiving emails from it, send an 
email to vim_use+unsubscr...@googlegroups.com.
TJ For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the vim_use 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_use group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.