From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 10 05:41:50 2022 Received: (at submit) by debbugs.gnu.org; 10 Dec 2022 10:41:50 +0000 Received: from localhost ([127.0.0.1]:42018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3xIk-0005w6-7K for submit@debbugs.gnu.org; Sat, 10 Dec 2022 05:41:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:52414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3xIi-0005vy-9z for submit@debbugs.gnu.org; Sat, 10 Dec 2022 05:41:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3xIi-0003TA-27 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 05:41:48 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3xIg-0005Cc-A0 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 05:41:47 -0500 Received: by mail-lf1-x12d.google.com with SMTP id g7so10882957lfv.5 for ; Sat, 10 Dec 2022 02:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=QaizYOy8pElK0uv3TvyJg7Ftr+KRW1D7AhB9QEU6Puk=; b=jVkL5kanx+6w/LHue2up9q2vp29+IYm1aejfHl74qL7SKc9BuiaLxiQtv7PbBoGxID cnckJZj+ZGSWm1OwJqJxAy/2qns38BOFe3NJWFqfL7xCsb/e6sHF53MImEdpCZNH6+UB BlzpfhLp5ZXMltBalXNLmpqow0ljS98RDTEEtwQGV6gZV+WaRT3mMABBMNlm9itZsqd4 dJVv4bQiYXBhNO/fUoQ0OOpTpSHpCPhj5VS4cUMkaEbMyuVHBMOh7G/1kM1W8Elo/NTi SAhRqXo1G2ZLzGJKEtj+26tYjA63taXqMTbEwdON++GWxoqiasXQ/xKqiqgwluKxim+4 bOCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QaizYOy8pElK0uv3TvyJg7Ftr+KRW1D7AhB9QEU6Puk=; b=VN7ROiqOdlpyoAmy7YKSoBDVjklFRwL3PVP1Rl94qvsHAg85KZpNxD6KuTLPN2YjeK +K9LISnBTLfOvwPgwEUJVVK1+VgXEsW/hw8hyT/cdfSd+mq6TLFJAAJ2vX7yI7EopZWh Ak7/mT4K5SctwFIkxT9lmleMbAAPI79nlcbKwTQmvtSKuqyJtmvH0nYmOVqS2hZZ0Cab 9FqC9nooJD8d2F0e2RZarUqUv6uImqV+eCIR48e0Lu/QqW1oCKQ0o4Uq+cRqQmfpVKoF YGwxqpVtiMiE+VfSI0udRHjHOFMDlKltFWLSzgWEs1T52xIf0ldLtLrYdTfaFU4cV/qT HChw== X-Gm-Message-State: ANoB5ply6ExzaIH560ciEv5YOELNwR4MFAOlELTSy8z+3HGRgObMsy/n 5S9sfwS8LxDXi874V9Bu/4dv39hBkm0= X-Google-Smtp-Source: AA0mqf5IFU5ZCafssx9DyTTLIRMS9ay7jz3PFSzL7+qxhCuyGE9NU5SE+n3WEF+hwfCwMJXzwbAlOg== X-Received: by 2002:a05:6512:b21:b0:4a4:68b9:19f9 with SMTP id w33-20020a0565120b2100b004a468b919f9mr3260195lfu.33.1670668904014; Sat, 10 Dec 2022 02:41:44 -0800 (PST) Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id a16-20020ac25e70000000b004b591c33b99sm679291lfr.13.2022.12.10.02.41.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Dec 2022 02:41:43 -0800 (PST) From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: use-package-defaults type not updated for added keywords :pin, :ensure etc Message-Id: Date: Sat, 10 Dec 2022 11:41:42 +0100 To: Emacs Bug Report X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=mattias.engdegard@gmail.com; helo=mail-lf1-x12d.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: John Wiegley , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The type of `use-package-defaults` does not include the keywords :pin = and :ensure, since these are added to `use-package-keywords` after the = declaration of the former. As a consequence these keywords cannot occur in `use-package-defaults` = when using the interactive customisation interface, and since they are = present in the default value, the `test-custom-opts` test fails with a = type mismatch: variable: use-package-defaults value: ((:config '(t) t) (:init nil t) (:catch t (lambda (name args) = (not use-package-expand-minimally))) (:defer use-package-always-defer = (lambda (name args) (and use-package-always-defer (not (plist-member = args :defer)) (not (plist-member args :demand))))) (:demand = use-package-always-demand (lambda (name args) (and = use-package-always-demand (not (plist-member args :defer)) (not = (plist-member args :demand))))) (:ensure (list = use-package-always-ensure) (lambda (name args) (and = use-package-always-ensure (not (plist-member args :load-path))))) (:pin = use-package-always-pin use-package-always-pin)) type: (repeat (list (choice :tag "Keyword" (const :disabled) (const = :load-path) (const :requires) (const :defines) (const :functions) (const = :preface) (const :if) (const :when) (const :unless) (const :no-require) = (const :catch) (const :after) (const :custom) (const :custom-face) = (const :bind) (const :bind*) (const :bind-keymap) (const :bind-keymap*) = (const :interpreter) (const :mode) (const :magic) (const = :magic-fallback) (const :hook) (const :commands) (const :autoload) = (const :init) (const :defer) (const :demand) (const :load) (const = :config)) (choice :tag "Default value" sexp function) (choice :tag = "Enable if non-nil" sexp function))) There are various ways to fix this. Easiest is probably to cease = pretending that :pin and :ensure are somehow special and just include = them in `use-package-keywords` from the start instead of adding them = afterwards. Alternatives include making the defcustom type less specific and allow = any keyword, or modifying that type after adding keywords (a bit messy). From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 11 11:10:57 2022 Received: (at 59941-done) by debbugs.gnu.org; 11 Dec 2022 16:10:57 +0000 Received: from localhost ([127.0.0.1]:46811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4Oum-00062c-OH for submit@debbugs.gnu.org; Sun, 11 Dec 2022 11:10:56 -0500 Received: from mail-lf1-f52.google.com ([209.85.167.52]:38409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4Ouk-00062W-OM for 59941-done@debbugs.gnu.org; Sun, 11 Dec 2022 11:10:55 -0500 Received: by mail-lf1-f52.google.com with SMTP id g7so14680228lfv.5 for <59941-done@debbugs.gnu.org>; Sun, 11 Dec 2022 08:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=oN3RmKGEQ7umxgZO9zNBOh8k+2MFRmHUGmvxJ9etf8Q=; b=S0W5ud1qHag2c50FfUo8uwANihFCfZ2VXLydbA9F3EGUTZcQ6DX0Fqw9QPkAutWNdg cMIRX/iGlCIxdqnICnDVWTb5dqrxuQkEIk3XKOJKoz/fOPAS9ByLaLFUD/73tQDiX1Rf UJBoOdDdU3LTYmxFS6fOW3LpivmdlXXToC06lAsjpX1Ky8i2+xW35H45HAzpKW5FdPOm HD80RyNEWhQXhZRzwbpPRMJrZapFETzCZ4MQslivu/1Rt988XFbsjt0i7+8updmOlv6R Nhp1LPLXxTgf5twde9a/85T0qKcSWoYRFrb9N/1nQDs7eQoLktqT2jvvX+E0YBNg7PfA qaMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oN3RmKGEQ7umxgZO9zNBOh8k+2MFRmHUGmvxJ9etf8Q=; b=vs6cTxACfJAR5drjIkKGY0WncPFMTeFJgZ/9RsV1sPuEtxB8XgaIGTfSjR6kwPJyJH 0IjDSnnyBGHozMuViOB7q+Nd+s+TnMNevg0Ncy17PFrrEsbn1RoeDwVfrqEEW3pKai4/ NQrnsIyKtiIhwP1+BIeo2m0xhiYafhGXAPomp/l2LJ1IwGj80nlXAL0Bk2IzNDS3wEtD 6eIC2lsi8niliuHldBxwp9yEa6623hzU9ApZgapHhlZHGrl5NlJ7LCWczm2buvBEwFnn Z1yS0oXz4USNgy7aKVhWntjdxPN4aWZXuWrdYJBSYEeNMWK4ribor/51sodhvL6tJNVV NJoA== X-Gm-Message-State: ANoB5pnPRJ46K0X5xrUdGkAP3Qu6M3fbRlCsrPJCXMxSDVPI+omUpncJ FbvLvua4W8Fi8zHFXoeLvOCVyZ5ntSs= X-Google-Smtp-Source: AA0mqf7M3XhRSCl55zr/xdRFr1B3jbw24xz4QJAdrQAkrxtN3i/uCGNc6EcmWuTynay7+Hw1CVhUkw== X-Received: by 2002:a05:6512:2247:b0:4af:acbf:1500 with SMTP id i7-20020a056512224700b004afacbf1500mr3720963lfu.15.1670775048616; Sun, 11 Dec 2022 08:10:48 -0800 (PST) Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id o27-20020ac25e3b000000b004b18163476esm1221477lfg.112.2022.12.11.08.10.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Dec 2022 08:10:48 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: use-package-defaults type not updated for added keywords :pin, :ensure etc From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Sun, 11 Dec 2022 17:10:47 +0100 Content-Transfer-Encoding: 7bit Message-Id: <58797246-A94A-4E44-86DE-4CC8E43454B2@gmail.com> References: To: 59941-done@debbugs.gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59941-done Cc: John Wiegley , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) A simple fix has been pushed to emacs-29 (4893a15631) -- closing. From unknown Tue Aug 19 21:02:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 09 Jan 2023 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator