Backwards compatibility for `user-errorĀ“
[org-mode/org-tableheadings.git] / contrib / lisp / org-jira.el
blob2037029a800277cb92900a2c7a4859f72f3cc933
1 ;;; org-jira.el --- add a jira:ticket protocol to Org
2 (defconst org-jira-version "0.1")
3 ;; Copyright (C) 2008-2012 Jonathan Arkell.
4 ;; Author: Jonathan Arkell <jonnay@jonnay.net>
6 ;; This file is not part of GNU Emacs.
8 ;; This program is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU General Public License as
10 ;; published by the Free Software Foundation version 2.
12 ;; This program is distributed in the hope that it will be useful, but
13 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ;; General Public License for more details.
17 ;; For a copy of the GNU General Public License, search the Internet,
18 ;; or write to the Free Software Foundation, Inc., 59 Temple Place,
19 ;; Suite 330, Boston, MA 02111-1307 USA
21 ;;; Commentary:
22 ;; This adds a jira protocol to org mode.
24 ;;; Commands:
26 ;; Below are complete command list:
29 ;;; Customizable Options:
31 ;; Below are customizable option list:
34 ;; I had initially planned on adding bi-directional linking, so you
35 ;; could store links from a jira ticket. I also wanted to import
36 ;; tickets assigned to you as a task. However, I am no longer working
37 ;; with JIRA, so this is now abandonware.
39 ;;; Installation:
40 ;; Put org-jira.el somewhere in your load-path.
41 ;; (Use M-x show-variable RET load-path to see what your load path is.)
42 ;; Add this to your emacs init file, preferably after you load org mode.
43 ;(require 'org-jira)
45 ;;; TODO:
46 ;; - bi-directional links
47 ;; - deeper importing, like tasks...?
49 ;;; CHANGELOG:
50 ;; v 0.2 - ran through checkdoc
51 ;; - Abandoned.
52 ;; v 0.1 - Initial release
54 (require 'jira)
56 (org-add-link-type "jira" 'org-jira-open)
58 (defun org-jira-open (path)
59 "Open a Jira Link from PATH."
60 (jira-show-issue path))
63 (provide 'org-jira)
65 ;;; org-jira.el ends here