[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
merge emacs-bidi into the main tree
- To: emacs-devel at gnu dot org
- Subject: merge emacs-bidi into the main tree
- From: Alex Schroeder <alex at emacswiki dot org>
- Date: Mon, 04 Aug 2003 16:54:42 +0200
- Cc: emacs-bidi at gnu dot org
- Cc: developer at arabeyes dot org
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACkElEQVR42s1a0bLsIAgzjv// y7kPd9pVKxKVdk6fzux2C4EAwR6QZBpcQEopIf3Fq3a52Lfh0Mjjk99zcWYBwA2ihEen9jVxfAf/ u0+Y2HQwNoVw4Dx34trRV6NSjiLPmfPt77jwiBxB/3PnZ3B2AGxzHnGu0wcBwAIAyQwZGvQhiFcy YLOFQcSB/MS82n3ec37vykNqRFTX9rVWR2U5+pZNIggll0CUOQN9BDdm1LfBmcZxIEqjL6r2JU/D galaB7Zg4jlY2ulnIx9OR4iMRl38CAFyKaA8jAxE7lNn650VKMULZ/54crqn0YQCJGQliebXkFIK hwqmGm28cgsSjz/hzRCMneQEwMjVoH3gWTtMPgIslJUV5uIluvUEkyzU+gUGQO62e9NuSdZCzNOM fDPC87iCqfE9gHinsIrSL16TPBfrYIeHzqKU90a50jCh54EcrgAUFo5ibzvebgr/I66USQ0CspQp IVSoBQK3WswDDIndIraHxoglqOjM1d044PQvu1NY0EHtqQR/XwJ+PeCs0x2dSlApZVw4MPER23PD 7JekoHxrqTRod/2Gx5nhx5dfAJhqPt7tDMIZxNN/7lOIaparPn7ZQ88drlORC2eLWXowxIq4gHTh VN1BSmsHoxYAbPWDTuGQuuecS+aYQUYpfr0YqPQOuuUk5tApK077+2xfOYP+XyWEIwPcE49lvT9N y2+wU2KylGGp4yxlALcm6fSlmgk62yfSsfNunDl5d6W91MBUoZw679YAJoMMkhijuXdFOL+khaL2 s+g3zy4APQuQvSc/BNAYnkl6E8ivYtEHJXa1dihE3zgnKMdNgN8DiIwgA17NykUMvFDQ+LALvXXI BuBLAHv/DvBmc/0HzR03PqXmLcQAAAAASUVORK5CYII=
- User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
Some people have been waiting for a long time for a bidi-enabled Emacs
-- at least I have been waiting for more than a year. The strange
thing is that we have a working implementation: emacs-bidi is
available from www.m17n.org, and has been since Emacs 20.3 or earlier.
There are a few imperfections, or so I hear, but when I -- as a
non-Arabic-speaker -- saw the Arabic glyphs rendered correctly on IRC
(using ERC, the Emacs IRC client) -- I was surprised! Yes, there may
be problems with the existing solution, but at least there *is* a
solution.
I would therefore like to see the existing emacs-bidi implementation
merged with our CVS version.
Back at in the days when Gerd was maintainer, I heard he had issues
with the emacs-bidi implementation and didn't want to use it. Perhaps
performance was bad. Perhaps he thought changes to the redisplay code
would be necessary, and he felt that these changes had to wait.
Perhaps you could not turn bidi off at the time.
Well, for somebody like me who just wants to learn Arabic, copy Arabic
song titles from old tapes onto his website, or read the occasional
Arabic greeting on IRC, the current solution is good enough. And I
don't feel we should wait any longer. We have waited long enough.
If the reasons for rejecting the current emacs-bidi are still valid,
let's list them and discuss them again. In the mean time a few people
like Jan D and Kim Storm have had quite some exposure to the redisplay
code, so perhaps we do have the necessary know-how now to fix the
remaining issues. That would be wonderful. Eli has already done
some work in this area, so if prefered, people could start asking him
for some directions.
If the reasons for rejecting the current emacs-bidi are weak,
however, I think we should weight them against the long time we've
been waiting.
And last but not least, consider what I found here
(http://www.arabeyes.org/project.php?proj=VIM):
About: VIM-6 already has a number of the required Arabization
features developed (unicode support, a hack to support
right-to-left (RTL) write ability, etc). What is lacking is
shaping code as well as a firm font/keymap definition.
Status: Completed
Notes
* The various common keyboard used out there (Arabic has 5
keyboard mappings :-)
* Shaping code ought to be modularized so that we could
potentially release it stand-alone to other projects for
inclusion - thoughts?
* Bidi support is not really included (rightleft is not Bidi),
what to do about this (long term question - not a show-stopper)?
* Any thoughts from Bram about non-fixed width fonts?
See what I mean? The people from arabeyes.org ("The Arabic Unix
Project") don't consider imperfect right-to-left implementation and
lacking shaping code to be a show-stopper. Why should we?
If you are new to bidi issues, take a look at
http://www.emacswiki.org/cgi-bin/wiki.pl/CategoryBiDi
for an introduction.
Alex.
--
http://www.emacswiki.org/alex/
I was on holidays from 2003-07-01 to 2003-07-29
and have a lot of catching up to do.