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: Custom themes: safe themes Date: Sat, 01 Oct 2011 14:28:09 -0400 Message-ID: <87hb3sh8hy.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317493704 25580 80.91.229.12 (1 Oct 2011 18:28:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2011 18:28:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Edward O'Connor" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 01 20:28:21 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RA4IN-0006ZW-H5 for ged-emacs-devel@m.gmane.org; Sat, 01 Oct 2011 20:28:19 +0200 Original-Received: from localhost ([::1]:55648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RA4IM-0001rm-UD for ged-emacs-devel@m.gmane.org; Sat, 01 Oct 2011 14:28:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RA4IJ-0001rb-Lw for emacs-devel@gnu.org; Sat, 01 Oct 2011 14:28:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RA4II-0003rP-Pk for emacs-devel@gnu.org; Sat, 01 Oct 2011 14:28:15 -0400 Original-Received: from vm-emlprdomr-02.its.yale.edu ([130.132.50.143]:53082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RA4II-0003rI-MY for emacs-devel@gnu.org; Sat, 01 Oct 2011 14:28:14 -0400 Original-Received: from furball (ip-64-134-66-107.public.wayport.net [64.134.66.107]) (authenticated bits=0) by vm-emlprdomr-02.its.yale.edu (8.14.4/8.14.4) with ESMTP id p91IS9nn014342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 1 Oct 2011 14:28:11 -0400 In-Reply-To: (Edward O'Connor's message of "Wed, 7 Sep 2011 10:52:29 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.143 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.143 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144523 Archived-At: "Edward O'Connor" writes: > The `custom-safe-themes' mechanism doesn't really work for me, because > different machines might have different versions of the theme installed. > I'd really rather not carry around N sha1 hashes in my .emacs file, and > I don't want to get prompted anew whenever I happen to make a change in > the theme. > > So I guess I have to use the (new) NO-CONFIRM argument to `load-theme'. > This is kind of gross. It would be nice if `custom-safe-themes' had a > way to bless all versions of some theme, instead of requiring a > different entry per version. This seems like a reasonable request. I added a special value of t to `custom-safe-themes' for this purpose. Thanks for the suggestion.