From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Downgrade custom-theme-load-path into a defvar Date: Thu, 8 Oct 2015 07:29:20 +0100 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c237f0afa18b052191fbf7 X-Trace: ger.gmane.org 1444285791 6260 80.91.229.3 (8 Oct 2015 06:29:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2015 06:29:51 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 08 08:29:44 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from eggs.gnu.org ([208.118.235.92]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zk4hz-0003e1-9u for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2015 08:29:43 +0200 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zk4ho-0002bU-3B for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2015 02:29:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk4hn-0002aQ-S3 for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2015 02:29:31 -0400 Original-Received: from localhost ([::1]:60907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk4hn-0000Bh-Op for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2015 02:29:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk4hk-0000BX-LB for emacs-devel@gnu.org; Thu, 08 Oct 2015 02:29:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zk4hd-0002Nr-0V for emacs-devel@gnu.org; Thu, 08 Oct 2015 02:29:28 -0400 Original-Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:34512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk4hc-0002NZ-Ox for emacs-devel@gnu.org; Thu, 08 Oct 2015 02:29:20 -0400 Original-Received: by lbbwt4 with SMTP id wt4so35596511lbb.1 for ; Wed, 07 Oct 2015 23:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=d/jYkAlm8922xkWvT2db0ewVNs5+kuOQE8QvN48BTS8=; b=VsnOdlY7eAp0SVUxIJhpIm3ZYf36G5XPmy59l0KKMtRUv7DsJMbBqbctTpsd90ZrIR 8OFPpMukD4/bLQ7NRCX06gWohA54eCJTNNv92ZPzAljUAzK+Ivr2pHOzOnJMG+GMn9WB yaYcqyrjyOER6t0Z2MXQzq8wr4nZBe+G0LpmofyaajY0j36S+ibBrXd0PljjSbH2e7r4 yrD8+IMOSZSXHg0MnjfM4ORORL0FbeLXhwZpnQrfThA5bX0Sy2oWSeVPVclBkjzzy1Gt NJP47Z8fSAQpgfsl9SHqTjQ734ptGqnG6q2VbfAQrYuEUDQTpGwzKSu1hU53ZUw5iO41 xXrg== X-Received: by 10.112.168.228 with SMTP id zz4mr2691327lbb.73.1444285760117; Wed, 07 Oct 2015 23:29:20 -0700 (PDT) Original-Received: by 10.25.27.78 with HTTP; Wed, 7 Oct 2015 23:29:20 -0700 (PDT) Original-Received: by 10.25.27.78 with HTTP; Wed, 7 Oct 2015 23:29:20 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: qeQGaF264NAaWD-NA0vrJ57TmNU X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 Xref: news.gmane.org gmane.emacs.devel:191064 Archived-At: --001a11c237f0afa18b052191fbf7 Content-Type: text/plain; charset=UTF-8 Actually, we have that already. It's a defcustom called custom-theme-directory. It only holds one directory, and it is safe to be customised by the user. On 8 Oct 2015 4:46 am, "John Wiegley" wrote: > > >>>>> Artur Malabarba writes: > > > I'd like to downgrade this defcustom into a defvar, so that users cannot > > customize it by accident. It should not be a defcustom in the same way that > > load-path isn't. > > > Would anyone object? > > What about having two load-paths, the way that we have > Info-default-directory-list, and Info-directory-list. The former is intended > to be customized and is not added to, while the second is derived from the > first initially, but possibly added to as Emacs runs. > > John > --001a11c237f0afa18b052191fbf7 Content-Type: text/html; charset=UTF-8

Actually, we have that already.
It's a defcustom called custom-theme-directory. It only holds one directory, and it is safe to be customised by the user.

On 8 Oct 2015 4:46 am, "John Wiegley" <johnw@newartisans.com> wrote:
>
> >>>>> Artur Malabarba <bruce.connor.am@gmail.com> writes:
>
> > I'd like to downgrade this defcustom into a defvar, so that users cannot
> > customize it by accident. It should not be a defcustom in the same way that
> > load-path isn't.
>
> > Would anyone object?
>
> What about having two load-paths, the way that we have
> Info-default-directory-list, and Info-directory-list. The former is intended
> to be customized and is not added to, while the second is derived from the
> first initially, but possibly added to as Emacs runs.
>
> John
>

--001a11c237f0afa18b052191fbf7--