On Fri, Nov 1, 2019 at 7:47 PM Bram Moolenaar <[email protected]> wrote:
> Patch 8.1.2238
> Problem:    Error in docs tags goes unnoticed.
> Solution:   Adjust tags build command. (Ken Takata, closes #5158)
> Files:      Filelist, .travis.yml, runtime/doc/Makefile,
>             runtime/doc/doctags.vim

Error (ignored) during "make install", as follows:

cd ../runtime/doc; if test -z "" -a -f tags; then \
        mv -f tags tags.dist; fi
generating help tags
make[1]: Entering directory '/root/.build/vim/vim-hg/runtime/doc'
/usr/local/bin/vim -eX -u doctags.vim
Error detected while processing /root/.build/vim/vim-hg/runtime/doc/doctags.vim:
line    5:
E154: Duplicate tag "gm" in file ./motion.txt
.................. here a lot of empty lines ........................
make[1]: *** [Makefile:326: vimtags] Error 1
make[1]: Leaving directory '/root/.build/vim/vim-hg/runtime/doc'
make: [Makefile:2368: installrtbase] Error 2 (ignored)


I propose the attached patch to fix this problem.


Best regards,
Tony.

-- 
-- 
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/CAJkCKXvOihETq_kVyykw0vfi4yiFEt2t3XTgD%3DrwkQuR3kU7Dw%40mail.gmail.com.
# HG changeset patch
# Parent  052976d32438aafbd89d4a09bedf42d97f5f0391
remove duplicate tag "gm" in motion.txt

diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -222,17 +222,17 @@ g^			When lines wrap ('wrap' on): To the
 			non-blank character of the current line that is on the
 			screen.  Differs from "^" when the first non-blank
 			character of the line is not on the screen.
 
 							*gm*
 gm			Like "g0", but half a screenwidth to the right (or as
 			much as possible).
 
-							*gm* *gM*
+							*gM*
 gM			Like "g0", but to halfway the text of the line.
 			With a count: to this percentage of text in the line.
 			Thus "10gM" is near the start of the text and "90gM"
 			is near the end of the text.
 
 							*g$* *g<End>*
 g$ or g<End>		When lines wrap ('wrap' on): To the last character of
 			the screen line and [count - 1] screen lines downward

Raspunde prin e-mail lui