From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 AKA+DS1tQmMtCQEAbAwnHQ (envelope-from ) for ; Sun, 09 Oct 2022 08:41:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oFY4DS1tQmN5EQAAauVa8A (envelope-from ) for ; Sun, 09 Oct 2022 08:41:49 +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 E7CAD118DB for ; Sun, 9 Oct 2022 08:41:48 +0200 (CEST) Received: from localhost ([::1]:37442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohQ0R-0005sJ-Mb for larch@yhetil.org; Sun, 09 Oct 2022 02:41:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohPzh-0005rv-Mh for emacs-orgmode@gnu.org; Sun, 09 Oct 2022 02:41:01 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:35767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohPzg-0005Ek-3Q for emacs-orgmode@gnu.org; Sun, 09 Oct 2022 02:41:01 -0400 Received: by mail-pl1-x630.google.com with SMTP id h10so7933821plb.2 for ; Sat, 08 Oct 2022 23:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=Hju9sVQhL0lcKeV1MnDX0OI6vX1Q2D3EkmktRlnbgWk=; b=K872Ry4/JcF/f9+WHX6MbSr/vkOwyGjJnvQfsDV4S76u/4WJ1nfTJe7xVB+aLCLs59 sfbkE2Wci9VNU8VHTIfpcoqxHZBVZjBuZ7iN1X24E5NQUXpwWxWInn2LhZPuPQN5j4gC pgTDEbvtvYYfnQRja0+9ojuLHKK1ojNKu/2YMvq2OW6JHDmt/ILNQPpD8SvVxA2UCe/X f3Qi3kMDeplllR4iRW3piMimjWe7/5+Fx36bQsMESCCrQm62grjs8vpd+drvwOOW+g4A npVHYGUxlySmpZI6yIbKb4H34DCq818mc83tyLUf2BmnEFZd7XZtuMYn0ir+YrnHLoLe Iu1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Hju9sVQhL0lcKeV1MnDX0OI6vX1Q2D3EkmktRlnbgWk=; b=v5vRzl0/VK4AMIXL9Y8NWdOFkmJ3+awVc1tGy1tP1qnIpHC+175jNc1Lin84ZZOeCK 9M3atFiSkrv1kZ9JZ660KI53wc7jLb0jnHmFpHfLeg0zNcZRec7i6/sVUDsm5XN6xDx1 74g55hpmkkReTyDRBPG8nPpxZ7FoQ0r1Eb9AVqRyUQ/OTjK5n6f1WX0Pkc2VzTC5lKCQ R8sfF/Fg2ydi6aLQqgrXdKpN1HcDAb8vzXfIBE3hO/xcGIfG2OFKvqLoYlS/hJJxSAn3 rWdv752rtR7ydoXVPgtm/dvtPkHAs3PmWc95iyykOHFErqGeV9r8UsnS1pFqj+Wq5Dfo 0X+Q== X-Gm-Message-State: ACrzQf0Cx5nHdCRiff+yey8PSEVyyGnOMxovRiT2swYLOi5gSf602hes Lq1ssrkgPffuevwLc7zSTsW0C6iPkjrjCA== X-Google-Smtp-Source: AMsMyM6VhZZNekA6EzvOjoEiKT9GbRbe3qPGfPsZzK/uWyYBldArYKFtl0DlOGNFuDMFTr7d/giraw== X-Received: by 2002:a17:90b:4b88:b0:20a:cbb0:3c86 with SMTP id lr8-20020a17090b4b8800b0020acbb03c86mr24125492pjb.207.1665297657993; Sat, 08 Oct 2022 23:40:57 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id f2-20020a170902e98200b00177ff4019d9sm4199910plb.274.2022.10.08.23.40.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Oct 2022 23:40:57 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: Re: [Feature proposal] Add :description function to org-link-parameters In-Reply-To: <871ry3eety.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <871ry3eety.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Date: Sun, 09 Oct 2022 14:41:49 +0800 Message-ID: <87pmf1ebwy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yantar92@gmail.com; helo=mail-pl1-x630.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.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665297708; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Hju9sVQhL0lcKeV1MnDX0OI6vX1Q2D3EkmktRlnbgWk=; b=afCRDfA0wJfMlxSjXhc+hdQ9TBoO8V/7+Oh75NCTxiln1GJ9chw/oPW9f7tWGaa075SF2y qpH2XgeKFb++GahxsHpyngOuHPwJXsSqO5JlguI47OzWCXo21IofTQRgnfp8PkC0fzipN4 PDmNEjauErNAlyUc6+7R4cUuRpGRpEw/1O0+mSmlAPln+hQf9ZZ7j8/egwqkHyB4Ni/U01 PIj7jPnMjIenABumtKfOCKrqXi2flEvjDyL9unbJhjIkYXq6LHpWqOiYEyd0gdqoNMlCjy ESxTHGhUlFUjfsg9xCRJoD5pCf6cRjFfUeLdM1NVc5eLhlFP774rKUO1U7HWyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665297709; a=rsa-sha256; cv=none; b=UZxi9WzUvS79lMdOOSeRcRaSqivlPaQRQSrqVQnGNiU0GQxiaQ3MS8XONOi5nP0t3Wr8QT yhHxqv6gndGOoRQXtEZiiiUn+uDwkov+7/7RlJndgxoL69EBA4nVxM3GF/hX3FRoH5MkbJ HDKf/NqcXW3SYFjeEbesGeaPQsy1G/T6QFv0WYDPb20bhHTdfnMFnfLPQvsG7J4OFGu/fD KmWDiW1d9uo4wNwHEqRj/MiesilS+zld0aquu6sDtUEGjAtczdsfeinOFgIlyRhAkobY4z J6YCAZGZzJ66zXj3EkfLjoBaN6//07zbbMafEcJnZLZryiTBggi2Az6vXasZSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="K872Ry4/"; 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: -4.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="K872Ry4/"; 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: E7CAD118DB X-Spam-Score: -4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: kPUYfiByrfVg Ihor Radchenko writes: > Hi, > > Wondering if anyone is interested in adding a new org-link property to > customise generating the link description. > > For now, there is global org-link-make-description-function, which is > shared among all the link types. If would be more convenient if the > description function can be set independently for different link types. > > I propose to use :description property in org-link-parameters. A sample > implementation working with current org version is below: For record, this feature has been implemented in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e3a05d09b7398b46e8ef724ae7609eeb8a35346e -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at