aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2025-01-06 21:30:13 +1100
committerYuchen Pei <id@ypei.org>2025-01-06 21:30:13 +1100
commit48a5e69b515861127f566110a1f82711633dcf33 (patch)
treee5a7a42db4a12828f541283dff5a87dffa5dbc6c /emacs/.emacs.d/init
parenta0dbc5a005077c5905948076a39b721aac129545 (diff)
[emacs][rofi] browse-url jira from org-jira
* emacs/.emacs.d/init/ycp-web.el: Add org link handling jira; add my-org-jira-open-url as a browse-url-handler * emacs/.emacs.d/lisp/my/my-org-jira.el: add functions to fetch jira issue given a url * emacs/.emacs.d/lisp/my/my-web.el: remove the redundant my-browse-url now that we use browse-url-handlers * emacs/.emacs.d/lisp/my/my-ytdl.el: infobox to extract from ytdl supported video urls * misc/.config/rofi/config.rasi: newer versions of rofi does not do glob matching like prefix any more
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-web.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el
index dd733dc..a4fa8f5 100644
--- a/emacs/.emacs.d/init/ycp-web.el
+++ b/emacs/.emacs.d/init/ycp-web.el
@@ -203,6 +203,7 @@
org-jira-jira-status-to-org-keyword-alist
org-jira-project-filename-alist
org-jira-custom-jqls)
+ (org-link-set-parameters "jira" '((:follow . org-jira-open)))
(require 'my-org-jira)
(my-override org-jira--render-issue)
(my-override org-jira-update-worklogs-from-org-clocks)
@@ -260,6 +261,8 @@
. ,(lambda (url &rest _) (mastorg-open url)))
(my-newscorp-au-url-p
. ,(lambda (url &rest _) (my-open-newscorp-au url)))
+ (my-org-jira-url-p
+ . ,(lambda (url &rest _) (my-org-jira-open-url url)))
(reddio-reddit-url-p
. ,(lambda (url &rest _) (reddio-open-url url)))
("^https?://www.spectator.com.au\\>" .