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: A fundamental problem with defcustoms that are lists Date: Sun, 07 Sep 2008 00:01:38 -0400 Message-ID: References: <48C2BF2F.9040700@gmail.com> <48C2FA14.3070509@gmx.at> <48C303FD.9080600@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220760113 7686 80.91.229.12 (7 Sep 2008 04:01:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 04:01:53 +0000 (UTC) Cc: martin rudalics , Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 07 06:02:48 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 1KcBU8-0000vk-EG for ged-emacs-devel@m.gmane.org; Sun, 07 Sep 2008 06:02:48 +0200 Original-Received: from localhost ([127.0.0.1]:48417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBT8-0006Su-RO for ged-emacs-devel@m.gmane.org; Sun, 07 Sep 2008 00:01:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcBT3-0006Rl-4p for emacs-devel@gnu.org; Sun, 07 Sep 2008 00:01:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcBT1-0006Qz-Pq for emacs-devel@gnu.org; Sun, 07 Sep 2008 00:01:40 -0400 Original-Received: from [199.232.76.173] (port=51772 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBT1-0006Qp-F6 for emacs-devel@gnu.org; Sun, 07 Sep 2008 00:01:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:56730) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcBT1-0002Jy-1S for emacs-devel@gnu.org; Sun, 07 Sep 2008 00:01:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwFAKDuwkhFxJRU/2dsb2JhbACBZbEDgWaBBw X-IronPort-AV: E=Sophos;i="4.32,349,1217822400"; d="scan'208";a="26466880" Original-Received: from 69-196-148-84.dsl.teksavvy.com (HELO ceviche.home) ([69.196.148.84]) by ironport2-out.teksavvy.com with ESMTP; 07 Sep 2008 00:01:38 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4D0CAB405D; Sun, 7 Sep 2008 00:01:38 -0400 (EDT) In-Reply-To: <48C303FD.9080600@gmail.com> (Lennart Borgman's message of "Sun, 07 Sep 2008 00:28:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.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:103624 Archived-At: > Thanks, that is a nice idea. I think it would be good, but not > necessary. Maybe some intermediate thing, something that reminded of > "merge conflicts" could be used instead? That's a very good point. I think Custom should always store not just the value you set, but also the corresponding original value. Some variables often change, so we may not want to warn the user for each and every change to every variable, but most variables's default value never changes, so it would make sense to warn users when the default has changed, even if that variable only holds some symbol or number rather than a list. Stefan