From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CN5ZEM9LeGUaawAAkFu2QA (envelope-from ) for ; Tue, 12 Dec 2023 13:02:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oLy8Cc9LeGWm6AAAqHPOHw (envelope-from ) for ; Tue, 12 Dec 2023 13:02:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=madlon-kay.com header.s=google header.b=vjVDc+c4; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702382542; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9yCCw1PkxKRbvaIL1+QdAPdB18np8Gq2Xhb4QH0NXE0=; b=DYxOBIjSVBBzvbdDZNpeTQo54bi2n1fJaFvCipEaXxk0fdiqHIBgjorazqpyYkNzuxA3ia K3Qhr4YiBA6EswfV0U5tbPi3fxy9stkTu8GzyXlVg6tZ8+WDwPuxOOSK/7L0xdbUWozru5 yRFzO92T9vK7xz0BlMXhRpVBco/kYlGioPJNem/EXNrDeRN7fWr3MKjkNFGHvCMELpnHYK QegM5m40UIs8IjPK0fr9TpZ+szvDsv9NN1bOiCeJvOAjiicP2ZvFHisJy2yTKX39ytl3mx JhmeKd72ztiiPyOgPLVfblbGocfee3s2FEDPvRFrIgZ70eUWhGbS19CwADqvDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=madlon-kay.com header.s=google header.b=vjVDc+c4; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702382542; a=rsa-sha256; cv=none; b=svLea0YqpRo3DA1c+V1qiIeaV8fJvctsHVOBPYTXkO4px2i7TuiQliiguh/8JSeCKgBMA7 ShrbRRQ8f9kwNHlghRqUjCVee9dnOfvlxq6ciWST6A7iTpYpQZCzgurYIEBTZ5NpS+mvUQ AipL3HNlSAdA0Gwis+NFH2HcJXPKJQskMwRI1V4HNmsSgg+/YLd51NmubD0uBtfF+8eoAI nFqU73K2Crq8eQ7llfHD6jMP2jN2oAfhwJjIaMM8wn2f380HlqnRqw7U3UNtx6Vt5PRck6 iupH4juZcDPsU9rPmETJSEHwNye2c/mZ8taAO46HnjnaOcmZDLNG3rrywL06cw== 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 14BDE42746 for ; Tue, 12 Dec 2023 13:02:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD1SH-0008IL-VM; Tue, 12 Dec 2023 07:01:42 -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 1rD1SF-0008I1-3f for emacs-orgmode@gnu.org; Tue, 12 Dec 2023 07:01:40 -0500 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD1SD-0002JH-Cs for emacs-orgmode@gnu.org; Tue, 12 Dec 2023 07:01:38 -0500 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6ce939ecfc2so4851476b3a.2 for ; Tue, 12 Dec 2023 04:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=madlon-kay.com; s=google; t=1702382495; x=1702987295; darn=gnu.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=9yCCw1PkxKRbvaIL1+QdAPdB18np8Gq2Xhb4QH0NXE0=; b=vjVDc+c4LA8vqIZF0wNMfEfjWKrd6ubH3CK06pTcv5/L1nHXpQDNQswprpP2tiKtdW YXwHj97tQYeUwFkENgAZh0ptfm5lG1w7qDn8H1Tuyq6xwQ9zD36afHxpU6k6AMVxoYb9 Z+rVhr0+0PgyPfSaKoEPczJcyAY8W3jmwOBIU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702382495; x=1702987295; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9yCCw1PkxKRbvaIL1+QdAPdB18np8Gq2Xhb4QH0NXE0=; b=RUseqqJA4ge5HXZowLOmwJS47TKvFWm8dT85wNcMPMAjLSIG44IlTisUhCzLMNlzVz NqhimBCwiyCywMJZgBU3PSPG+dnA2J7Rmuqdm+zm8nHv4ELw4S1iWXNIyuz/884D248x +GLNvi21orEEpTO/v/fb7Q4AVlcpgosfyTGvB1Yt2fN8ISttINgI6uKt5+S8joe//I0Z 3a554ljUxluH3S5L3c20HxUvwybALGgFm/hYHW4MmyhesQHZ9gQSFmwxyN8+r/OBKHK1 cNLQ5m8Xq8SmFFkGOnx5wGcdKo90+BWv9IOH1DOKtKjBDE7PYjDwehOWHx2ZarZE7WcM 9yQA== X-Gm-Message-State: AOJu0Yx6KydTYyHYr9Vam4M8yuSpbhrmqEWAY3cAQoti+ZkdlOK66htt ElCdOjFLagnLfEul+9zeeTE6WJ6PMFVxBQdS/q4= X-Google-Smtp-Source: AGHT+IHe6rbtDQtF4aHBTLorHBXpEZrrW2N/67OOcKpoykvOObmSIU70VhI+kQIuNIJcL1F4fZju1A== X-Received: by 2002:a05:6a00:4b4a:b0:6ce:2731:a089 with SMTP id kr10-20020a056a004b4a00b006ce2731a089mr6022454pfb.56.1702382495050; Tue, 12 Dec 2023 04:01:35 -0800 (PST) Received: from smtpclient.apple (p4139069-ipxg22701hodogaya.kanagawa.ocn.ne.jp. [153.129.207.69]) by smtp.gmail.com with ESMTPSA id r22-20020aa78456000000b006ce7c28be72sm985980pfn.118.2023.12.12.04.01.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2023 04:01:34 -0800 (PST) From: Aaron Madlon-Kay Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: [BUG] "Safe" local values for org-entities-user not recognized as such [9.6.11 (release_9.6.11 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)] Date: Tue, 12 Dec 2023 21:01:21 +0900 References: To: emacs-orgmode@gnu.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3774.300.61.1.2) Received-SPF: none client-ip=2607:f8b0:4864:20::42a; envelope-from=aaron@madlon-kay.com; helo=mail-pf1-x42a.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.11 X-Spam-Score: -0.11 X-Migadu-Queue-Id: 14BDE42746 X-TUID: xkteHC5PwO5q > On Dec 12, 2023, at 20:40, Aaron Madlon-Kay = wrote: >=20 > Locally redefining as follows results in the expected behavior: The previous formulation was not very good. Actually it seems that the = existing function is correct except that the list case should be wrapped in (seq = =E2=80=A6). (defun org-entities--user-safe-p (v) "Non-nil if V is a safe value for `org-entities-user'." (pcase v (`nil t) ((seq `(,(and (pred stringp) (pred (string-match-p "\\`[a-zA-Z][a-zA-Z0-9]*\\'"))) ,(pred stringp) ,(pred booleanp) ,(pred stringp) ,(pred stringp) ,(pred stringp) ,(pred stringp))) t) (_ nil))) Regardless I leave the details to the developers. -Aaron=