When I start gvimdiff, sometimes it doesn't do folding in the second,
right hand window.

For example, the following was obtained by copying ~/vim/src/option.c
to ~/x.c, then editing x.c (with -u NONE) with normal =G and saving to
y.c, then running

    gvimdiff -u NONE -U NONE -i NONE x.c y.c

then using the mouse to narrow the windows somewhat (to avoid google
groups' wrapping of text):

+ +--239 lines: vi:set ts|  /* vi:set ts=8 sts=4 sw=4:
  #define PV_WRAP        |   *
                         |   * VIM - Vi IMproved    by
                         |   *
  /* WV_ and BV_ values g|   * Do ":help uganda"  in Vi
  typedef enum           |   * Do ":help credits" in Vi
  {                      |   * See README.txt for an ov
      PV_NONE = 0,       |   */
      PV_MAXVAL = 0xffff |
  } idopt_T;             |  /*
                         |   * Code to handle user-sett
  /*                     |   * driven. Checklist for ad
   * Options local to a w|   * - Put it in the options
   * buffers.  Indicate t|   * - For a global option: A
   */                    |   * - For a buffer or window
+ +--119 lines: #define V|   *   - Add a PV_XX entry to
  static long     p_wm_no|   *   - Add a variable to th
  static long     p_sts_n|   *   - For a window option,
  static int      p_ai_no|   *   - For a buffer option,

Sometimes, the right hand window is one big fold:

+ +--239 lines: vi:set ts=8 sts=4 sw=4:-|+ +--10943 lines: vi:set ts=8
sts=4 sw
  #define PV_WRAP         OPT_WIN(WV_WRA|  ~

Using vimdiff does not show the problem.  For a while, failures were
about twice successes, but then I had a burst of 10 failures.

This is 7.2.35, Kubuntu Karmic Huge version with GTK2-GNOME GUI.

Any light? Regards, John

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to