# HG changeset patch # User Oleksandr Gavenko # Date 1600778862 -10800 # Node ID cdee4c5847b96534b5cb8781eb46de339e593296 # Parent 66e7dd2d4cf4a0faf89b87d97942b4185f88ef09 Made fonts smaller for date and hidden parts to avoid frequent line wrapping and reduce noise. highlight ISO date without year. diff -r 66e7dd2d4cf4 -r cdee4c5847b9 log4-hi-mode.el --- a/log4-hi-mode.el Tue Sep 22 15:02:30 2020 +0300 +++ b/log4-hi-mode.el Tue Sep 22 15:47:42 2020 +0300 @@ -31,12 +31,12 @@ :group 'log4-hi) (defface log4-hi-time-face - '((t :inherit font-lock-builtin-face)) + '((t :inherit font-lock-builtin-face :height 0.7)) "Face for time." :group 'log4-hi) (defface log4-hi-hide-face - '((t :inherit shadow)) + '((t :inherit shadow :height 0.7 :family "Arial")) "Face for extra text for hiding." :group 'log4-hi) @@ -50,7 +50,7 @@ "Highlight regex for line from Java stack trace.") (defvar log4-hi-time-keywords - '(("\\(:?[0-9]\\{2\\}?[0-9]\\{2\\}.[0-9]\\{2\\}.[0-9]\\{2\\}.\\|\\<\\)[0-9]?[0-9]:[0-9][0-9]:[0-9][0-9]\\>\\(:?\\.[0-9]\\{3\\}\\)?" . 'log4-hi-time-face)) + '(("\\(:?\\(:?[0-9]\\{2\\}?[0-9]\\{2\\}.\\)?[0-9]\\{2\\}.[0-9]\\{2\\}.\\|\\<\\)[0-9]?[0-9]:[0-9][0-9]:[0-9][0-9]\\>\\(:?\\.[0-9]\\{3\\}\\)?" . 'log4-hi-time-face)) "Highlight regex for ISO date.") (defvar log4-hi-hide-regex