Patch 8.2.5001

4 views
Skip to first unread message

Bram Moolenaar

unread,
May 22, 2022, 10:29:30 AM5/22/22
to vim...@googlegroups.com

Patch 8.2.5001
Problem: Checking translations affects the search pattern history.
Solution: Use "keeppatterns". (Doug Kearns)
Files: src/po/check.vim


*** ../vim-8.2.5000/src/po/check.vim 2020-08-30 18:42:02.949565997 +0100
--- src/po/check.vim 2022-05-22 15:26:08.998368408 +0100
***************
*** 38,44 ****
" Start at the first "msgid" line.
let wsv = winsaveview()
1
! /^msgid\>

" When an error is detected this is set to the line number.
" Note: this is used in the Makefile.
--- 38,44 ----
" Start at the first "msgid" line.
let wsv = winsaveview()
1
! keeppatterns /^msgid\>

" When an error is detected this is set to the line number.
" Note: this is used in the Makefile.
***************
*** 101,107 ****

" Find next msgid. Quit when there is no more.
let lnum = line('.')
! silent! /^msgid\>
if line('.') == lnum
break
endif
--- 101,107 ----

" Find next msgid. Quit when there is no more.
let lnum = line('.')
! silent! keeppatterns /^msgid\>
if line('.') == lnum
break
endif
***************
*** 134,140 ****
" Check that the \n at the end of the msgid line is also present in the msgstr
" line. Skip over the header.
1
! /^"MIME-Version:
while 1
let lnum = search('^msgid\>')
if lnum <= 0
--- 134,140 ----
" Check that the \n at the end of the msgid line is also present in the msgstr
" line. Skip over the header.
1
! keeppatterns /^"MIME-Version:
while 1
let lnum = search('^msgid\>')
if lnum <= 0
*** ../vim-8.2.5000/src/version.c 2022-05-22 14:48:26.371247286 +0100
--- src/version.c 2022-05-22 15:28:01.974330778 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5001,
/**/

--
hundred-and-one symptoms of being an internet addict:
262. Your computer has it's own phone line - but your daughter doesn't.

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages