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

Re: Name of the buffer changes to [Scratch] (bug?)

Expand Messages
  • Douglas L . Potts
    ... I m using Solaris 8, and I can t reproduce it here either. -Doug -- *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Douglas L.
    Message 1 of 4 , Oct 28, 2002
    • 0 Attachment
      On Sun, Oct 27, 2002 at 12:18:35PM -0800 Yegappan Lakshmanan wrote:
      > --- Bram Moolenaar <Bram@...> wrote:
      > >
      > > Yegappan Lakshmanan wrote:
      > >
      > > > I have the following function to mark a buffer as a scratch buffer:
      > > >
      > > > function! MarkScratchBuffer()
      > > > silent! setlocal buftype=nofile
      > > > silent! setlocal bufhidden=delete
      > > > silent! setlocal noswapfile
      > > > silent! setlocal nowrap
      > > > silent! setlocal buflisted
      > > > endfunction
      > > >
      > > > After sourcing the above function, execute the following sequence
      > > > of commands:
      > > >
      > > > :e Test
      > > > :call MarkScratchBuffer()
      > > > " The name of the buffer is Test
      > > > :enew
      > > > :b Test
      > > > :call MarkScratchBuffer()
      > > > " The name of the buffer is Test
      > > > :enew
      > > > :cd <someotherdirectory>
      > > > :b Test
      > > > :call MarkScratchBuffer()
      > > > " The name of the buffer is [Scratch]
      > > >
      > > > The name of the buffer changes from "Test" to "[Scratch]"
      > > > after the last call to "MarkScratchBuffer()". Is this a bug?
      > >
      > > It doesn't happen for me. Anything else that interferes?
      > >
      >
      > I am using Vim 6.1.232 on a Solaris system. I am starting Vim with
      > "-N -u NONE -U NONE" to rule out any of my local settings.
      >
      > I tried the above on a MS-Windows system and this didn't happen.
      > May be this problem happens only in specific operating systems (Unix)?
      > Anybody else using Vim on a Solaris system?

      I'm using Solaris 8, and I can't reproduce it here either.

      -Doug

      --
      *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
      Douglas L. Potts
      "For large projects, Team Leaders use sophisticated project management
      software to keep track of who's doing what. The software collects the
      lies and guesses of the project team and organizes them in to instantly
      outdated charts that are too boring to look at closely. This is called
      'planning'." -(Scott Adams - The Dilbert principle)
      GPG Fingerprint: 768A EEF8 197A 4C9A 5EF7 DA5B 464C 97DF DCD5 68C2
      *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Your message has been successfully submitted and would be delivered to recipients shortly.