From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: global-auto-composition-mode doesn't work in echo area buffer Date: Tue, 12 Jan 2010 11:44:31 +0900 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263264300 31024 80.91.229.12 (12 Jan 2010 02:45:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2010 02:45:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 12 03:44:53 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUWkU-0001fP-Fy for ged-emacs-devel@m.gmane.org; Tue, 12 Jan 2010 03:44:50 +0100 Original-Received: from localhost ([127.0.0.1]:53597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUWkV-0003sH-40 for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2010 21:44:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUWkQ-0003ra-0B for emacs-devel@gnu.org; Mon, 11 Jan 2010 21:44:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUWkK-0003rO-BA for emacs-devel@gnu.org; Mon, 11 Jan 2010 21:44:44 -0500 Original-Received: from [199.232.76.173] (port=55652 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUWkK-0003rL-2N for emacs-devel@gnu.org; Mon, 11 Jan 2010 21:44:40 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:46140) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUWkJ-0003eV-Cp for emacs-devel@gnu.org; Mon, 11 Jan 2010 21:44:39 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o0C2iW6h021108 for ; Tue, 12 Jan 2010 11:44:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o0C2iWY0024491 for ; Tue, 12 Jan 2010 11:44:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id o0C2iWwF008591 for ; Tue, 12 Jan 2010 11:44:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NUWkC-0000zT-0m for emacs-devel@gnu.org; Tue, 12 Jan 2010 11:44:32 +0900 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119842 Archived-At: Currently a message string shown in echo area can't be composed. For instance, try this. (message "=E0=A4=B9=E0=A4=BF=E0=A4=82=E0=A4=A6=E0=A5=80") 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