[patch] Netrw error when the clipboard feature is disabled

234 views
Skip to first unread message

Ken Takata

unread,
Jan 27, 2014, 10:40:20 AM1/27/14
to vim...@googlegroups.com
Hi Charles,

I got the following error with netrw v150 when I changed the directory:

Error detected while processing function <SNR>40_NetrwBrowseChgDir..<SNR>40_NetrwOptionRestore:
line 69:
E354: Invalid register name: '*'

It occurs when the clipboard feature is disabled (-clipboard).
Attached patch seems to fix this.

Regards,
Ken Takata

fix-netrw-error-without-clipboard.patch

Charles E Campbell

unread,
Jan 28, 2014, 11:48:25 AM1/28/14
to vim...@googlegroups.com
Hello!

Thank you for catching this problem, bringing it to my attention, and
providing a patch. Actually, I found a number of places that could use
a has("clipboard") check, although all but the one you found were
silenced. I've attached a "not-released" version of netrw (v151a);
please let me know how it works for you. I've never used a
non-clipboard vim, myself.

Regards,
Chip Campbell

netrw.vba.gz

Charles E Campbell

unread,
Jan 28, 2014, 12:04:04 PM1/28/14
to vim...@googlegroups.com
Sorry, everyone -- please, send me emails concerning plugins that I've
written instead of spamming the list. Sometimes results in my spamming
the list if I don't notice in time that the email was sent to all rather
than to me.

Regards,
C Campbell

Ken Takata

unread,
Jan 29, 2014, 8:47:05 AM1/29/14
to vim...@googlegroups.com
Hi,

2014/1/29 Wed 1:48:25 UTC+9 DrChip wrote:
> Thank you for catching this problem, bringing it to my attention, and
> providing a patch. Actually, I found a number of places that could use
> a has("clipboard") check, although all but the one you found were
> silenced. I've attached a "not-released" version of netrw (v151a);
> please let me know how it works for you. I've never used a
> non-clipboard vim, myself.

I tested the new version. It works fine.
Thank you!

> Sorry, everyone -- please, send me emails concerning plugins that I've
> written instead of spamming the list. Sometimes results in my spamming
> the list if I don't notice in time that the email was sent to all rather
> than to me.

Okay, I'll do so next time.

Regards,
Ken Takata

Reply all
Reply to author
Forward
0 new messages