[Secure-testing-commits] [Git][security-tracker-team/security-tracker][master] [emacs] Add some highlighting for Debian advisories & bugs
Sebastien Delafond
seb at debian.org
Fri Jan 19 13:28:15 UTC 2018
Sebastien Delafond pushed to branch master at Debian Security Tracker / security-tracker
Commits:
2ecabb5e by Sébastien Delafond at 2018-01-19T14:26:32+01:00
[emacs] Add some highlighting for Debian advisories & bugs
- - - - -
1 changed file:
- conf/cvelist.el
Changes:
=====================================
conf/cvelist.el
=====================================
--- a/conf/cvelist.el
+++ b/conf/cvelist.el
@@ -27,10 +27,12 @@
(defvar debian-cvelist-font-lock-keywords
'(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" . font-lock-function-name-face)
+ ("D[LS]A-[0-9]\\{4,5\\}-[0-9]" . font-lock-function-name-face)
+ ("#[0-9]\\{1,7\\}" . font-lock-type-face)
("^\tNOTE:" . font-lock-comment-delimiter-face)
("^\tTODO:" . font-lock-warning-face)
("^\t\\(RESERVED\\|NOT-FOR-US\\|REJECTED\\)" . font-lock-keyword-face)
- ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" "\\[\\(.*\\)\\]$" nil nil (1 font-lock-variable-name-face))
+ ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" "[\\[(]\\(.+?\\).$" nil nil (1 font-lock-variable-name-face))
("\\<unfixed\\|undetermined\\>" . font-lock-warning-face)
("\\<end-of-life\\|not-affected\\|no-dsa\\|ignored\\|postponed\\>" . font-lock-constant-face))
"Keyword highlighting for `debian-cvelist-mode'")
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/commit/2ecabb5e09f9d5f3254c1efa02601601ea4ad123
---
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/commit/2ecabb5e09f9d5f3254c1efa02601601ea4ad123
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/secure-testing-commits/attachments/20180119/8fb935a8/attachment.html>
More information about the Secure-testing-commits
mailing list