From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: library-specific customization files? Date: Sun, 31 Oct 2004 08:39:26 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099208415 25136 80.91.229.6 (31 Oct 2004 07:40:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 07:40:15 +0000 (UTC) Cc: Luc Teirlinck , monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 08:40:01 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 1COAJl-0002EN-00 for ; Sun, 31 Oct 2004 08:40:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COARh-0006Xx-8u for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2004 02:48:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COARY-0006WR-74 for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:48:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COARX-0006Vd-Bf for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:48:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COARX-0006VY-8m for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:48:03 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COAJC-0001hZ-VR for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:39:27 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1COAIC-0006gv-D2; Sun, 31 Oct 2004 02:38:24 -0500 Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Sat, 30 Oct 2004 19:52:50 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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:29210 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29210 "Drew Adams" writes: > 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. Customization variables already have groups. But I don't see how splitting them makes any sense: the stuff that customize writes is not supposed to be user-accessible anyway. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum