From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.emacs.help Subject: Re: My emacs was upgraded and I am a novice again Date: Sat, 06 Oct 2007 11:44:23 -0700 Organization: Private Message-ID: <4707D787.9000303@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191696336 14256 80.91.229.12 (6 Oct 2007 18:45:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2007 18:45:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 06 20:45:32 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IeEeS-0006E5-4O for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Oct 2007 20:45:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeEeN-0003x6-3m for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Oct 2007 14:45:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IeEe7-0003w2-RP for help-gnu-emacs@gnu.org; Sat, 06 Oct 2007 14:45:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IeEe3-0003tS-3V for help-gnu-emacs@gnu.org; Sat, 06 Oct 2007 14:45:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeEe2-0003tP-S5 for help-gnu-emacs@gnu.org; Sat, 06 Oct 2007 14:44:58 -0400 Original-Received: from flpi195.sbcis.sbc.com ([207.115.20.197] helo=flpi195.prodigy.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IeEe2-00024P-D4 for help-gnu-emacs@gnu.org; Sat, 06 Oct 2007 14:44:58 -0400 X-ORBL: [75.0.190.171] Original-Received: from [192.168.1.102] (adsl-75-0-190-171.dsl.pltn13.sbcglobal.net [75.0.190.171]) by flpi195.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id l96IiQDa028469 for ; Sat, 6 Oct 2007 11:44:26 -0700 User-Agent: Thunderbird 1.5.0.12 (X11/20060911) X-Detected-Kernel: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48164 Archived-At: This addition: (setq disabled-command-function nil) seemed reasonable. It isn't quite a complete cover tho: > The local variables list in configure.in > contains values that may not be safe (*). > > Do you want to apply it? You can type > y -- to apply the local variables list. > n -- to ignore the local variables list. > ! -- to apply the local variables list, and permanently mark these > values (*) as safe (in the future, they will be set automatically.) > > mode : autoconf-mode > indent-tabs-mode : nil > sh-indentation : 2 OK, so I've made it permanent so ``sh-indentation 2'' will no longer be treated with suspicion. The *NEXT* suspicious thing will interrupt me again, however. I think that this: '(safe-local-variable-values (quote ((sh-indentation . 2)))) should be *ENTIRELY* disabled, not just the one "sh-indentation" entry. I don't exactly know who thinks I need protection from nefarious things like two-space indentation, but the reason I had that assignment is because I wanted that assignment in there. > There was never such a user setting in Emacs. You always had to > enable each command individually (unless you are an advanced user and > know how to set a function to nil without causing damage). The problem, of course, are the newly added protections with less-than-obvious ways of telling emacs, "Please stop protecting me." In the case above, it is not a disabled command issue. It is some collection of variable values that someone thought would be "dangerous". So, I guess, in the end, I'm asking for an enhancement: (custom-set-variables '(protective-mode nil)) and from that day forth, never worry about emacs protecting me from myself ever again. :-} Thank you! Cheers - Bruce