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

Location List in result of buffers command

Expand Messages
  • Hiroaki Nishihara
    Hi, Under the condition that other tabs have [Location List]. [Location List] is indicated with [Quickfix List] in a result of a :buffers command. ...
    Message 1 of 2 , Mar 5 7:41 AM
    • 0 Attachment
      Hi,

      Under the condition that other tabs have [Location List].
      [Location List] is indicated with [Quickfix List] in a result of a ":buffers" command.


      *** ../vim-7.1.265/src/buffer.c 2008-03-04 23:42:41.000000000 +0900
      --- buffer.c 2008-03-04 23:43:31.000000000 +0900
      ***************
      *** 5034,5045 ****
      if (bt_quickfix(buf))
      {
      win_T *win;

      /*
      * For location list window, w_llist_ref points to the location list.
      * For quickfix window, w_llist_ref is NULL.
      */
      ! FOR_ALL_WINDOWS(win)
      if (win->w_buffer == buf)
      break;
      if (win != NULL && win->w_llist_ref != NULL)
      --- 5034,5046 ----
      if (bt_quickfix(buf))
      {
      win_T *win;
      + tabpage_T *tp;

      /*
      * For location list window, w_llist_ref points to the location list.
      * For quickfix window, w_llist_ref is NULL.
      */
      ! FOR_ALL_TAB_WINDOWS(tp, win)
      if (win->w_buffer == buf)
      break;
      if (win != NULL && win->w_llist_ref != NULL)



      Best regards,

      Hiroaki Nishihara

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Bram Moolenaar
      ... Thanks for fixing this! -- From know your smileys : +
      Message 2 of 2 , Mar 5 1:27 PM
      • 0 Attachment
        Hiroaki Nishihara wrote:

        > Under the condition that other tabs have [Location List].
        > [Location List] is indicated with [Quickfix List] in a result of a
        > ":buffers" command.

        Thanks for fixing this!

        --
        From "know your smileys":
        +<(:-) The Pope

        /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
        /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
        \\\ download, build and distribute -- http://www.A-A-P.org ///
        \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

        --~--~---------~--~----~------------~-------~--~----~
        You received this message from the "vim_dev" maillist.
        For more information, visit http://www.vim.org/maillist.php
        -~----------~----~----~----~------~----~------~--~---
      Your message has been successfully submitted and would be delivered to recipients shortly.