emacs-devel
[Top][All Lists]
Advanced

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

TSM Support on Carbon Emacs


From: YAMAMOTO Mitsuharu
Subject: TSM Support on Carbon Emacs
Date: Sat, 03 Jun 2006 12:06:50 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

I've just added some TSM (Text Services Manager) support code for
Carbon Emacs.  Some additional OS-provided text input functionalities
are available now.

  * Inline input session (unconfirmed text) is displayed either around
    the current point or in the echo area.  The implementation is
    completely different from "Inline patch" by HASHIMOTO Taiichi.

  * Unicode keyboard layouts such as U.S. Extended can be used for
    inputting several kinds of non-MacRoman characters.

  * Double clicking in the Character Palette is also available.  You
    don't have to resort to drag-and-drop anymore.

Many thanks to Hashimoto-san for comments and bug reports on earlier
versions.

I have a question about this.  I'm using an overlay string to display
the contents of an inline session.  But the overlay string is not
shown on a text with display/invisible/composition property
(http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-05/msg00376.html)
and I use the echo area in such cases:

    (let ((use-echo-area
           (or isearch-mode
               (and cursor-in-echo-area (current-message))
               ;; Overlay strings are not shown in some cases.
               (get-char-property (point) 'display)
               (get-char-property (point) 'invisible)
               (get-char-property (point) 'composition)))
     ....

Is this an intended behavior?  At least, the `composition' case looks
unnatural for me.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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