On Jul 14, 2013 9:36 PM, "Tony Mechelynck" <[email protected]>
wrote:
>
> On 07/14/13 17:40, glts wrote:
>>
>> Hi list,
>>
>> sent this to the maintainer in May. Now resending an updated patch to
>> the list. I removed some mistaken keywords from the vimCommand syntax
>> group, namely:
>>
>> DiffOrig
>> Man
>> Ren
>> TOhtml
>> XMLent
>> XMLns
>> bar
>> browseset
>> c
>> cmdname
>> comment
>> count
>> dwim
>> emenu*
>> errormsg
>> filename
>> get
>> index
>> let@
>> locale
>> mkdir
>> mv
>> nkf
>> quote
>> s@\n@\=\r"
>> star
>> synlist
>> xterm
>>
>> Please check.
>>
>> Some of the false positives are pretty strange, so I'd say it is perhaps
>> not the best idea to mine these keywords directly from the help files.
>> Why not maintain them by hand?
>>
>> Best,
>>
>
> Some of them, including as :DiffOrig, Man, :TOhtml, etc., are commands
defined in standard plugins and described in the help. :quote, :bar and
:star are the helptags for :" (Vim comment) :| (concatenating several
commands on one ex-command-line) and :* ('compatible' equivalent of :@)
respectively, due to the fact that Vim translates " | and * to these words
before looking up any help subject in the tags file.
>
> These keywords are generated automatically from the Vim helpfiles, rather
than painstakingly searched for, because the automatic process is much
faster, and, though not perfect, much less error-prone than maintaining the
lists by hand.

I would suggest to maintain a list of exceptions in this case thus. And
filter out everything that does not match '^\l\+$'.

> Best regards,
> Tony.
> --
> (6)     Men employees will be given time off each week for courting
>         purposes, or two evenings a week if they go regularly to church.
> (7)     After an employee has spent his thirteen hours of labor in the
>         office, he should spend the remaining time reading the Bible
>         and other good books.
> (8)     Every employee should lay aside from each pay packet a goodly
>         sum of his earnings for his benefit during his declining years,
>         so that he will not become a burden on society or his betters.
> (9)     Any employee who smokes Spanish cigars, uses alcoholic drink
>         in any form, frequents pool tables and public halls, or gets
>         shaved in a barber's shop, will give me good reason to suspect
>         his worth, intentions, integrity and honesty.
> (10)    The employee who has performed his labours faithfully and
>         without a fault for five years, will be given an increase of
>         five cents per day in his pay, providing profits from the
>         business permit it.
>                 -- "Office Worker's Guide", New England Carriage Works,
1872
>
>
> --
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui