From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qNHzBZJYqGK2rAAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 11:44:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KPePBZJYqGI5agEAauVa8A (envelope-from ) for ; Tue, 14 Jun 2022 11:44:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A950A2DAF4 for ; Tue, 14 Jun 2022 11:44:49 +0200 (CEST) Received: from localhost ([::1]:37908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o136O-0002cO-Kg for larch@yhetil.org; Tue, 14 Jun 2022 05:44:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o12qv-000126-1l for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 05:28:49 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:40955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o12qt-0006Rb-GK for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 05:28:48 -0400 Received: by mail-wr1-x42e.google.com with SMTP id w17so2902989wrg.7 for ; Tue, 14 Jun 2022 02:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:gmane-reply-to-list:date:message-id:mime-version; bh=1mrWsGFAC/1zi4X83rOP8WRwTN28zuwfeSmFGk0WWI8=; b=jTXP8DxOhCz564OoAVkAtQC45HhAVBbC2PwCMUwK1WB8E95Vh3PEaXsocmUkrrahwR Oq6IqXs6hBs54am13F840rUFN+kcQ4Weh7qMGsPfVRq6B7ePk3Sv7TqPmHYxmhVdBAmd nMh9UcwqGZfrzfuVqoN9LKTcFUFkwj4PHEybx0OK2DDhWvLcFkdRlpuEZEUaTSNPSziD xHoLmX1EdhmMT0IHP1cqMR5OK6OXZk6wsiMsCZcOkWfCDC5xybZWfWIYvL3YTXrcpZKx r4tZUHYyLmTAoM3TDzsa67i9tguhr+qeM5H0HKsdm3z+XywdOaZf0r60/d9o0Pv2PpFa wXEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:gmane-reply-to-list:date :message-id:mime-version; bh=1mrWsGFAC/1zi4X83rOP8WRwTN28zuwfeSmFGk0WWI8=; b=W/DTv697LaljfOE2rtLFBJBo5NmZTwAX/KDU5zDZAO9Qsu0kS3auxxtlIMRtdsb1d6 FHm3CriQhz96oDeOHRetFFroww0e3sX6AtqGT+UvSPECHJTMgi8xdDt7H9VZkaIz1hNU 92l6hMBfdxEJ38LV+AFbYqdBX0MlHKBz35zcxcGMhyrbbmbUQsmk8IrQbZB+daSkbF/x nK0QStVndOFkSa9DHs9MpQlYiExLxn/dntzcuQYtv9U7vbUPJUuiXvnD0PYT7JdENlys iXgJsezd2VxuSSsU6qWA8Wvl+u/0MDijI8XRsETQ4uQCuePaUbG+omGe7xHCMd+I5ey7 i+/Q== X-Gm-Message-State: AJIora+ZhID+Yvr2PJS7TX6a31nBTn8pIpg/Xhz/Q3ZK/gQRK7wFRDTM UTcYjuGEb7hywzfbreUMHD9zKzZPMoc= X-Google-Smtp-Source: AGRyM1uWlm3FgkutldpuiuejldQ97zPWDnEuPoLckKCdAfnncEUHrM29c+9Fc/zmBEQuXBG2RXuA2g== X-Received: by 2002:adf:f38f:0:b0:210:30cf:6e4a with SMTP id m15-20020adff38f000000b0021030cf6e4amr3933617wro.676.1655198924511; Tue, 14 Jun 2022 02:28:44 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:c43e:652:64b6:8eb]) by smtp.gmail.com with ESMTPSA id n189-20020a1ca4c6000000b0039c747a1e8fsm16332977wme.7.2022.06.14.02.28.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 02:28:43 -0700 (PDT) From: Robert Pluim To: emacs-orgmode@gnu.org Subject: [PATCH] Don't quote symbols in defcustom types Gmane-Reply-To-List: yes Date: Tue, 14 Jun 2022 11:28:43 +0200 Message-ID: <87h74nzj90.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655199889; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1mrWsGFAC/1zi4X83rOP8WRwTN28zuwfeSmFGk0WWI8=; b=XqD1HnaYQ7yidkIxshiMcCLaKJCdN4+pmeuqHMAS7Fp1ER2tVM2PZgqTPoml2dg9A03ZH0 ImUJUj3YHvCoVuzT28uEoYvSctgS2OhkGxzUkRUF908QuEfuY2GUOnAFPNwhXsR2pFyHdz E/Y1BzfMh0wmcyhiKl5QlAO4OUAPAF+imLtfwnEVicP1WEIQpZ4hDT0c3755J2WnoNhDmN 8DraIkmJuNACoU1W2nZ3YpRX1JER2APhGrChk+t3T+ttFpt53UZXxFT2Qygv86Lu3Tp+Im pHUSGK7uVzcj5Zs9SLNJp6tUGEF7jcX4tS95gW467pzVC/DRS2sjqIVrq6/Olg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655199889; a=rsa-sha256; cv=none; b=uG2cx+XAF9Sx23QC4wD4Ci0i7sRaRl17LjMR/BIbi+/bk8BpxxW708qWrQk83GYVWXk+7P 5ABSis3I2wtFqkbS2XwKsfQddaYasfLd+0YxyhqS2R986W7mWlXi5SkCkrq3YkbvBtvGu7 QfbDTSocWILwzSSBfAbKMm6bCp6eTXNJSbU/BnSPwaMLS0mdJtUb9GujLWsVQuzEuHJVvQ 9GcvyqsYry9udx9lDBQaU34POWBuaKzEU8kPqqYOwUTYn7sdmdX6DU1CeIAZR77lBqWd9o AxWM3lChKauAzUjcShAWP541xzmjbyjgmgaw+KFhlzJhhUzmKlwlpMEVpmLYeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jTXP8DxO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jTXP8DxO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A950A2DAF4 X-Spam-Score: -3.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: h+Hz9cnFZ5Je --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable A couple of places in org main quoted symbols in defcustom types, but the type itself is already quoted, so that=CA=BCs not necessary. Thanks Robert --=20 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Don-t-quote-symbols-in-defcustom-types.patch >From 3163652a7eecbf84c767c6740822e00cf842e607 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 13 Jun 2022 16:15:10 +0200 Subject: [PATCH] Don't quote symbols in defcustom types * lisp/org-fold-core.el (org-fold-core-style): * lisp/org-persist.el (org-persist-remote-files): (org-persist-default-expiry): Don't quote the symbol given as value for a const. --- lisp/org-fold-core.el | 4 ++-- lisp/org-persist.el | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/org-fold-core.el b/lisp/org-fold-core.el index 5dda133fb..939702c5c 100644 --- a/lisp/org-fold-core.el +++ b/lisp/org-fold-core.el @@ -302,8 +302,8 @@ (defcustom org-fold-core-style 'text-properties :group 'org :package-version '(Org . "9.6") :type '(choice - (const :tag "Overlays" 'overlays) - (const :tag "Text properties" 'text-properties))) + (const :tag "Overlays" overlays) + (cnost :tag "Text properties" text-properties))) (defvar-local org-fold-core-isearch-open-function #'org-fold-core--isearch-reveal "Function used to reveal hidden text found by isearch. diff --git a/lisp/org-persist.el b/lisp/org-persist.el index 068f58cec..ab1365220 100644 --- a/lisp/org-persist.el +++ b/lisp/org-persist.el @@ -196,7 +196,7 @@ (defcustom org-persist-remote-files 100 :type '(choice (const :tag "Never" nil) (const :tag "Always" t) (number :tag "Keep not more than X files") - (const :tag "Check if exist on remote" 'check-existence))) + (const :tag "Check if exist on remote" check-existence))) (defcustom org-persist-default-expiry 30 "Default expiry condition for persistent data. @@ -207,7 +207,7 @@ (defcustom org-persist-default-expiry 30 it should be a function returning non-nil when the data is expired. The function will be called with a single argument - collection." :group 'org-persist - :type '(choice (const :tag "Never" 'never) + :type '(choice (const :tag "Never" never) (const :tag "Always" nil) (number :tag "Keep N days") (function :tag "Function"))) -- 2.35.1.607.gf01e51a7cf --=-=-=--