Hi John!

On Do, 08 Mai 2014, John Sivak wrote:

> On Wednesday, May 7, 2014 8:39:04 AM UTC-4, Bram Moolenaar wrote:
> > Patch 7.4.275
> > 
> > Problem:    When changing the type of a sign that hasn't been placed ther is
> > 
> >         no error message.
> > 
> > Solution:   Add an error message. (Christian Brabandt)
> > 
> > Files:          src/ex_cmds.c
> 
> Since building vim with this patch I'm seeing the following errors from 
> plugins ShowMarks and Markology:
> 
> using ShowMarks:
> Error detected while processing functin <SNR>46_ShowMarks:
> line 39:
> E885: Not possible to change sign ShowMark0
> 
> using Markology:
> Error detected while processing function <SNR>127_Markology
> line 46:
> E885: Not possible to change sign ShowMark0
> 
> In the showmarks.vim script, line 39 in function seems to be:
> 
> exe 'sign place '.id.' name=ShowMark'.nm.' line='.ln.' buffer='.winbufnr(0)
> 
> 
> My question is: do the plugins just need to be updated to not try to set 
> unplaced signs/marks, or is patch 275 overly verbose when warning about 
> unplaced signs/marks?

I bet, ln=0 in that particular case, in which case Vim will try to 
change the marks (rather than adding them).

So I think, those plugins need to be updated, since in that particular 
case, Vim didn't do anything useful before. It's just complaining now.

Best,
Christian

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui