From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [angeli@caeruleus.net: custom-set-variables overwritten bysafe-local-variables] Date: Tue, 02 May 2006 19:21:41 -0400 Message-ID: <87ejzcui62.fsf@mit.edu> References: <25664.128.165.0.81.1146287440.squirrel@webmail.lanl.gov> <87veso88el.fsf@mit.edu> <35050.128.165.123.132.1146603518.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146612102 17771 80.91.229.2 (2 May 2006 23:21:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 23:21:42 +0000 (UTC) Cc: Ralf Angeli , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 03 01:21:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fb4BT-0000D3-Gh for ged-emacs-devel@m.gmane.org; Wed, 03 May 2006 01:21:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb4BT-0007lM-5o for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 19:21:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fb4BI-0007lG-5K for emacs-devel@gnu.org; Tue, 02 May 2006 19:21:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fb4BG-0007l0-P7 for emacs-devel@gnu.org; Tue, 02 May 2006 19:21:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb4BG-0007kx-KA for emacs-devel@gnu.org; Tue, 02 May 2006 19:21:22 -0400 Original-Received: from [18.19.6.82] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fb4BW-0002QB-7l for emacs-devel@gnu.org; Tue, 02 May 2006 19:21:38 -0400 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 5314D120045; Tue, 2 May 2006 19:21:41 -0400 (EDT) Original-To: herring@lanl.gov In-Reply-To: <35050.128.165.123.132.1146603518.squirrel@webmail.lanl.gov> (Stuart D. Herring's message of "Tue, 2 May 2006 13:58:38 -0700 (PDT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 Xref: news.gmane.org gmane.emacs.devel:53825 Archived-At: "Stuart D. Herring" writes: >>> Simple workaround is to put (todo-show) after the >>> `custom-set-variables'. >>> Better yet, replace with (add-hook 'after-init-hook 'todo-show); .emacs >>> isn't really supposed to be doing anything user-visible (like opening >>> buffers), but it can arrange for it to happen later. >> >> Why not make todo-show do >> >> (let ((enable-local-variables nil)) >> ( ... load the files ...)) > > But what if don't want to ignore the local variables? It's not like > Custom will go back and install the safe ones in all open buffers once > `safe-local-variables' is set... > > Are we attempting to solve different problems? On second thought, my suggestion is no good. I guess putting (todo-show) after `custom-set-variables' is the best bet. Let's stop worrying about this.