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

32347Re: [PATCH] 6.2b Multiple syntax views, conceal, cursorbind

Expand Messages
  • Walter Briscoe
    May 2, 2003
    • 0 Attachment
      In message <35C843B8EC93D511844500306E0029B349759C@...-
      electronics.co.uk> of Thu, 1 May 2003 08:31:31 in , Vince Negri
      <vnegri@...> writes
      >> The latest release of the combined patch, against
      >6.2b sources (as obtained from CVS) is
      >> available here:
      >>
      >> http://www.bulbous.freeserve.co.uk/conceal-ownsyntax-62b.diff.gz
      >>
      >New in this version is an improvement to "cursorbind"
      >which makes it work better in diff mode. If you
      >cursorbind two diff windows, then as you move through
      >one file the cursor position in the other is updated
      >to the logically equivalent line, i.e. taking
      >insertions/deletions into account.
      If this is what I think it is, I say WOW!! Almost as much of an
      enhancement as vim -d when that happened.

      Boring detail. I get vim from ftp. I hit the following discrepancies
      with a plain vanilla vim62b.
      C:\wfb\vim\bld> rename vim62b 3vim62b

      C:\wfb\vim\bld> vim /wfb/bin/makevim.bat

      C:\wfb\vim\bld> makevim 6.2b
      Unpacking archives

      C:\wfb\vim\bld> cd vim62b

      C:\wfb\vim\bld\vim62b> gzip -cd c:\wfb\url\http\www.bulbous.freeserve.co.uk\conceal-ownsyntax-62b.diff.gz | patch --binary -p 0 -b
      patching file src/buffer.c
      [snipped successful messages]
      patching file runtime/doc/eval.txt
      Hunk #1 succeeded at 463 (offset 4 lines).
      patching file runtime/doc/options.txt
      Hunk #1 succeeded at 1471 (offset 79 lines).
      Hunk #2 succeeded at 2862 (offset 49 lines).
      Hunk #3 succeeded at 2924 (offset 79 lines).
      Hunk #4 FAILED at 3621.
      1 out of 4 hunks FAILED -- saving rejects to file runtime/doc/options.txt.rej
      patching file runtime/doc/syntax.txt
      Hunk #2 succeeded at 2453 (offset 228 lines).
      Hunk #3 succeeded at 2518 (offset 1 line).
      Hunk #4 succeeded at 3501 (offset 228 lines).
      Hunk #5 succeeded at 3533 with fuzz 1 (offset 3 lines).
      patching file runtime/optwin.vim

      C:\wfb\vim\bld\vim62b>

      I hit the following diagnostics with
      nmake /f make_ivc.mak cfg="Vim - Win32 Debug vim"

      cl.exe /nologo /MT /W3 /GX /I ".\proto" /D "WIN32" /c /Zi /Od /D "_DEBUG" /Fd.\Dbg/ /Fo.\Dbg/ .\move.c
      move.c
      .\move.c(2819) : warning C4013: 'diff_get_corresponding_line' undefined; assuming extern returning int

      link.exe oldnames.lib ...
      move.obj : error LNK2001: unresolved external symbol _diff_get_corresponding_line
      .\vimd.exe : fatal error LNK1120: 1 unresolved externals
      NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
      Stop.

      C:\wfb\vim\bld\vim62b\src> grep diff_get_corresponding_line *.c
      move.c: = diff_get_corresponding_line(old_curbuf,

      C:\wfb\vim\bld\vim62b\src>

      No coconut yet!
      --
      Walter Briscoe
    • Show all 3 messages in this topic