[Git][security-tracker-team/security-tracker][master] cvelist.el: Modify debian-cvelist-insert-not-for-us to query for the software
Moritz Muehlenhoff
jmm at debian.org
Fri Mar 12 13:03:29 GMT 2021
Moritz Muehlenhoff pushed to branch master at Debian Security Tracker / security-tracker
Commits:
b8f6de66 by Moritz Muehlenhoff at 2021-03-12T14:02:29+01:00
cvelist.el: Modify debian-cvelist-insert-not-for-us to query for the software
And keep the last value since they often arrive in batches.
- - - - -
1 changed file:
- conf/cvelist.el
Changes:
=====================================
conf/cvelist.el
=====================================
@@ -15,10 +15,16 @@
;;; (setq auto-mode-alist
;;; (cons '("list" . debian-cvelist-mode) auto-mode-alist))
+(setq last-nfu "")
+
+; TODO: Tab completion for existing NFUs
(defun debian-cvelist-insert-not-for-us ()
"Insert NOT-FOR-US keyword."
+ (setq last-nfu (read-string "Name of software: " last-nfu))
(interactive)
- (insert "\tNOT-FOR-US: "))
+ (beginning-of-line)
+ (kill-whole-line)
+ (insert "\tNOT-FOR-US: " last-nfu "\n" ))
(defun debian-cvelist-insert-note ()
"Insert NOTE comment."
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/b8f6de66858120029af1cebfdd187a318af3c331
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/b8f6de66858120029af1cebfdd187a318af3c331
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20210312/e38bd5d7/attachment-0001.htm>
More information about the debian-security-tracker-commits
mailing list