From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mGM2I5zl5GKhTQAAbAwnHQ (envelope-from ) for ; Sat, 30 Jul 2022 10:02:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oPEsI5zl5GLGLwAA9RJhRA (envelope-from ) for ; Sat, 30 Jul 2022 10:02:36 +0200 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 465DF12190 for ; Sat, 30 Jul 2022 10:02:36 +0200 (CEST) Received: from localhost ([::1]:58236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHhQh-0003Sd-BT for larch@yhetil.org; Sat, 30 Jul 2022 04:02:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHhPd-0003ST-Fo for emacs-orgmode@gnu.org; Sat, 30 Jul 2022 04:01:29 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:45937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHhPc-0005tQ-2W for emacs-orgmode@gnu.org; Sat, 30 Jul 2022 04:01:29 -0400 Received: by mail-pl1-x62c.google.com with SMTP id w7so6391557ply.12 for ; Sat, 30 Jul 2022 01:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Rvcer6UvgVMWNIj0S9szV7oNGUH9OrpbfBFyBkj/tJ8=; b=K+osjIY17KkGA6kffer2QvW9NwbqJB+qmhcxZYi9dYjmpeMpasIoqiqmElPJoQXQUI psr9mfrQv2YxMpkGvH/1NaS4JKcFjSJWZP+LveuSJKAvNWcqRMz5/IuADCXcCgR5X16z +BmFJqNWAelEiTEm+5wTbGPnDMmqGvY3cv1MdxwL5+5SkaZv1Eqouw9w4t7UJyP2fhDF KQiVDUPeGAin0fwZgIybCB/ZzAxueOaortMIO7RabHvEGB6VO0IcAa8Z0bWrIrrn8DiI AyLGKaY9+9t+56I4aTUUfgSf2p/zLyi6El8QU58QkNkdDYoFd6IrAsMbS+I7zIyRF9Cm rSsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Rvcer6UvgVMWNIj0S9szV7oNGUH9OrpbfBFyBkj/tJ8=; b=0kvX7eIK59p5Qwv9fpkebJt5ZWWhGaFHb7DidyWRg/usOkSjQ3o82K5xHRFt3bibnw V/ojvc/zWwRjfME75EXJ8DfAfkpRoPBtiUFeD5lvJUPl6NeOZcYJ0JBvr98MeU6tg5Vt lAMzUUYqv6DJ6nVr85C2SPQSAzoNLr1smmL6DkqACG6UJApxyVUGFlMbGghGFbSS8bmB B+Cidndhgji/nE4Y08Z5VhCCs/xDDbYhjSGAF6vk9Fc4Eee7xWywyBJNvRd9/2y7zgx3 85nJcFTCeielIg05IYz0007f9GnEPRgx0cEl8W9+jYhi9Iqtu2oE10sIMcw5DbD8PqxM ywkg== X-Gm-Message-State: ACgBeo0fH89tsR7fGbinCMjXnlNZ6EJ+nUz4PaIfHCDjjKMxy6x9YX7k ImAcbm+3etzwtr7ukuaCre9AOQB8MFkolQ== X-Google-Smtp-Source: AA6agR6NZ+qWNMpVnUsMDqYMuycZWdmkLI0GYX3k2rTGEoLT0jH7neP9vcNB/As647piHCGxBbO3YQ== X-Received: by 2002:a17:90b:1a81:b0:1ef:9e9d:a08a with SMTP id ng1-20020a17090b1a8100b001ef9e9da08amr8025564pjb.58.1659168086446; Sat, 30 Jul 2022 01:01:26 -0700 (PDT) Received: from localhost ([1.83.155.1]) by smtp.gmail.com with ESMTPSA id p4-20020a170902e74400b0016bfb09be10sm5018081plf.305.2022.07.30.01.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jul 2022 01:01:25 -0700 (PDT) From: Ihor Radchenko To: Hugo Heagren Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH v9] ol.el: add description format parameter to org-link-parameters In-Reply-To: <87tu6zf2o1.fsf@heagren.com> References: <87zgl1npow.fsf@localhost> <87zgi6fckr.fsf@heagren.com> <871qvixhfw.fsf@gmail.com> <87v8s8n1bm.fsf@heagren.com> <87let39d3c.fsf@localhost> <877d4flu3x.fsf@heagren.com> <87cze5e84m.fsf@localhost> <87tu7gkb4l.fsf@heagren.com> <87y1ws6o0c.fsf@localhost> <87k08bjw0t.fsf@heagren.com> <47248a4f-10aa-0980-c054-563f30c05aaa@gmail.com> <87mtd0gthe.fsf@heagren.com> <78b97c9e-fced-0ee4-f3f2-3cbe81080ffa@gmail.com> <87sfms9dx7.fsf@localhost> <87v8rmd53g.fsf@localhost> <871qu9xv8q.fsf@heagren.com> <0da49392-26c6-8ba3-f657-647522d59342@gmail.com> <87zggrg2om.fsf@heagren.com> <87edy3t8o0.fsf@localhost> <87tu6zf2o1.fsf@heagren.com> Date: Sat, 30 Jul 2022 16:02:26 +0800 Message-ID: <871qu3rpt9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659168156; 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=Rvcer6UvgVMWNIj0S9szV7oNGUH9OrpbfBFyBkj/tJ8=; b=IRCMQn1kyYLkXXJmPSR7u7s9jMQVAE1Wurqveaf1d2PMo6NZq4WluiUOfG3W1O7PDy/VJt m+Tz5mUbBpgjZ2qo8eHDABeoFIkut+lT5F755CFieHpluQVcrWwTjPDmq3LCRRroQC55xe GW+KGwOSILiYeS27+YyV4wtN69QaqZCzHd219+gdM6Rqnyyc4gVJLK/TyKjRU1p6ZxamxB J/QT+eqvm+Z7ONcy0Q2ehZTHO5vOgVK/mXr/4Lx2V6WBEj6JUeSPJP9UlKQnzWAI+eyrtc B+g1X65OtyhMQzW/1YBbmShriENGnJsfS1SvQT+w1m58EKAmwF1s9rI08voPGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659168156; a=rsa-sha256; cv=none; b=K+ruAslueOxOkJAwAfKFzjS44/hf0QrgHeDqqtNp7BxnFWgi67qoCGqMjxEUdQ4WkbW58D HqXDPYZHAgYCaapYCuVOgPnrfLs4r4p+MPS2qQuU43XRdXG53hy7CJ48CaZSrm7PSDWnO/ 2x5f5sXZ1gDb3dns4freX5jR/z9ii3LsUvE9kRraLim32CsfBVdCZJh1kNegKOl/MZl/ac 6ouQVy6FT8qgK0gp0pHxX4d9pplHOIa/tziQVZ01GuNBVoeWwCK2czEJht8F9XaZhbpzXG WntDorZd5eVPzwvqD9rXfe3wNeZp0qJXllgCHb46p4Bboq8E6ot8LRJdtXrMow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K+osjIY1; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K+osjIY1; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 465DF12190 X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3QT9hfGHj1U3 Adding Org ML back to CC. Hugo Heagren writes: >> The rx-to-string call may still suffer from the described edge case. > > Yes, I think this is a good idea. > >> (and all-prefixes ...) > > I'm not sure what you mean, but I don't think it will work. I mean (and ,all-prefixes (rx-to-string `(: string-start (submatch (or (and ,@all-prefixes))) ":"))) Best, Ihor