From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QFg5KbuWVF8OagAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 07:58:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SFg1JbuWVF/pJwAA1q6Kng (envelope-from ) for ; Sun, 06 Sep 2020 07:58:51 +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 12423940390 for ; Sun, 6 Sep 2020 07:58:50 +0000 (UTC) Received: from localhost ([::1]:46810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEpZY-0000ep-IW for larch@yhetil.org; Sun, 06 Sep 2020 03:58:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEpZ8-0000eS-Nf for emacs-orgmode@gnu.org; Sun, 06 Sep 2020 03:58:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47939) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEpZ8-0003fd-ER; Sun, 06 Sep 2020 03:58:22 -0400 Received: from [2a01:e35:2fe1:f780:d122:b755:abc5:9fce] (port=35946 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEpZ7-0001mb-B3; Sun, 06 Sep 2020 03:58:21 -0400 Received: by guerry (Postfix, from userid 1000) id ECCA41A60D69; Sun, 6 Sep 2020 09:58:19 +0200 (CEST) From: Bastien To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec Subject: Re: Default description for abbreviated links Organization: GNU References: <87mu3ze52c.fsf@gmail.com> Date: Sun, 06 Sep 2020 09:58:19 +0200 In-Reply-To: <87mu3ze52c.fsf@gmail.com> (=?utf-8?Q?=22K=C3=A9vin?= Le Gouguec"'s message of "Thu, 16 Jul 2020 19:35:23 +0200") Message-ID: <874kobcp5w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -1.01 X-TUID: aMoXJFwzd66t Hello K=C3=A9vin, K=C3=A9vin Le Gouguec writes: > I like #+LINK keywords because they make documents self-sufficient: > anyone opening my document can follow these links or export the buffer; > they do not need to run some Elisp to add to org-link-parameters. > > One thing I don't know how to customize, however, is how these links are > exported when they have no description.=20=20 thanks for sharing your need and ideas. I think we can allow #+LINK: bug [[https://debbugs.gnu.org/%s][bug:%s]] to define an abbreviated link producing the output you want. Same in org-link-abbrev-alist(-local): (("bug" . "[[https://debbugs.gnu.org/%s][bug:%s]]")) What do you think? I'd rather not add an option or modify the structure of org-link-abbrev-alist(-local). Best, --=20 Bastien