From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: find-file-hook as illustration of Custom problems Date: Fri, 4 Feb 2005 08:16:11 +0100 Message-ID: <007101c50a89$7228c900$0200a8c0@sedrcw11488> References: <200502040036.j140atb03430@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107501429 10609 80.91.229.2 (4 Feb 2005 07:17:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Feb 2005 07:17:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 04 08:17:08 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwxiC-00049V-9N for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2005 08:17:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cwxvf-00078t-SF for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2005 02:30:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CwxvV-00078V-Ot for emacs-devel@gnu.org; Fri, 04 Feb 2005 02:30:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CwxvS-00077x-8Z for emacs-devel@gnu.org; Fri, 04 Feb 2005 02:30:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwxvS-00077R-0D for emacs-devel@gnu.org; Fri, 04 Feb 2005 02:30:46 -0500 Original-Received: from [81.228.9.112] (helo=av4-2-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cwxhr-0003ka-26 for emacs-devel@gnu.org; Fri, 04 Feb 2005 02:16:43 -0500 Original-Received: by av4-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 5545C37E52; Fri, 4 Feb 2005 08:16:41 +0100 (CET) Original-Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av4-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 4194437E48; Fri, 4 Feb 2005 08:16:41 +0100 (CET) Original-Received: from sedrcw11488 (t3o58p113.telia.com [195.252.56.113]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with SMTP id 4A9DF38010; Fri, 4 Feb 2005 08:16:39 +0100 (CET) Original-To: "Luc Teirlinck" , X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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:32859 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32859 ----- Original Message ----- From: "Luc Teirlinck" > I guess that after "21.4" is released, we could split some of the most > often used and most problematic hooks (like find-file-hook) into a > user and a program hook, thereby solving this kind of problem. (Doing > this for all defcustomed hooks would probably be unrealistic, because > there are too many of them.) Thanks for the clear example. What we can (and I think we should) do before release is some small changes to Customize to try to help the user avoid the problems. I would suggest the following: 1) Do not at all allow "Erase Customization" for rouge options. Or at least ask and explain the problems at any such attempts. 1) Do not at all allow "Save" for rouge options. Or at least ask and explain explain at any such attempts. 2) Ask and explain before "Set" of any such option.