Patch 7.4.1738
Problem:    Count for ":messages" depends on number of lines.
Solution:   Add ADDR_OTHER address type.
Files:      src/ex_cmds.h


*** ../vim-7.4.1737/src/ex_cmds.h       2016-04-14 17:15:47.219835397 +0200
--- src/ex_cmds.h       2016-04-14 18:36:27.842245633 +0200
***************
*** 66,71 ****
--- 66,72 ----
  #define ADDR_BUFFERS          4
  #define ADDR_TABS             5
  #define ADDR_QUICKFIX         6
+ #define ADDR_OTHER            99
  
  #ifndef DO_DECLARE_EXCMD
  typedef struct exarg exarg_T;
***************
*** 887,893 ****
                        ADDR_LINES),
  EX(CMD_messages,      "messages",     ex_messages,
                        EXTRA|TRLBAR|RANGE|CMDWIN,
!                       ADDR_LINES),
  EX(CMD_mkexrc,                "mkexrc",       ex_mkrc,
                        BANG|FILE1|TRLBAR|CMDWIN,
                        ADDR_LINES),
--- 888,894 ----
                        ADDR_LINES),
  EX(CMD_messages,      "messages",     ex_messages,
                        EXTRA|TRLBAR|RANGE|CMDWIN,
!                       ADDR_OTHER),
  EX(CMD_mkexrc,                "mkexrc",       ex_mkrc,
                        BANG|FILE1|TRLBAR|CMDWIN,
                        ADDR_LINES),
*** ../vim-7.4.1737/src/version.c       2016-04-14 17:52:37.485263994 +0200
--- src/version.c       2016-04-14 18:42:29.430520837 +0200
***************
*** 750,751 ****
--- 750,753 ----
  {   /* Add new patch number below this line */
+ /**/
+     1738,
  /**/

-- 
The greatest lies of all time:
  (1) The check is in the mail.
  (2) We have a really challenging assignment for you.
  (3) I love you.
  (4) All bugs have been fixed.
  (5) This won't hurt a bit.
  (6) Honey, I just need to debug this program and be home in 5 minutes.
  (7) I have just sent you an e-mail about that.
  (8) Of course I'll respect you in the morning.
  (9) I'm from the government, and I'm here to help you.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui