Loading ...
Sorry, an error occurred while loading the content.

Re: nobuflisted and :f

Expand Messages
  • Bram Moolenaar
    Now I remember why this doesn t happen for me: It s fixed by patch 6.1.122. ... -- ... /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net
    Message 1 of 5 , Oct 1, 2002
    • 0 Attachment
      Now I remember why this doesn't happen for me: It's fixed by patch
      6.1.122.

      Benji Fisher wrote:

      > Yiu Wing wrote:
      > > > Yiu Wing wrote:
      > > >
      > > > > When I setlocal the current buffer to be nobuflisted and then change its
      > > > > name with :f command, but later if I do a :ls the file that's meant to
      > > be
      > > > > nobuflisted shows up. Vim seems to make the new buff nobulisted, but
      > > not
      > > > > the old one. Is this the expected behaviour?
      > > >
      > > > I can't reproduce this. Can you give a sequence of commands that shows
      > > > the problem? Preferably starting with "vim -u NONE".
      > >
      > > I'm actually running GVIM6.0 on WinXP, here the begining of the dump for the
      > > :ver command
      > >
      > > VIM - Vi IMproved 6.0 (2001 Sep 26, compiled Sep 26 2001 17:12:46)
      > > MS-Windows 32 bit GUI version with OLE support
      > >
      > > I just tried "gvim.exe -u NONE" from the command line, and the problem still
      > > persists.
      >
      > I can confirm this on W95 with gvim 6.1 (unpatched).
      > <plug>I generated the following with the help of the :Echo command from foo.vim
      > (see VimOnline).</plug>
      >
      > ===
      > :ls
      > [snip]
      > 26 "E:\TeX\Classes\MC248\hw4.htm" line 1
      > 27 %a "bar.txt" line 1
      >
      > :setlocal nobuflisted
      >
      > :ls
      > [snip]
      > 26 "E:\TeX\Classes\MC248\hw4.htm" line 1
      >
      > :f foobar.txt
      > "foobar.txt" [Not edited] 1 line --100%--
      >
      > :ls
      > [snip]
      > 26 "E:\TeX\Classes\MC248\hw4.htm" line 1
      > 28 # "bar.txt" line 1
      > ===
      >
      > HTH --Benji Fisher

      --
      From "know your smileys":
      :-F Bucktoothed vampire with one tooth missing

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\
      \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
      \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.