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: customization of variables defined in C Date: Sun, 31 Oct 2010 14:58:28 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288551531 4081 80.91.229.12 (31 Oct 2010 18:58:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2010 18:58:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 19:58:46 2010 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.69) (envelope-from ) id 1PCd77-00037b-I3 for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2010 19:58:45 +0100 Original-Received: from localhost ([127.0.0.1]:38186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCd77-0008Q9-6A for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2010 14:58:45 -0400 Original-Received: from [140.186.70.92] (port=41149 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCd6x-0008Pu-5Y for emacs-devel@gnu.org; Sun, 31 Oct 2010 14:58:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCd6s-0008Bo-3O for emacs-devel@gnu.org; Sun, 31 Oct 2010 14:58:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:43293 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCd6r-0008Bj-Vs; Sun, 31 Oct 2010 14:58:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskIABdZzUxFpYZA/2dsb2JhbACgSX5yuWCFRASSKw X-IronPort-AV: E=Sophos;i="4.58,268,1286164800"; d="scan'208";a="81201981" Original-Received: from 69-165-134-64.dsl.teksavvy.com (HELO pastel.home) ([69.165.134.64]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 31 Oct 2010 14:58:29 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AAB74A8621; Sun, 31 Oct 2010 14:58:28 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Sun, 31 Oct 2010 14:28:35 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132220 Archived-At: >>> Fix bug#7306; customization of minor-mode variables defined in C. >> This is really not heading in the right direction: I'd rather stick to >> the use of defcustom, than trying to mimick a "defcustom without its >> inner defvar because that part's already done in C". > Oh. It seems like the right solution to me. Else why does cus-start > even exist, and contain > 100 variables? Because it's good to avoid duplication. But the patches you've installed recently are going into the "messy" side of Custom, tilting the balance towards "maybe duplication isn't that bad in the end". Stefan