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 0LMoOkVweGWDWAAAkFu2QA (envelope-from ) for ; Tue, 12 Dec 2023 15:37:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4NpGNUVweGU8/AAAqHPOHw (envelope-from ) for ; Tue, 12 Dec 2023 15:37:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=madlon-kay.com header.s=google header.b=vPJqpBGA; 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=1702391877; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zQ9wMbCWao5Wge6GF7AZXFmOM1usvmHxO9o75PQUYMY=; b=lUiFJyvUNr9P5ffuFxPxn6F/vZQQiXrLLpCTjwo0nv7UdPSuR0lO4LM6Eh3vhT+p0xM334 WfaSWcR3pc0y33LsD7WFLrKL6wHKsV67YyaRuXXvpRaoa7EUJqcrOA8zuZikw46nYFlHOX c1P09AM5dnrLajuXTCFXJyRufogfmOWUHrgioSYYcbSdmvs6J5AF/plnTQ/bmFp/AN/WMr 3wxNj/vf7U4uMzS+T9hOGFYIdojWfZCnb1qxvojfKvMXBzwV9hFWcdtBZdllzLQ0g1+wvl P0CyGmdRqvk4fWj58dFHA9lY70eK8qIkX5Xx26w/sAgnSUi25S23WqJZ1htuJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=madlon-kay.com header.s=google header.b=vPJqpBGA; 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=1702391877; a=rsa-sha256; cv=none; b=iRmuZVD3Z2RxvBDSN0q0FelIyh12Pmd0N4HXI2WsTUlAu9WckulgsBLfnJQnTbsnglC9Q7 hVnAbAwHKcQKheQF7a/5fvqqevX9BFnR7vsh177c4nQDgFSauatg5cvx9dL/BNUy6wsw3z xRu9ZDzGmJ8Cy5e4r1vXOjFHeot9nBbpyd/evOTpZ9GDi1b8o2G92B3ixy28fDw/GTAImu 718kNOoerKgk1Y19j0uIJuRzaBdkqgaGPCQo1+TVEb4lP2Qlxfl8pOXncO+OFMPuTpRFpe G8lWRdpZMnAEshN8wisKm1h6hs5/9ND3f72jGw8IohaQo6vOAwYJSqRLpIF8XQ== 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 69393348D6 for ; Tue, 12 Dec 2023 15:37:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD3sf-0004H2-3S; Tue, 12 Dec 2023 09:37:05 -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 1rD3sd-0004D1-B3 for emacs-orgmode@gnu.org; Tue, 12 Dec 2023 09:37:03 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD3sb-0007c9-MC for emacs-orgmode@gnu.org; Tue, 12 Dec 2023 09:37:03 -0500 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-286d6c95b8cso5565358a91.0 for ; Tue, 12 Dec 2023 06:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=madlon-kay.com; s=google; t=1702391820; x=1702996620; darn=gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=zQ9wMbCWao5Wge6GF7AZXFmOM1usvmHxO9o75PQUYMY=; b=vPJqpBGAuEZKLuP4Tpe7/MvtaxDW/NyhcvonzDZd0RDxA9MUSJmCwN29eOgVThbr3f NL2+GXquE2LPQoCDVJw6jo9uHPI1ozDyLIr1akv6RoVso1pQ4SiwatC222fsjF5xUOlq s9AZlQokRV29+/nCq/lxZtEQSJUC/dUKh5iEI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702391820; x=1702996620; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zQ9wMbCWao5Wge6GF7AZXFmOM1usvmHxO9o75PQUYMY=; b=oArAngS8qgQNy3CwEHBn9xBzNAdmnveN5v5cEmNwvidOjGoSv8K9PUzvBRFyHLVBCZ zFA5NxhzliR6YdsJwDJ2UNOSIBo21R5uCzTIyFbay9zpLaP2ODZChWrA9rumfp8jPihK O+XijpUdRAdSw/mU+m6ABCbHQyafb/xDpqrk2leiEQIuSB03q5XiQRA+cjzjX5SQ8KPP bz1sQdUY8xpL+v4ob8+x5b3nd6pfqUxrpure0uXeXbKiuAtSmb+8dsroAHB6Qa6WhjjM BJ3ZsG7jdkzFHlaNE9Dz8PSqXECa7c40P1GzBGcCkT/Docg6q8IXIYm7cMNPcO4ZyMrC JJIg== X-Gm-Message-State: AOJu0YyXun9JLl7IN2Zx7GzDJ5DaBowlfC/Mz4ZkCetoYYSCjX0lnITW 2n2htlJarUE32Mn2WDeK9XSpBvMWt5+H8uE4fX8= X-Google-Smtp-Source: AGHT+IHQQ4s1CtIlL2VHcg4qecjxerBUGWvN84xDhnqn4Icnmvw2RM0mR+gCIQ0A6mYefgpYGnwfRg== X-Received: by 2002:a17:90a:8990:b0:286:79b0:2f42 with SMTP id v16-20020a17090a899000b0028679b02f42mr4766271pjn.0.1702391820101; Tue, 12 Dec 2023 06:37:00 -0800 (PST) Received: from smtpclient.apple (p4139069-ipxg22701hodogaya.kanagawa.ocn.ne.jp. [153.129.207.69]) by smtp.gmail.com with ESMTPSA id ft11-20020a17090b0f8b00b00286a53e70c6sm10487662pjb.43.2023.12.12.06.36.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2023 06:36:59 -0800 (PST) From: Aaron Madlon-Kay Message-Id: <383539A4-8599-498E-8FEF-665B74A2AD08@madlon-kay.com> Content-Type: multipart/mixed; boundary="Apple-Mail=_B2BE4F70-146A-4C86-9A0D-5DDB4FFED289" 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 23:36:47 +0900 In-Reply-To: <87y1dz5wxm.fsf@localhost> Cc: emacs-orgmode@gnu.org To: Ihor Radchenko References: <9F699FA3-5FC1-4470-958C-05DD976B6096@madlon-kay.com> <874jgn7f7s.fsf@localhost> <98E48EEB-5E10-42ED-91D4-9369B6B98B20@madlon-kay.com> <87y1dz5wxm.fsf@localhost> X-Mailer: Apple Mail (2.3774.300.61.1.2) Received-SPF: none client-ip=2607:f8b0:4864:20::1030; envelope-from=aaron@madlon-kay.com; helo=mail-pj1-x1030.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-Spam-Score: -5.14 X-Spam-Score: -5.14 X-Migadu-Queue-Id: 69393348D6 X-Migadu-Scanner: mx10.migadu.com X-TUID: G+YPIbgUEjrN --Apple-Mail=_B2BE4F70-146A-4C86-9A0D-5DDB4FFED289 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On Dec 12, 2023, at 23:15, Ihor Radchenko wrote: > > This particular change should fit within TINYCHANGE, I think. So, you do > not need a copyright assignment (unless you have already exhausted the > 15LOC limit on Emacs patches, which I do not see in git logs). Ah, yes, that should be OK then. Please see attached. Thanks, Aaron --Apple-Mail=_B2BE4F70-146A-4C86-9A0D-5DDB4FFED289 Content-Disposition: attachment; filename=0001-lisp-org-entities.el-Fix-safe-value-predicate-for-or.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-lisp-org-entities.el-Fix-safe-value-predicate-for-or.patch" Content-Transfer-Encoding: quoted-printable =46rom=200716d90fe9a19fb668fd0fc6890adc565205f8d5=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Aaron=20Madlon-Kay=20=0A= Date:=20Tue,=2012=20Dec=202023=2023:21:22=20+0900=0ASubject:=20[PATCH]=20= lisp/org-entities.el:=20Fix=20safe=20value=20predicate=20for=0A=20= org-entities-user=0A=0A*=20lisp/org-entities.el=20= (org-entities--user-safe-p):=20Fix=20logic=20to=0Avalidate=20a=20list=20= of=20entries,=20rather=20than=20a=20single=20entry.=0A=0AReported-by:=20= "Aaron=20Madlon-Kay"=20=0ALink:=20= https://list.orgmode.org/874jgn7f7s.fsf@localhost/=0A=0ATINYCHANGE=0A---=0A= =20lisp/org-entities.el=20|=2021=20+++++++++++++--------=0A=201=20file=20= changed,=2013=20insertions(+),=208=20deletions(-)=0A=0Adiff=20--git=20= a/lisp/org-entities.el=20b/lisp/org-entities.el=0Aindex=20= 91c17f4d6..87d2fbe67=20100644=0A---=20a/lisp/org-entities.el=0A+++=20= b/lisp/org-entities.el=0A@@=20-41,14=20+41,19=20@@=20defgroup=20= org-entities=0A=20=0A=20(defun=20org-entities--user-safe-p=20(v)=0A=20=20= =20"Non-nil=20if=20V=20is=20a=20safe=20value=20for=20= `org-entities-user'."=0A-=20=20(pcase=20v=0A-=20=20=20=20(`nil=20t)=0A-=20= =20=20=20(`(,(and=20(pred=20stringp)=0A-=09=20=20=20=20=20(pred=20= (string-match-p=20"\\`[a-zA-Z][a-zA-Z0-9]*\\'")))=0A-=20=20=20=20=20=20=20= ,(pred=20stringp)=20,(pred=20booleanp)=20,(pred=20stringp)=0A-=20=20=20=20= =20=20=20,(pred=20stringp)=20,(pred=20stringp)=20,(pred=20stringp))=0A-=20= =20=20=20=20t)=0A-=20=20=20=20(_=20nil)))=0A+=20=20(cond=0A+=20=20=20= ((not=20v)=20t)=0A+=20=20=20((listp=20v)=0A+=20=20=20=20(seq-every-p=0A+=20= =20=20=20=20(lambda=20(e)=0A+=20=20=20=20=20=20=20(pcase=20e=0A+=20=20=20= =20=20=20=20=20=20(`(,(and=20(pred=20stringp)=0A+=09=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(pred=20(string-match-p=20= "\\`[a-zA-Z][a-zA-Z0-9]*\\'")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20= ,(pred=20stringp)=20,(pred=20booleanp)=20,(pred=20stringp)=0A+=20=20=20=20= =20=20=20=20=20=20=20=20,(pred=20stringp)=20,(pred=20stringp)=20,(pred=20= stringp))=0A+=20=20=20=20=20=20=20=20=20=20t)=0A+=20=20=20=20=20=20=20=20= =20(_=20nil)))=0A+=20=20=20=20=20v))))=0A=20=0A=20(defcustom=20= org-entities-user=20nil=0A=20=20=20"User-defined=20entities=20used=20in=20= Org=20to=20produce=20special=20characters.=0A--=20=0A2.43.0=0A=0A= --Apple-Mail=_B2BE4F70-146A-4C86-9A0D-5DDB4FFED289--