From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: wish: facility to wash org link descriptions Date: Fri, 02 Mar 2018 13:16:51 +0100 Message-ID: <878tbavfik.fsf@len.workgroup> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erjch-00050i-1R for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 07:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erjcd-0003O6-Ot for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 07:17:14 -0500 Received: from mout.gmx.net ([212.227.15.15]:34855) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erjcd-0003NU-Ep for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 07:17:11 -0500 Received: from len.workgroup ([79.228.21.118]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M86Cn-1eVY0b4C37-00vcNX for ; Fri, 02 Mar 2018 13:17:09 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode Hi org-mode developers, it would be nice if there was a facility to wash (= shorten) org link descriptions. From the users perspective this could be a list of regular expressions with corresponding short forms. Use case: I want to automatically shorten org link descriptions, especially if linking to emails. Some of this emails are from a request tracker and have extraordinary long From: and Subject: suffixes which add up to 49 characters in the link description. I would like to radically shorten this boilerplate. Even with "normal" To: and Subject:, the default formatting of such links prefixes the correspondents name with "from " or "to ". While it's fine with me to distinguish emails from me from emails to emails to me, I would not need the "from "). Ciao; Gregor -- -... --- .-. . -.. ..--.. ...-.-