From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uF21Jf9AQmJ8BwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 01:13:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +AIjHv9AQmKCCQAAG6o9tA (envelope-from ) for ; Tue, 29 Mar 2022 01:13:03 +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 0B6CD21494 for ; Tue, 29 Mar 2022 01:13:02 +0200 (CEST) Received: from localhost ([::1]:58704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYyXl-0000Xe-SR for larch@yhetil.org; Mon, 28 Mar 2022 19:13:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYyWz-00009X-2h for emacs-orgmode@gnu.org; Mon, 28 Mar 2022 19:12:14 -0400 Received: from [2a01:c0:2:6:225:90ff:fed2:2b47] (port=41870 helo=mail.oa5.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYyWt-0003fY-FJ for emacs-orgmode@gnu.org; Mon, 28 Mar 2022 19:12:11 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) hugo@heagren.com (authenticated bits=0) by mail.oa5.com (8.14.4/8.12.11) with ESMTP id 22SNBxDf009618 sender hugo@heagren.com for ; Tue, 29 Mar 2022 00:12:00 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=heagren.com; h= Message-ID:From:Subject:Date:To:MIME-Version:Content-Type; s= 202203; bh=jBa0+oEunM43UywYdZkqf6GzKaA=; b=CipPZlv/QLfYgxdqLqggK OcEemNNxs7wzCzw9aM93lyrc57UQVqzplVeFRAvo2RaTzzW7uDAz3apT1Np+ERYG 4UneGZj3kZC+mRmOx8TGzEXCym5d3IefF8Me+Sr18rZsdIhVdsu2cz/EVIDhWNzE 8cuh6Nw65EZsNrSMpz2eLdS6hIuUzzju3DY2uv9pkB8IP+QoyrUIhFgBojIdnZi5 iffLC8qA2KShcDI6Idg7MZ0SADJR9pvSsqGiR9KzUqX X-Assp-Version: 2.6.5(21218) on ASSP.OA5.COM X-Assp-ID: ASSP.OA5.COM X-Assp-Session: 7F4B07791438 (mail 1) X-Assp-Envelope-From: hugo@heagren.com X-Assp-Intended-For: emacs-orgmode@gnu.org X-Assp-Client-TLS: yes Received: from global-5-156.nat-2.net.cam.ac.uk ([131.111.5.156] helo=localhost) by ASSP.OA5.COM with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.6.5); 29 Mar 2022 00:11:59 +0100 From: Hugo Heagren To: emacs-orgmode@gnu.org Subject: ol.el: add description format parameter to org-link-parameters Date: Tue, 29 Mar 2022 00:15:48 +0100 Message-Id: <20220328231549.30935-1-hugo@heagren.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:c0:2:6:225:90ff:fed2:2b47 (failed) Received-SPF: pass client-ip=2a01:c0:2:6:225:90ff:fed2:2b47; envelope-from=hugo@heagren.com; helo=mail.oa5.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1648509183; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=129nFkL6jKBT243RokGlcQmiXxZ0LU9ktA3/I6uHfE4=; b=lie83krQ/xq9YrmVp4bxND1COTK37DqeJsLq/uMHoz0B8coWRx6qvmccs+PSQyUp6JpRW7 Lw1R8OQXFiTTsARlhzwaf9MNXHJCgvupqpyu7A1X7exZn+ldMxR2rr6Z0gmxT5JSpMjPga qhBVWWg1/tx5svBvdhQaCmppX1vwsEXMQoBrSYkgkkjc3CLt18nRyHrid4weFi7w/T2xmR PJnp9EyWxTwiP39cEuJn8q7X/MxlDYy+85wLf9fHJfjrMbiQfB5g3cqQeE5VPwWVrnzVuu c5JWWNDJ7XIL2bGKbrxw0+eW0nq7ysxfnz6wszOO1Gez1lqT395aZnoGcGxPPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648509183; a=rsa-sha256; cv=none; b=ery+/THYHnYR99rSaYVmcgGRsNXZrb4Uyy5gIXwZBGz+LgPhKKdNO74hFNZ6SmH+BZrGmc QLjTl/u0ptqbvRWBDlmpZTyalqEjru6TbcARWYPd3crOiJfoJ0a7o3kMkcOZ9jkyilDjak ZpdXTMgUWThUxiOgkul5Du95jc6fFSdXoYlgA6FSOWSNBMnRjHyMfpa7rGbBWlWIyk0Cmp vGWYvR26W83J9xhDAtvOzVXjm+krkuyPxtGJou6y77U4ABRC5nBvKN05FNsVpD2fqEBvw+ lL2yNj3fcrCz8pIKF2NIywbM1gd0cO7Af6hG7eorcK0RKtN03JwfvKyv6mRpFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=heagren.com header.s=202203 header.b="CipPZlv/"; dmarc=pass (policy=quarantine) header.from=heagren.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: -7.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=heagren.com header.s=202203 header.b="CipPZlv/"; dmarc=pass (policy=quarantine) header.from=heagren.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: 0B6CD21494 X-Spam-Score: -7.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: BXd2Nx/ESM5g Suggested patch to add a new link parameter controlling how the default description is generated. As explained in the commit, this behaviour is often similar between links of the same type, but differs between those types, so a parameter seems like a good place to specify it. I've tried to make `org-insert-link' behave sensibly with regard to all the possible options -- hope it's alright. Blue skies, Hugo