From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Henahan Subject: Re: wish: facility to wash org link descriptions Date: Fri, 02 Mar 2018 07:43:08 -0500 Message-ID: <54301937-0E7D-42D7-8CCC-C8C3472EAEE1@me.com> References: <878tbavfik.fsf@len.workgroup> Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-0A0998C1-9FA4-4657-9E91-6F6638FC69F6 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erk2J-00044L-EM for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 07:43:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erk2G-00057E-B8 for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 07:43:43 -0500 Received: from st11p05im-asmtp002.me.com ([17.172.109.150]:54782) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erk2G-00055o-4J for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 07:43:40 -0500 Received: from process-dkim-sign-daemon.st11p05im-asmtp002.me.com by st11p05im-asmtp002.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0P4Y00T00R8IU700@st11p05im-asmtp002.me.com> for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 12:43:10 +0000 (GMT) In-reply-to: <878tbavfik.fsf@len.workgroup> 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: Gregor Zattler Cc: emacs-orgmode --Apple-Mail-0A0998C1-9FA4-4657-9E91-6F6638FC69F6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable https://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-type= s Adding a custom hyperlink type (or overriding the existing one for mail mess= ages) seems like your best bet. Jack > On Mar 2, 2018, at 07:16, Gregor Zattler wrote: >=20 > Hi org-mode developers, >=20 > it would be nice if there was a facility to wash (=3D shorten) org > link descriptions. =46rom the users perspective this could be a > list of regular expressions with corresponding short forms. >=20 > Use case: >=20 > 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. >=20 > 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 "). >=20 >=20 > Ciao; Gregor > --=20 > -... --- .-. . -.. ..--.. ...-.- >=20 >=20 --Apple-Mail-0A0998C1-9FA4-4657-9E91-6F6638FC69F6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable https://orgmode.org/manual/Ad= ding-hyperlink-types.html#Adding-hyperlink-types

Adding a cu= stom hyperlink type (or overriding the existing one for mail messages) seems= like your best bet.

Jack

On Mar 2, 2= 018, at 07:16, Gregor Zattler <teleg= raph@gmx.net> wrote:

Hi org-mode developers,

it would be nice i= f there was a facility to wash (=3D shorten) org
link descri= ptions.  =46rom the users perspective this could be a
l= ist of regular expressions with corresponding short forms.
<= /span>
Use case:

I want to automat= ically shorten org link descriptions,
especially if linking t= o emails.  Some of this emails are from a
request track= er and have extraordinary long From: and Subject:
suffixes w= hich add up to 49 characters in the link description.
I woul= d 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
--
-... --- .-. . -.. ..--.. ...-.-

<= span>

= --Apple-Mail-0A0998C1-9FA4-4657-9E91-6F6638FC69F6--