summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2021-09-17 15:24:57 +0200
committerMoritz Muehlenhoff <jmm@debian.org>2021-09-17 15:24:57 +0200
commit314d857bcaf0e436759adc22572c6966047cc2d8 (patch)
treee2844b15d5a1d20cabc2d267efe88fcc4a2b8635 /conf
parent7974c7ba1000ae35292bccf7513aeb8f573c9935 (diff)
new defun for PTS lookups
Diffstat (limited to 'conf')
-rw-r--r--conf/cvelist.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/cvelist.el b/conf/cvelist.el
index 94472f6c96..d35874980e 100644
--- a/conf/cvelist.el
+++ b/conf/cvelist.el
@@ -83,6 +83,11 @@
(interactive)
(browse-url (concat "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" (thing-at-point 'symbol))))
+(defun debian-cvelist-ptslookup ()
+ "Look up a package name in Debian Package Tracker."
+ (interactive)
+ (browse-url (concat "https://tracker.debian.org/pkg/" (thing-at-point 'symbol))))
+
(defvar debian-cvelist-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-c C-f") 'debian-cvelist-insert-not-for-us)
@@ -93,6 +98,7 @@
(define-key map (kbd "C-c C-x") 'debian-cvelist-insert-not-affected)
(define-key map (kbd "C-c C-p") 'debian-cvelist-insert-postponed)
(define-key map (kbd "C-c C-b") 'debian-cvelist-insert-bug)
+ (define-key map (kbd "C-c C-p") 'debian-cvelist-ptslookup)
map)
"Keymap for `debian-cvelist-mode'.")

© 2014-2024 Faster IT GmbH | imprint | privacy policy