From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EAOUEleo42OoYQEAbAwnHQ (envelope-from ) for ; Wed, 08 Feb 2023 14:49:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cF6XEleo42MnlwAA9RJhRA (envelope-from ) for ; Wed, 08 Feb 2023 14:49:11 +0100 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 99D6B34586 for ; Wed, 8 Feb 2023 14:49:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPkoH-0001m0-4u; Wed, 08 Feb 2023 08:48:29 -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 1pPkoE-0001lH-0W for emacs-orgmode@gnu.org; Wed, 08 Feb 2023 08:48:26 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPkoB-0005GS-LH for emacs-orgmode@gnu.org; Wed, 08 Feb 2023 08:48:25 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AC7042403A2 for ; Wed, 8 Feb 2023 14:48:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675864100; bh=jbTAafvkuKFosmGCkmURoVwRwdBcitkHEOI+7Nkyg7M=; h=From:To:Cc:Subject:Date:From; b=J1vc11yruqXMYl0NnPbc8OOomSb+lOBJgbm5lu5yLPJhrZXQxZFpVEyZquXC44J+S hdXcMhcSSz7lorou8dvYHaoL+QOXUN6A9QpBhoHjumuUxGgGquLPOlAYQQuX1nqKRb ZBS19rQ8pa5TeFHuxxFfT40dhRHuJqXkMdPO3f5PX3qroHCA+30arHsQPEgGgNJAfU FXojDtNl8zaDSAh97wYW9VB0fijOkjrDeVWGMNkGPriYFhToELXkvboWZYo7EQeRoa Qg/yGRMsYAnZ0QZVJXz8I+fZagy8V3VuwplnSvSzbnniq66l7E2T8y40Vwf8PGItit dl6UQmMDArwAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PBhCl6v22z9rxN; Wed, 8 Feb 2023 14:48:19 +0100 (CET) From: Ihor Radchenko To: Qiantan Hong Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] :safe predicate for org-link-abbrev-alist does not make sense In-Reply-To: <950326F5-F72D-4F51-A946-F37E96971B08@stanford.edu> References: <950326F5-F72D-4F51-A946-F37E96971B08@stanford.edu> Date: Wed, 08 Feb 2023 13:48:58 +0000 Message-ID: <87o7q4clo5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=J1vc11yr; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675864151; a=rsa-sha256; cv=none; b=sM7DhtHfGYWAbSm++KH12AmnAnKAcVRXFVbWnV4AVUb59kjIb0kjkqdttpSFpun8eoZM2+ UPfeE8ZeJV5pAmvS94oYXBu7qqnMBa40ZpVn8SXViEEBAHpug9FoeMRbYaub1kiHZlI6lP ruixl5ReUWuc6X3K1N5TVtPC3aDqhuTOKvoHFJ+F3lNXXgQsO0bLAIwULF+Z8Tf9FSoMcK apVschpPbdoIKljHYTTP1zE0JvvgOLkt4oOgfN/8oUiWkKLx/xIoEKXW26DBRwIr2lyP2S jUTqvOEik+HedHnGz/CTkzE3/D8OgYktsHlJpB1p+EPqCH3pIXt9QufRgiBibw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675864151; 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=xWbvTNKCzubHhmJMzc3UIoOCfZVv8ntqbkDxmcAXttI=; b=eoV0ujs1PZ7mQxMzMPcM7U1JdAJJcNqbNt8QiZnqaC4OQmRKZTjjQATBkH1v2t/bVoEDHI 2GOqdGjzqbmkwM197dBC+fH2V/JQU6AgNg9gaFk9LnIolFr6pwIUDk3Rg0meagEsNjzsqW /jgmV05XydIhOqoHGEDYyW3ELZFdlCggdqbTW5g0oJoXkZ/NuGf4E8eZz8BdIrPAHvjEOP mgaEQ39Qi6RojEQhYyjoO+F8MUEVq/gsj9wRErYE6FUX34v71+9X46dBRVZizgTt9A3Csz SqZJ05F0HHEg8o5RIlZ3a2lAlNA3s4MewHCejSxn30PZUF8pNj5kjj3Aa6tvIg== X-Migadu-Spam-Score: -6.07 X-Spam-Score: -6.07 X-Migadu-Queue-Id: 99D6B34586 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=J1vc11yr; 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=pass (policy=none) header.from=posteo.net X-TUID: c3jBInvGns9B Qiantan Hong writes: > The predicate is currently > (lambda (val) > (pcase val > (`(,(pred stringp) . ,(pred stringp)) t) > (_ nil))) > > This returns true for pairs like ("wiki" . "Blabla"), but such values are invalid. > org-link-abbrev-alist need to be an ALIST. For any ALIST, the above predicate > returns NIL. Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6cbbf4cdb -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at