On 02/05/09 13:42, Bram Moolenaar wrote:
>
>
> Ali Gholami Rudi wrote:
>
>> Farsi is quite similar to arabic except for a few letters. This patch
>> merges farsi support into arabic.c. AFAICS, farsi.c and fkmap option
>> seem to be obsolete (unless someone is still using the pcf fonts).
>>
>> Also it might make sense to add a new farsi option, just like the arabic
>> option, that when set implies "set rl" and "set keymap=persian".
>
> I don't use these languages, thus I need to rely on others to tell me
> what works best. After including this patch, can we drop farsi.c?
>
> There should also be an update to the documentation, most users don't
> look at the source code to figure out what to do :-).
>
> - Bram
>
From a cursory glance at the patch, it "simply" extends to the letters
used in Farsi but not in Arabic proper what the arabic.c module already
does for the "Arabic" Arabic letters, using procedures already
documented in the arabic.txt helpfile.
@Ali: I've seen at least one of the "Farsi" letters, namely "Farsi yeh",
used for the Arabic language in a language textbook ("Teach Yourself
Arabic", and I haven't remembered the author's name), so I believe your
patch would be useful even for the Arabic language. Of course the use of
Farsi yeh can be simulated by using "Arabic" yeh in initial and medial
positions, and alef maksura in isolated and final positions, but I'd
call that workaround "inelegant".
Best regards,
Tony.
--
Nostalgia isn't what it used to be.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---