From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: library-specific customization files? Date: Sat, 30 Oct 2004 19:52:50 -0700 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099191235 32480 80.91.229.6 (31 Oct 2004 02:53:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 02:53:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 03:53:42 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CO5qg-0002eC-00 for ; Sun, 31 Oct 2004 03:53:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CO5yb-0005rL-Pm for ged-emacs-devel@m.gmane.org; Sat, 30 Oct 2004 23:01:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CO5yO-0005o4-1C for emacs-devel@gnu.org; Sat, 30 Oct 2004 23:01:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CO5yM-0005nV-Lu for emacs-devel@gnu.org; Sat, 30 Oct 2004 23:01:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CO5yM-0005mj-Ia for emacs-devel@gnu.org; Sat, 30 Oct 2004 23:01:38 -0400 Original-Received: from [141.146.126.231] (helo=agminet04.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CO5q2-0006zv-9Y for emacs-devel@gnu.org; Sat, 30 Oct 2004 22:53:02 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.191.12]) by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i9V2qrgi028791; Sat, 30 Oct 2004 19:52:53 -0700 Original-Received: from rgmgw3.us.oracle.com (localhost [127.0.0.1]) by rgmgw3.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i9V2qr0r025424; Sat, 30 Oct 2004 20:52:53 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-80-42.vpn.oracle.com [141.144.80.42]) by rgmgw3.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i9V2qqTd025414; Sat, 30 Oct 2004 20:52:52 -0600 Original-To: "Luc Teirlinck" , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal 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: main.gmane.org gmane.emacs.devel:29207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29207 Thanks for this reference. I took a quick look at it. John's code tries to match against variable names. I think it would be good to build on what he has done, integrating it within Customize. Name matching is not 100% failsafe, since not all variable names in all Lisp packages use prefixes, and some name parts could also, I imagine, result in false hits to the wrong library. Instead of relying on name matching, Customize should use positive knowledge of which variables belong to which Lisp files to create a failsafe mapping. A library census a la TAGS could be used, if Customize does not already have an explicit mapping of variables to their libraries. -----Original Message----- Are the people who are discussing this thread familiar with initsplit.el by John Wiegley, available from: http://www.newartisans.com/johnw/emacs.html. It seems to implement a functionality similar to the one being discussed.