Sunday, June 2, 2019

Re: :help :check inconsistent with :check

On Sunday, June 2, 2019 at 1:54:53 PM UTC+12, Tony Mechelynck wrote:
> for this, line 827 of doc/tagsrch.txt would have had to be:
> *che* *chec* *check* *checkp* *checkpa* *checkpat* *checkpath*
> instead of just the first and last ones of these; similarly for _all_
> other ex-commands, which I believe would have made the doc/tags file
> much bigger.

Extra tags would only be needed where there's ambiguity. I compiled a list; the middle column is what you get if you type the given at the : command prompt, and the third column is the topic you get if you ask for help for the given:

given | : | :help :
--------+--------------+-------------
arg | args | arga
bre | brewind | break
cab | cabbrev | cabclear
cadd | caddbuffer | caddexpr
chec | checkpath | checktime
cne | cnext | cnewer
cnor | cnoremap | cnoreabbrev
cun | cunmap | cunabbrev
diff | diffupdate | diffget
doaut | doautocmd | doautoall
end | endif | endfunction
folddo | folddopen | folddoc
inor | inoremap | inoreabbrev
keep | keepmarks | keepalt
ladd | laddbuffer | laddexpr
lfi | lfile | lfirst
lge | lgetfile | lgetbuffer
lma | lmap | lmake
lock | lockmarks | lockvar
mkvi | mkvimrc | mkview
sfi | sfind | sfirst
snore | snoremap | snoremenu
ver | version | verbose

One or two extra tags for each of these is not going to significantly add to vim's 10,000 or so.

> :help :check<Tab> (with 'wildmenu' on) or :help :check<Ctrl-D> would
> have shown you all helptags beginning with :check

How would I have known to do that, when I did not know that there might be another command starting with "check"? I use the help when I don't know stuff, that's the point of it.

Regards, John Little

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ffb53d57-66be-413a-a978-20a05f48c19a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: