<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>102252</bug_id>
          
          <creation_ts>2005-08-12 08:31 0000</creation_ts>
          <short_desc>vim-core-6.3.084-r1 includes netrw for vim7, showing an error message when viewing directories</short_desc>
          <delta_ts>2005-08-12 15:48:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>truedfx@gentoo.org</reporter>
          <assigned_to>vim@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2005-08-12 08:31:53 0000</bug_when>
            <thetext>When viewing directories with vim 6.3.084 / vim-core 6.3.084-r1, a confusing
error message about trailing characters shows up. This is because the updated
netrw.vim uses the keepalt command, which does not exist in vim 6.

Reproducible: Always
Steps to Reproduce:
1. vim .
Actual Results:  
Error detected while processing function &lt;SNR&gt;19_LocalBrowse:
line   91:
E488: Trailing characters
Hit ENTER or type command to continue

After this, the directory shows up correctly.

Expected Results:  
Show the current directory without any error messages.

LocalBrowse line 91 (/usr/share/vim/vim63/plugin/netrw.vim line 2153) is &quot; 
keepalt silent! %d&quot;

vim7/runtime/doc/version7.txt (from vim-core-7.0_alpha20050809) mentions keepalt
as one of the changes between vim 6 and vim 7.

% emerge -pv vim-core vim

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-editors/vim-core-6.3.084-r1  +acl -bash-completion -livecd
+nls (-selinux) -termcap-compat 0 kB 
[ebuild   R   ] app-editors/vim-6.3.084  +acl -bash-completion -cscope -debug
-gpm -minimal +nls -perl -python -ruby (-selinux) -termcap-compat -vim-with-x 0 kB 

Total size of downloads: 0 kB</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2005-08-12 08:35:12 0000</bug_when>
            <thetext>*** Bug 102253 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ciaran.mccreesh@googlemail.com</who>
            <bug_when>2005-08-12 08:53:09 0000</bug_when>
            <thetext>Bleh. That netrw snapshot is supposed to work with both 6.3 and 7. Looks like
it&apos;s fixed in -60 though:

   if v:version &lt; 700
    exe &quot;file &quot;.fname
   else
    keepalt exe &quot;file &quot;.fname
   endif

Guess we need an -r2 with a further updated netrw snapshot...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ciaran.mccreesh@googlemail.com</who>
            <bug_when>2005-08-12 15:48:41 0000</bug_when>
            <thetext>6.3.084-r2. Thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>