emacs-bidi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] mirroring of glyphs


From: Alex Schroeder
Subject: Re: [emacs-bidi] mirroring of glyphs
Date: Mon, 19 Nov 2001 18:26:12 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

Eli Zaretskii <address@hidden> writes:

> Okay, but then the mnemonicized output of the interim phases of 
> conversion should be read in reverse?  I mean, if I want to go through 
> the conversion phases and compare the results with what UAX#9 says, I 
> need to look at the printed stuff backwards?

No.

(defun bidi-visual-to-logical-test (str context &optional debug)
  "FIXME"
  (when (eq context 'R2L)
    (setq str (string-reverse str)))
  ...
    (when (eq context 'R2L)
      (setq levels (nreverse levels)
            types (nreverse types)
            resolved-types (nreverse resolved-types)
            str (string-reverse str)))
    (cond ((eq debug 'levels)
           (bidi-pretty-print levels))
          ((eq debug 'resolved-types)
           (bidi-pretty-print (bidi-get-mnemonics resolved-types)))
          ((eq debug 'types)
           (bidi-pretty-print (bidi-get-mnemonics types)))
          ((eq debug 'string)
           (bidi-pretty-print str))
          (t
           (bidi-reorder-string str levels)))))

Can you give me the example again which bothered you?  Then I can
check it more thoroughly.

Alex.
-- 
http://www.emacswiki.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]