From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: leim/quail and mule doble names of pkg Date: Mon, 28 Nov 2011 12:53:14 -0500 Message-ID: References: <874nxogw0p.fsf@gilgamesch.quim.ucm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322502808 16742 80.91.229.12 (28 Nov 2011 17:53:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 17:53:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 18:53:23 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RV5OL-00046O-GH for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 18:53:21 +0100 Original-Received: from localhost ([::1]:35142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV5OK-0006vi-Rl for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 12:53:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV5OI-0006vS-CV for emacs-devel@gnu.org; Mon, 28 Nov 2011 12:53:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV5OH-0004eQ-B2 for emacs-devel@gnu.org; Mon, 28 Nov 2011 12:53:18 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV5OH-0004eL-6p for emacs-devel@gnu.org; Mon, 28 Nov 2011 12:53:17 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pASHrFXa003734; Mon, 28 Nov 2011 12:53:15 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CFE3E58D75; Mon, 28 Nov 2011 12:53:14 -0500 (EST) In-Reply-To: <874nxogw0p.fsf@gilgamesch.quim.ucm.es> (Uwe Brauer's message of "Mon, 28 Nov 2011 15:29:58 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4055=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4055> : streams <706005> : uri <1017673> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146313 Archived-At: > For example > hebrew.el > Is in > leim/quail/hebrew.el for the input method > But also in > lisp/language/hebrew.el for the coding > Is this wise? I'm not sure if "wise" is the right question, but yes, there are some problems in this area. With the CEDET integration we have many more such cases. IIRC XEmacs has other cases with its packages's "autoload" files. The way those "same name files" are distinguished depends on the particular case, and the potential problems are mostly avoided in ad-hoc ways. For CEDET, we basically consider the file's name to be (file-relative-name buffer-file-name load-path), which does make those file names unique again. The same has been used for term/*.el files in the past. But this is not supported consistently (e.g. eval-after-load does not understand this convention, IIRC). For other files, we just try to treat those files specially (they don't `provide' their name and aren't loaded via load-path), which comes with its own set of problems and limitations. I'd be happy to see someone tackle this issue and try to come up with a set of solutions which we can then try to support consistently. Stefan