Tony Mechelynck <[email protected]> wrote:
> On 08/06/09 10:02, Ali Gholami Rudi wrote:
>> * when they are present editing is harder; backspace removes all of the
>> combined letters
>
> not if 'delcombine' is on, which should be the 'arabic' default. Then
> Insert-mode backspacing removes only the last combining character
> immediately before the cursor. I'm using this also at the moment to edit
> a Russian dictionary, where stress is shown by a combining acute accent.
> (This is of course LTR.)
You're right. I meant to say "..., by default" (since I don't use ":set
arabic", delcombine was not set).
> Hm, I don't have much knowledge of Arabic, but IIUC use of the digraph
> is mandatory whenever laam is immediately followed by alif.
>
> Ideally this would even include laam + fatha + alif or laam + sukuun +
> alif-hamza but these are only "icing on the cake", I'm not sure that
> even my browsers (which can display Arabic quite nicely) handle them
> correctly, so if they are too hard to handle, don't do them.
GTK+ (not Vim GTK+ front-end) handles most of them. Supporting them
doesn't look that hard (but maybe a bit slow). I think the combinations
and the resulting character can be saved in a table so that arabic.c
(needs changing mbyte.c) can look it up. But it is probably not worth
the effort.
> Laam + (ordinary) alif is IMHO important, laam + alif-hamza-above and
> laam + alif-hamza-below are less important but not negligible, I'm not
> sure about laam + alif-madda, I'd be surprised if laam + alif-wasla
> could even appear in "proper" Arabic.
What I'm saying is there is a lot of them... See 0xfbea till 0xfdfd
unicode chars. But I'm not sure, maybe LAM-ALEF combination is special
in Arabic.
Anyway, I think everyone (arabic.c users) is happy with the current
state.
Ali
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---