To: vim_dev@googlegroups.com Subject: Patch 8.2.3797 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3797 Problem: No good reason to limit the message history in the tiny version. Solution: Always use 200. Files: runtime/doc/message.txt, src/feature.h *** ../vim-8.2.3796/runtime/doc/message.txt 2021-10-24 20:34:01.426895140 +0100 --- runtime/doc/message.txt 2021-12-13 14:39:36.422770587 +0000 *************** *** 29,36 **** Clear messages, keeping only the {count} most recent ones. ! The number of remembered messages is fixed at 20 for the tiny version and 200 ! for other versions. *g<* The "g<" command can be used to see the last page of previous command output. --- 29,35 ---- Clear messages, keeping only the {count} most recent ones. ! The number of remembered messages is fixed at 200. *g<* The "g<" command can be used to see the last page of previous command output. *** ../vim-8.2.3796/src/feature.h 2021-12-13 13:11:00.688262353 +0000 --- src/feature.h 2021-12-13 14:36:59.586387053 +0000 *************** *** 32,38 **** * ============== * * +tiny almost no features enabled, not even multiple windows ! * +small few features enabled, as basic as possible * +normal A default selection of features enabled * +big many features enabled, as rich as possible. * +huge all possible features enabled. --- 32,38 ---- * ============== * * +tiny almost no features enabled, not even multiple windows ! * +small as tiny plus cmdline window * +normal A default selection of features enabled * +big many features enabled, as rich as possible. * +huge all possible features enabled. *************** *** 120,132 **** */ /* ! * Message history is fixed at 200 message, 20 for the tiny version. */ ! #ifdef FEAT_SMALL ! # define MAX_MSG_HIST_LEN 200 ! #else ! # define MAX_MSG_HIST_LEN 20 ! #endif #if defined(FEAT_SMALL) # define FEAT_CMDWIN --- 120,128 ---- */ /* ! * Message history is fixed at 200 messages. */ ! #define MAX_MSG_HIST_LEN 200 #if defined(FEAT_SMALL) # define FEAT_CMDWIN *** ../vim-8.2.3796/src/version.c 2021-12-13 14:26:40.996627748 +0000 --- src/version.c 2021-12-13 14:40:17.226849534 +0000 *************** *** 751,752 **** --- 751,754 ---- { /* Add new patch number below this line */ + /**/ + 3797, /**/ -- Apparently, 1 in 5 people in the world are Chinese. And there are 5 people in my family, so it must be one of them. It's either my mum or my dad. Or my older brother Colin. Or my younger brother Ho-Cha-Chu. But I think it's Colin. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///