2012-09-25 Tony Mechelynck <antoine.mechelynck@gmail.com>:
> I don't know; but the first line is what magically appears under ":help
> local-additions" as if it were part of $VIMRUNTIME/help.txt
This might be unrelated to my initial problem, but most custom files
appear on the list, but some don't. After some testing I found out
that a file that starts with the same string as another file gets
ignored. However, I didn't quite get the algorithm when a file is
included in the local-additions list and when it's ignored.
Some examples:
alpha-beta.txt
alpha-be.txt
alpha-gamma
alphabeta.txt
alphabe.txt
alphagamma.txt
running :helptags on these and checking the :h local-additions list,
only the following files show up
alpha-beta.txt
alpha-gamma
alphabeta.txt
alphagamma.txt
alpha-be.txt and alphabe.txt get ignored. Why?
> Since help.txt must all be in a single encoding (but US-ASCII, Latin1
> and UTF-8, and many others, all have identical representations for
> codepoints U+0000 to U+007F), it comes to reason that the first lines of
> all "locally added" help files must be in a "compatible" encoding. For
> instance on a zOS EBCDIC system they would, I suppose, be all in some
> EBCDIC encoding, and compatible with each other but not with ASCII.
All my files are either ASCII or UTF-8.
Marco
--
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
Tuesday, September 25, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment