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

806Re: patchmode truncates filename [carbon vim 6.1.184]

Expand Messages
  • Benji Fisher
    Nov 6, 2002
    • 0 Attachment
      Piet Delport wrote:

      > On Tue, 05 Nov 2002 at 11:29:59 -0500, R. Edward Ralston wrote:
      >
      > >"patchmode" appears to be munging long filenames.
      > >
      > >In your shell do:
      > >
      > > touch ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
      > >
      > >then
      > >
      > > vim -u NONE -U NONE ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
      > >
      > >once there, type some text, then
      > >
      > > :set patchmode=.originalfile
      > > :wq
      > >
      > >I then have the two files
      > >
      > > ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
      > > ABCDEFGHIJKLMNOPQRSTUVWXYZ.originalfile
      > >
      > >in the current directory.
      > >Shouln't that instead be
      > >
      > > ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt.originalfile
      > >
      > >???
      >
      >
      > I get the expected (latter) result here (FreeBSD, Vim 6.1, see the
      > message i posted just yesterday for my :ver).
      >
      >
      > >:ver
      > >VIM - Vi IMproved 6.1 (2002 Mar 24, compiled 09/23/02 08:30:39)
      > >MacOS X (unix) version
      >
      > [snip]
      >
      > From the way the extension gets munged, maybe MacOS X is responsible?
      > Does it only happen with "long" filenames?

      I see the same problem on Mac OSX. Yes, it only happens with long
      file names. Unless someone can reproduce this on another system, let's
      follow up on vim-mac but not vim-dev.

      --Benji Fisher
    • Show all 9 messages in this topic