On 02/05/09 09:40, Ali Gholami Rudi wrote:
>
> Hi,
>
> 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".
>
> Regards,
> Ali
[...]

Hm, interesting.

Arabic script is used for many other languages besides Arabic and Farsi. 
In theory Vim should apply Arabic shaping etc. to all languages using 
Arabic script with shaping, and from a cursory glance at your patch, 
your method seems to lend itself to the task, but a flawless 
implementation might require C programmers with a good knowledge of each 
of those languages, and I'm not sure that they exist among the active 
users of the vim_dev list -- to take an example, Urdu speakers should be 
relatively easy to find, but what about some lesser variants? Even the 
most "basic" of the four Unicode pages about Arabic script, 
http://www.unicode.org/charts/PDF/U0600.pdf , mentions some languages of 
which I haven't the slightest idea where (or when) they may be (or have 
been) spoken (and, of course, written), even among those which "own" 
some letters used (AFAICT) only in that language.

I'm not sure what the final solution should be; and feel free to dismiss 
me, I'm feeling like a kind of back-seat driver in this discussion: I 
like Arabic script for its beauty, and I even went as far as to put two 
sentences in Arabic on my frontpage, but I can't say I really use any 
language written with that script.


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
24. You realize there is not a sound in the house and you have no idea where
     your children are.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui