]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
bba-org-export-jira-clipboard
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Jun 2016 07:39:06 +0000 (09:39 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Jun 2016 07:39:06 +0000 (09:39 +0200)
- keyboard macro to export to Jira via ox-jira. Bound to C-c J.

bba.org

diff --git a/bba.org b/bba.org
index 14a3f114fdf2220d7245dd93e70ecfc60de514ee..03d2351596f08deef55ca50d76da612b3867ef04 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -807,6 +807,14 @@ Org-mode export backend for JIRA markup
       (require 'ox-jira))
 #+END_SRC
 
+A little macro to speed things up:
+
+#+BEGIN_SRC emacs-lisp
+  (fset 'bba-org-export-jira-clipboard
+     (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ([24 110 115 escape 58 40 115 101 116 113 32 111 114 103 45 101 120 112 111 114 116 45 98 97 98 101 108 45 101 118 97 108 117 97 116 101 32 110 105 108 41 return 3 5 106 106 67108896 14 14 14 23 24 104 escape 119] 0 "%d")) arg)))
+  (define-key org-mode-map "\C-c\S-j" 'bba-org-export-jira-clipboard)
+#+END_SRC
+
 ** Some initial languages we want org-babel to support
 
 #+BEGIN_SRC emacs-lisp