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: Changed outside --> set, in Customize UI Date: Tue, 8 Feb 2005 18:27:48 -0800 Message-ID: References: <200502090207.j1927cA18787@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107917052 26847 80.91.229.2 (9 Feb 2005 02:44:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2005 02:44:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 09 03:44:11 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cyhpe-0006NS-VF for ged-emacs-devel@m.gmane.org; Wed, 09 Feb 2005 03:43:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cyi46-0003fh-H3 for ged-emacs-devel@m.gmane.org; Tue, 08 Feb 2005 21:58:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyhyX-0001E1-04 for emacs-devel@gnu.org; Tue, 08 Feb 2005 21:53:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyhyF-00015g-06 for emacs-devel@gnu.org; Tue, 08 Feb 2005 21:52:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyhyD-0000yp-Sb for emacs-devel@gnu.org; Tue, 08 Feb 2005 21:52:50 -0500 Original-Received: from [148.87.122.30] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CyhaF-0003gX-DY for emacs-devel@gnu.org; Tue, 08 Feb 2005 21:28:03 -0500 Original-Received: from rgminet01.oracle.com (localhost [127.0.0.1]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j192RuCD013881; Tue, 8 Feb 2005 21:27:56 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j192RuhW013875; Tue, 8 Feb 2005 21:27:56 -0500 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j192Rtjv021530; Tue, 8 Feb 2005 19:27:55 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-66-208.vpn.oracle.com [141.144.66.208]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j192RpZg021499 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 8 Feb 2005 19:27:54 -0700 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: <200502090207.j1927cA18787@raven.dms.auburn.edu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33111 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33111 Actually, I start thinking again that it _might_ be good to make _any_ option set in .emacs "untouchable" through Custom, even atoms and even in as far as the current session is concerned. That way we do not need to make any distinction between hooks (and similar list-vars) and other options, which probably will simplify implementation _a lot_, things will look less inconsistent to the user _and_ it will avoid problems if you later try to "Reset to Standard" (which would make no sense). If you customized in .emacs outside Custom, it is better to be consistent and set it for the current session with set-variable. This was a misformulation. I meant that the _part_ of the option set through .emacs (the elements of the hook or listvar added in .emacs) would be untouchable through Custom. But, for an atom or for hooks or list-vars _setq-ed_ in .emacs, that part is everything. You mean that if I do (setq foo 50) in my .emacs I cannot then experiment using Customize to change `foo' to 100 to see if I like that better? I can save things from Customize to .emacs but I cannot change things in Customize that have been set in .emacs? I think such a design would be _very_ unfortunate.