From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: :file keyword for Customize Date: Thu, 8 May 2008 09:59:01 -0700 Message-ID: <004501c8b12c$d10ce620$0ab32382@us.oracle.com> References: <004101c8b129$788cd490$0ab32382@us.oracle.com> <48232D95.3020304@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210266011 18083 80.91.229.12 (8 May 2008 17:00:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2008 17:00:11 +0000 (UTC) Cc: 'Emacs-Devel' To: "'Jason Rumney'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 08 19:00:44 2008 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 1Ju9U1-0004K9-Ne for ged-emacs-devel@m.gmane.org; Thu, 08 May 2008 19:00:41 +0200 Original-Received: from localhost ([127.0.0.1]:33277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ju9TJ-0000Nc-PR for ged-emacs-devel@m.gmane.org; Thu, 08 May 2008 12:59:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ju9TG-0000Lk-8y for emacs-devel@gnu.org; Thu, 08 May 2008 12:59:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ju9TB-0000Bh-Bm for emacs-devel@gnu.org; Thu, 08 May 2008 12:59:53 -0400 Original-Received: from [199.232.76.173] (port=52131 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ju9TB-0000BZ-9g for emacs-devel@gnu.org; Thu, 08 May 2008 12:59:49 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:62218) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ju9T6-0006Xq-DV; Thu, 08 May 2008 12:59:44 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m48GxfaJ028914; Thu, 8 May 2008 11:59:41 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m48GxdYQ027981; Thu, 8 May 2008 10:59:40 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3668961221210265936; Thu, 08 May 2008 09:58:56 -0700 Original-Received: from dradamslap1 (/130.35.179.10) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 08 May 2008 09:58:55 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48232D95.3020304@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 thread-index: AcixKqoQUrBWYfxGSq66xxz2Epbe3AAARcqw X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:96803 Archived-At: > > How about adding a :file keyword for `defcustom' and `defface'? > > What do existing packages like Gnus and JDEE do to save their > options in a separate file? No idea. I don't have or use either. > If what they do is hacky, then that would support such > a need, but if they can do it cleanly already, then it might > be suitable for your needs too. To be clear, I don't have any particular needs in this regard. I just thought this might make sense generally. The granularity for Customize customizations, in terms of persistence and loading is currently all or none: everything is in one file (`custom-file' or `init-file'). It just occurred to me that it might be better to at least let Emacs-Lisp programmers group customizations into smaller persistence/load units, if they see fit.