emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jack Henahan <jhenahan@me.com>
To: Gregor Zattler <telegraph@gmx.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: wish: facility to wash org link descriptions
Date: Fri, 02 Mar 2018 07:43:08 -0500	[thread overview]
Message-ID: <54301937-0E7D-42D7-8CCC-C8C3472EAEE1@me.com> (raw)
In-Reply-To: <878tbavfik.fsf@len.workgroup>

[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

https://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-types

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

Jack

> On Mar 2, 2018, at 07:16, Gregor Zattler <telegraph@gmx.net> wrote:
> 
> 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
> -- 
> -... --- .-. . -.. ..--.. ...-.-
> 
> 

[-- Attachment #2: Type: text/html, Size: 1859 bytes --]

      reply	other threads:[~2018-03-02 12:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02 12:16 wish: facility to wash org link descriptions Gregor Zattler
2018-03-02 12:43 ` Jack Henahan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54301937-0E7D-42D7-8CCC-C8C3472EAEE1@me.com \
    --to=jhenahan@me.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=telegraph@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).