To: vim_dev@googlegroups.com Subject: Patch 9.0.0835 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0835 Problem: The window title is not redrawn when 'endoffile' changes. Solution: redraw the window title when 'endoffile' is changed. (Ken Takata, closes #11488) Files: src/option.c *** ../vim-9.0.0834/src/option.c 2022-10-15 16:04:43.998187220 +0100 --- src/option.c 2022-11-05 18:25:08.127252310 +0000 *************** *** 2833,2850 **** # endif redraw_titles(); } ! // when 'endofline' is changed, redraw the window title ! else if ((int *)varp == &curbuf->b_p_eol) ! { ! redraw_titles(); ! } ! // when 'fixeol' is changed, redraw the window title ! else if ((int *)varp == &curbuf->b_p_fixeol) ! { ! redraw_titles(); ! } ! // when 'bomb' is changed, redraw the window title and tab page text ! else if ((int *)varp == &curbuf->b_p_bomb) { redraw_titles(); } --- 2833,2844 ---- # endif redraw_titles(); } ! // redraw the window title and tab page text when 'endoffile', 'endofline', ! // 'fixeol' or 'bomb' is changed ! else if ((int *)varp == &curbuf->b_p_eof ! || (int *)varp == &curbuf->b_p_eol ! || (int *)varp == &curbuf->b_p_fixeol ! || (int *)varp == &curbuf->b_p_bomb) { redraw_titles(); } *** ../vim-9.0.0834/src/version.c 2022-11-05 15:13:45.419365585 +0000 --- src/version.c 2022-11-05 18:27:40.239315163 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 835, /**/ -- Far back in the mists of ancient time, in the great and glorious days of the former Galactic Empire, life was wild, rich and largely tax free. Mighty starships plied their way between exotic suns, seeking adventure and reward among the furthest reaches of Galactic space. In those days, spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri. And all dared to brave unknown terrors, to do mighty deeds, to boldly split infinitives that no man had split before -- and thus was the Empire forged. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// 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 ///