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: Re: leim-list.el and registering input methods Date: Thu, 22 Oct 2009 10:10:48 +0900 Message-ID: References: <200910210708.n9L78Qkg004553@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256173879 24429 80.91.229.12 (22 Oct 2009 01:11:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2009 01:11:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 03:11:08 2009 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 1N0mCp-00048t-L6 for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2009 03:11:07 +0200 Original-Received: from localhost ([127.0.0.1]:46976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0mCo-0000XZ-QI for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2009 21:11:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0mCi-0000SL-7v for emacs-devel@gnu.org; Wed, 21 Oct 2009 21:11:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0mCd-0000Mw-5k for emacs-devel@gnu.org; Wed, 21 Oct 2009 21:10:59 -0400 Original-Received: from [199.232.76.173] (port=43681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0mCd-0000Mt-08 for emacs-devel@gnu.org; Wed, 21 Oct 2009 21:10:55 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:54481) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0mCc-0005V6-Bq for emacs-devel@gnu.org; Wed, 21 Oct 2009 21:10:54 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n9M1AnSW003516; Thu, 22 Oct 2009 10:10:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n9M1AnMg020790; Thu, 22 Oct 2009 10:10:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id n9M1AnG2001910; Thu, 22 Oct 2009 10:10:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1N0mCX-0000of-3s; Thu, 22 Oct 2009 10:10:49 +0900 In-Reply-To: <200910210708.n9L78Qkg004553@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Wed, 21 Oct 2009 00:08:26 -0700 (PDT)) 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:116301 Archived-At: In article <200910210708.n9L78Qkg004553@godzilla.ics.uci.edu>, Dan Nicolaescu writes: > Is there a reason that input methods are not registered in the dumped image? > Instead they are registered at run time, even in batch mode: For those having their own input methods. They can have their own leim-list.el in somewhere in the load-path. But, I think there's no reason to search these directories: /usr/share/emacs/23.1/lisp/url/ /usr/share/emacs/23.1/lisp/textmodes/ /usr/share/emacs/23.1/lisp/progmodes/ /usr/share/emacs/23.1/lisp/play/ /usr/share/emacs/23.1/lisp/org/ /usr/share/emacs/23.1/lisp/nxml/ /usr/share/emacs/23.1/lisp/net/ /usr/share/emacs/23.1/lisp/mh-e/ /usr/share/emacs/23.1/lisp/mail/ /usr/share/emacs/23.1/lisp/language/ /usr/share/emacs/23.1/lisp/international/ /usr/share/emacs/23.1/lisp/gnus/ /usr/share/emacs/23.1/lisp/eshell/ /usr/share/emacs/23.1/lisp/erc/ /usr/share/emacs/23.1/lisp/emulation/ /usr/share/emacs/23.1/lisp/emacs-lisp/ /usr/share/emacs/23.1/lisp/calendar/ /usr/share/emacs/23.1/lisp/calc/ /usr/share/emacs/23.1/lisp/obsolete/ So... > Currently there's a search for leim-list.el in load-path (see the strace > log in my original message). > Shouldn't this search be more restricted, like what we do for > site-start.el and default.el? I agree. But, we must also search the directories added to load-path by users. --- Kenichi Handa handa@m17n.org