unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* global-auto-composition-mode doesn't work in echo area buffer
@ 2010-01-12  2:44 Kenichi Handa
  0 siblings, 0 replies; only message in thread
From: Kenichi Handa @ 2010-01-12  2:44 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-12  2:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12  2:44 global-auto-composition-mode doesn't work in echo area buffer Kenichi Handa

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).