From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBoiKj4Qr2AYewAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 05:21:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ZLzYJT4Qr2DlLQAAB5/wlQ (envelope-from ) for ; Thu, 27 May 2021 03:21:34 +0000 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 D4ABC17137 for ; Thu, 27 May 2021 05:21:33 +0200 (CEST) Received: from localhost ([::1]:58838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lm6aQ-0003IJ-UQ for larch@yhetil.org; Wed, 26 May 2021 23:21:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lm6Zp-0003I8-LS for Emacs-orgmode@gnu.org; Wed, 26 May 2021 23:20:53 -0400 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:45796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lm6Zn-0007bM-O5 for Emacs-orgmode@gnu.org; Wed, 26 May 2021 23:20:53 -0400 Received: by mail-ot1-x332.google.com with SMTP id t10-20020a05683022eab0290304ed8bc759so3085469otc.12 for ; Wed, 26 May 2021 20:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=LcAkqNhCbnKtdtdITWZqMEBAcBbuW7XMQfERkNWzK0A=; b=VGM9pfXWQ6smA/wpcVt4QazfoIA2pMgJme7Zv5CRtOKB+RWtq6/YhbK5Du1CIYBSEE llmWo9WFZ83WgM6XYhxhq/Xzfv2/TGWWdPoFLX1atcXMVsnuuzp80rSprdnIAbhretAG c5TpAQqxgLKWjAtUH9vlKAb6DAQWTe0B/Kv4UF1DiAKOQrvO89roDdmRwq64tZkyvfXF tQYvjEikhi1kp+m/HzARMCtiQJsI1jbVcFyl4xMOhZUZqxyQu18R+w/f+saP19kNhO+G L4lAfy/X/GSdHWrb/i/VRlGAJ7P3VEtTVeP3n4wmANG02aE7E3JyKhkBImJ/1Fhj/lyY JI/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version; bh=LcAkqNhCbnKtdtdITWZqMEBAcBbuW7XMQfERkNWzK0A=; b=U+Q1KbiSFXVjlGPhHfkDpWPry5286zGFR2aK5Gi89tnEB+nVGFYcgJOw2E94nnW+qF 9aVv9bq6FKxtUidXNBc64m8dUXh8gYkZBYlSCXECqQlcHtP2js25izNIlmF8O6I0on56 ES3HhhVtUlt1aEWHxKXpWNjXbdEW2TvtqhVc6lybDzxqt25L4QkBxG2uArgmGCD6gnPt 2sPGO7d+tkc+iCW7GWUu6zF+PR13rAP/ziOvw5uWMG6+FJrgece/h28lI1xHAE8mNPR0 huIIYlF82tnZhmajfOLeTxl0cqW5NwOiMU8CPHX5MVpZfdWGbeRZlDzUua516rRTQY4R 1pLw== X-Gm-Message-State: AOAM531cyUD3s2fwUKcLuG3JdJVsci3jvv5/dWnaXoO7qsd+6CiSfEsJ L5thdkwquZqRg1/fK+ykxgI= X-Google-Smtp-Source: ABdhPJxEr+OfxdVCgbgk8icEgZMdabDXiO1BfGKkEdUPcBF3JKRVfN90hwZ64R8kW7u2Ba/wooeXDw== X-Received: by 2002:a05:6830:18fb:: with SMTP id d27mr1104965otf.235.1622085650461; Wed, 26 May 2021 20:20:50 -0700 (PDT) Received: from localhost ([192.200.115.226]) by smtp.gmail.com with ESMTPSA id c32sm247062otu.13.2021.05.26.20.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 20:20:49 -0700 (PDT) From: Ihor Radchenko To: Radon Rosborough Subject: Re: [BUG] org-compile-prefix-format regexp change breaks eval forms [9.4.6 (9.4.6-gf72a65)] In-Reply-To: References: Date: Thu, 27 May 2021 11:25:33 +0800 Message-ID: <87fsy8yi1e.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=yantar92@gmail.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622085694; 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=LcAkqNhCbnKtdtdITWZqMEBAcBbuW7XMQfERkNWzK0A=; b=LuFiLRI0eoXrRkcsASeZlSfVA+T9JVTNRjvBE2bjKSXPqmdsr+4n1/sC5mDTefflzvAVjr DU2pawXu2b9pCoUY6+1TzNtEA4USTVvddmoPlCM7ky0goaUJOgYbRjrF73WK4r6xTLtVZp HNbtB4MMsrSvWLLmO4D37mlnppAcPXg7o80H2NEUO/1BPQ2WP85rMRs3o7X80XHODfngCy RgePf2P8QREC3UaeoPHJFvzTaCA55eMOutQY9R/B122tb3E72ny6X+65ZQ1Y//K0V2SeOQ SD9g1PeflWoQlp5lp4HEkZmTkgdEHedouqBnmKcg0JFS0EHtOQcVleNpZ1Gqlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622085694; a=rsa-sha256; cv=none; b=V40s1MYTD5CTbzdNdKjLjxabgbs5RKZnVQtffS2C3HajeWnxOIJu31OixhQtJEU+WqZdGK Gqd0iw7k4gkldkpPTFfxwmq3Ag4Zvx3Ebm9P9xWs+I7aq8ffIpqBtqM+ZOVOYBczM4UAdI 7ckPETsRJAH+yEaFI7bEEH1lMFplV9mSk8mBhsUHjTY6yJfywJemAOvJ8Iia3BxpgFfk/a JtItCN5soYXSqmUx0lKql3K/iubnUiIn0t+/Bslg7/Tmrswr8tqWWuTAWqqOr6zygcIVY6 b++21SFp8BmUyOajYyvKLWNZ0PZ90MX5LFscvh/trAfXDGVQlZkv6uRmyJxZEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VGM9pfXW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VGM9pfXW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: D4ABC17137 X-Spam-Score: -2.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9LN80yrWKZL7 Radon Rosborough writes: > Hello, > > In commit 0260d2fcf603f30210e2b95d37727edd832c12e9 of 2021-04-26, the > regexp used in `org-agenda-prefix-format' was updated to use a > non-greedy regexp, in order to allow multiple %(expression) instances > in `org-agenda-prefix-format'. Unfortunately, this change breaks the > ability to use nested forms in %(expression) instances. For example, I > use the following setting for `org-agenda-prefix-format': Confirmed. Sorry, I noticed this problem after sending the patch, but I do not know an easy way to solve it. To handle sexps properly, we need to do something more complex than just a simple regexp. Probably, using org-element--parse-paired-brackets or similar code. Fixing this is (down) in my todo-list, but patches are welcome. Best, Ihor