Patch 8.2.0996
Problem:    Using "aucmdwin" in win_gettype() is not ideal.
Solution:   Rename to "autocmd".
Files:      runtime/doc/eval.txt, src/evalwindow.c,
            src/testdir/test_autocmd.vim


*** ../vim-8.2.0995/runtime/doc/eval.txt        2020-06-16 22:42:01.069306175 
+0200
--- runtime/doc/eval.txt        2020-06-17 21:31:07.459682516 +0200
***************
*** 10851,10857 ****
  
  win_gettype([{nr}])                                   *win_gettype()*
                Return the type of the window:
!                       "aucmdwin"      autocommand window. Temporary window
                                        used to execute autocommands.
                        "popup"         popup window |popup|
                        "preview"       preview window |preview-window|
--- 10866,10872 ----
  
  win_gettype([{nr}])                                   *win_gettype()*
                Return the type of the window:
!                       "autocmd"       autocommand window. Temporary window
                                        used to execute autocommands.
                        "popup"         popup window |popup|
                        "preview"       preview window |preview-window|
*** ../vim-8.2.0995/src/evalwindow.c    2020-06-16 22:42:01.069306175 +0200
--- src/evalwindow.c    2020-06-17 21:32:12.595484992 +0200
***************
*** 859,865 ****
        }
      }
      if (wp == aucmd_win)
!       rettv->vval.v_string = vim_strsave((char_u *)"aucmdwin");
  #if defined(FEAT_QUICKFIX)
      else if (wp->w_p_pvw)
        rettv->vval.v_string = vim_strsave((char_u *)"preview");
--- 859,865 ----
        }
      }
      if (wp == aucmd_win)
!       rettv->vval.v_string = vim_strsave((char_u *)"autocmd");
  #if defined(FEAT_QUICKFIX)
      else if (wp->w_p_pvw)
        rettv->vval.v_string = vim_strsave((char_u *)"preview");
*** ../vim-8.2.0995/src/testdir/test_autocmd.vim        2020-06-16 
22:42:01.069306175 +0200
--- src/testdir/test_autocmd.vim        2020-06-17 21:32:35.083417034 +0200
***************
*** 2592,2598 ****
    augroup END
  
    doautoall BufEnter
!   call assert_equal([['one.txt', 'aucmdwin'], ['two.txt', '']], g:blist)
  
    augroup aucmd_win_test
      au!
--- 2592,2598 ----
    augroup END
  
    doautoall BufEnter
!   call assert_equal([['one.txt', 'autocmd'], ['two.txt', '']], g:blist)
  
    augroup aucmd_win_test
      au!
*** ../vim-8.2.0995/src/version.c       2020-06-17 20:30:41.122168593 +0200
--- src/version.c       2020-06-17 21:32:54.811357507 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     996,
  /**/

-- 
LAUNCELOT: I am, sir. I am a Knight of King Arthur.
FATHER:    'Mm ... very nice castle, Camelot ... very good pig country....
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202006171942.05HJg7eQ186365%40masaka.moolenaar.net.

Raspunde prin e-mail lui