emacs-devel
[Top][All Lists]
Advanced

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

Re: Compositions and bidi display


From: Stefan Monnier
Subject: Re: Compositions and bidi display
Date: Wed, 28 Apr 2010 18:49:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Btw, do we still need to support static compositions?  Those are based
> on the `composition' text property, which are no longer supported,
> right?  Or am I confused?

They're not?
Does that mean that

  (font-lock-add-keywords
   nil `(("(lambda\\>"
          (0 (progn (compose-region (1+ (match-beginning 0)) (match-end 0)
                                    ;; ,(make-char 'greek-iso8859-7 107)
                                    ?λ)
                    nil)))))

is using unsupported features?  I know I could use `display' instead,
but some details of `compose-region' are handy (e.g. the fact that it's
automatically removed when the text is modified).


        Stefan




reply via email to

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