From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Cool feature: Link abbreviations Date: Wed, 2 Mar 2011 15:57:15 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=34133 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puu39-0006p0-BO for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 16:57:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puu2m-0006Sa-IM for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 16:57:39 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:47379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puu2m-0006SU-G6 for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 16:57:16 -0500 Received: by qyk30 with SMTP id 30so483005qyk.0 for ; Wed, 02 Mar 2011 13:57:15 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Another one of those "I wish I could do X" moments where I look through org-mode docs and find exactly what I'm looking for. So, I work for a company where I use an Issue tracking tool, and every issue has a URL like this: http://example.com/issues?PRODUCT-XXX Where XXX is the issue number. I want to have links to these issues in my company.org file, but I don't want/need to type long links like this [[http://example.com/issues?PRODUCT-123][Issue 123]] I found link abbreviations: http://orgmode.org/manual/Link-abbreviations.html#Link-abbreviations So, I could create a variable org-link-abbrev-list, and put it in my org-mode configuration file. However, my org-mode config is public on GitHub, and I didn't want the company's Issue tracker URL to be public. Then, I found that you can define abbreviations *directly* in my customer.org at the top like this: #+LINK:issues http://example.com/issues/PRODUCT- Then link to the issues like this: * [[issues:123][Issue 123]] blah blkah * [[issues:456][issue 456]] blah blah blah Awesome! --Nate -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode