all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: emacs-devel@gnu.org
Subject: global-auto-composition-mode doesn't work in echo area buffer
Date: Tue, 12 Jan 2010 11:44:31 +0900	[thread overview]
Message-ID: <tl7aawkkpo0.fsf@m17n.org> (raw)

Currently a message string shown in echo area can't be
composed.  For instance, try this.
  (message "हिंदी")

This is because auto-composition-function is nil in " *Echo
Area 0*" buffer even if global-auto-composition-mode is t.
global-auto-composition-mode is defined as below.

(define-global-minor-mode global-auto-composition-mode
  auto-composition-mode turn-on-auto-composition-if-enabled
  ;; This :extra-args' appears to be the result of a naive copy&paste
  ;; from global-font-lock-mode.
  ;; :extra-args (dummy)
  :initialize 'custom-initialize-delay
  :init-value (not noninteractive)
  :group 'auto-composition
  :version "23.1")

Once I eval this manually:

(with-current-buffer " *Echo Area 0*"
  (setq auto-composition-function 'auto-compose-chars))

a message shown in echo area is composed correctly.

Could someone tell me how to run
turn-on-auto-composition-if-enabled in all buffers for echo
area automatically?

---
Kenichi Handa
handa@m17n.org




                 reply	other threads:[~2010-01-12  2:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tl7aawkkpo0.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.