emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cool feature: Link abbreviations
@ 2011-03-02 21:57 Nathan Neff
  2011-03-03  8:38 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Neff @ 2011-03-02 21:57 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cool feature: Link abbreviations
  2011-03-02 21:57 Cool feature: Link abbreviations Nathan Neff
@ 2011-03-03  8:38 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2011-03-03  8:38 UTC (permalink / raw)
  To: Nathan Neff; +Cc: emacs-orgmode

Hi Nathan,

Nathan Neff <nathan.neff@gmail.com> writes:

> 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-

Yes.  It's been here for a long time :)

> Awesome!

Would you like to provide a very simple tutorial for Worg presenting
this feature?  It will help make people aware of it.

Best,

-- 
 Bastien

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-02 21:57 Cool feature: Link abbreviations Nathan Neff
2011-03-03  8:38 ` Bastien

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).