[Vim-l] Template:Help - Alternatives
Sebastian Menge
sebastian.menge at uni-dortmund.de
Wed Jun 27 12:08:26 UTC 2007
On Wed, 27 Jun 2007, John Beckett wrote:
> Sebastian Menge wrote:
>> the urlencoding works great as it is.
>
> Please think this over some more. It's just a fact of life that
> a CGI query SHOULD be urlencoded.
>
> Here is an example where urlencoding is essential:
>
> For ":help :set-&vim", the help link would be:
>
> http://vimplugin.sourceforge.net/cgi-bin/help?tag=:set-&vim
>
You are right, sorry if i was offending. So if the query should be
urlencoded, the help template had to do it when calling the help-script.
In the script itself, we must suppose the data is correct.
> It's hard to know whether it would be better to:
> - Ignore case and be wrong for ":help ze" and a few more. -or-
> - Be case sensitive, and fail when wrong case is entered.
That's right too, we need to imitate the exact behavior of :help, but i
am too lazy to dive in vims source code. I have sent a mail to vim-dev
in the hope someone there will explain the behavior. But the lists are
down, so there will be no reply for unknown time. :-/
Sebastian.
More information about the Vim-l
mailing list