From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: customize-rouge output with emacs -q --no-site-file Date: Fri, 4 Feb 2005 18:47:15 -0600 (CST) Message-ID: <200502050047.j150lFl14115@raven.dms.auburn.edu> References: <00cb01c50ad3$5f978570$0200a8c0@sedrcw11488> <010101c50aed$d57b4640$0200a8c0@sedrcw11488> <004501c50b07$6690f620$0200a8c0@sedrcw11488> <200502042348.j14NmsN14084@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107564577 26704 80.91.229.2 (5 Feb 2005 00:49:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Feb 2005 00:49:37 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 05 01:49:36 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CxE7z-0006PE-Kg for ged-emacs-devel@m.gmane.org; Sat, 05 Feb 2005 01:48:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxELc-0006sc-9E for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2005 20:02:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CxELO-0006qe-V5 for emacs-devel@gnu.org; Fri, 04 Feb 2005 20:02:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CxELM-0006pr-6q for emacs-devel@gnu.org; Fri, 04 Feb 2005 20:02:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxELM-0006ph-1Z for emacs-devel@gnu.org; Fri, 04 Feb 2005 20:02:36 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxE7u-0002Qj-9Q for emacs-devel@gnu.org; Fri, 04 Feb 2005 19:48:42 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j150mZ9N006945; Fri, 4 Feb 2005 18:48:35 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j150lFl14115; Fri, 4 Feb 2005 18:47:15 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: teirllm@dms.auburn.edu In-reply-to: <200502042348.j14NmsN14084@raven.dms.auburn.edu> (message from Luc Teirlinck on Fri, 4 Feb 2005 17:48:54 -0600 (CST)) 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:32892 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32892 >>From my earlier message: If we now make changes to Emacs that require adding other elements to these hooks, lists or alists, or removing elements, the user does not get those values, because he hardwired the old value in his .emacs. Actually, thinking about it, this particular problem can occur when customizing _any_ hook, list or alist through Custom. Basically, whenever you are not supposed to just setq an option, setting it through Custom is dangerous, because you _are_ setq-ing it. For instance, I have before-save-hook set through Custom. This is currently not a rogue variable, no problem. But whenever somebody would, say fix a bug or implement a new feature by adding a function to before-save-hook, my Emacs will not see it. My .emacs will override it. In other words, before-save-hook is not rogue now, but anytime that I update my CVS, it could become rogue. Personally, I will get rid of this entry in custom-set-variables and use add-hook in my .emacs. Much safer. Sincerely, Luc.