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: find-file-hook as illustration of Custom problems Date: Sat, 5 Feb 2005 19:50:52 -0600 (CST) Message-ID: <200502060150.j161oqh15336@raven.dms.auburn.edu> References: <200502040036.j140atb03430@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107656138 31068 80.91.229.2 (6 Feb 2005 02:15:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2005 02:15:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 03:15:38 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CxbxR-0008Kj-S7 for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 03:15:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxcBH-0001mT-M4 for ged-emacs-devel@m.gmane.org; Sat, 05 Feb 2005 21:29:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cxc8v-0000sA-Ro for emacs-devel@gnu.org; Sat, 05 Feb 2005 21:27:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cxc89-0000XH-PM for emacs-devel@gnu.org; Sat, 05 Feb 2005 21:26:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxc88-0000Hf-Qi for emacs-devel@gnu.org; Sat, 05 Feb 2005 21:26:33 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cxbb3-000387-FV; Sat, 05 Feb 2005 20:52:21 -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 j161qF9N003236; Sat, 5 Feb 2005 19:52:15 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j161oqh15336; Sat, 5 Feb 2005 19:50:52 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 05 Feb 2005 12:38:33 -0500) 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:32928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32928 >>From my previous reply: Any other elements could be invisible and untouchable; or they might be displayed in a separate way as "program-added hooks" and untouchable through the usual Custom features. I believe the latter. The user should know that there are other, untouchable things in the list. Actually, the situation is more complex, certainly for non-hook atoms (and I would guess probably also for many hooks). Code puts things in variables like completion-ignored-extensions, debug-ignored-errors, file-coding-system-alist, help-event-list, minibuffer-prompt-properties, mode-line-format, same-window-buffer-names, same-window-regexps, and many others, that the user definitely might want to override. The same could be true for many hooks. So it looks like we should also give the user veto power over code and implement `remove-hook' and `delete' functionality through Custom, adding to the complexity. Sincerely, Luc.