[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/logview c410321b70 013/259: When creating 'logview--entry-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/logview c410321b70 013/259: When creating 'logview--entry-regexp', behave as if format string always ends with whitespace. |
Date: |
Fri, 31 Jan 2025 07:01:48 -0500 (EST) |
branch: elpa/logview
commit c410321b700f1f28eb96d743849612602ab92535
Author: Paul Pogonyshev <pogonyshev@gmail.com>
Commit: Paul Pogonyshev <pogonyshev@gmail.com>
When creating 'logview--entry-regexp', behave as if format string always
ends with whitespace.
---
logview.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/logview.el b/logview.el
index 8e087e2f03..de45282a96 100644
--- a/logview.el
+++ b/logview.el
@@ -50,11 +50,11 @@
;; compound widget types.
(defvar logview-std-submodes
- '(("SLF4J" . ((format . "TIMESTAMP [THREAD] LEVEL NAME - ")
+ '(("SLF4J" . ((format . "TIMESTAMP [THREAD] LEVEL NAME -")
(levels . "SLF4J")
(aliases . ("Log4j" "Log4j2" "Logback"))))
;; We misuse thread as a field for hostname.
- ("UNIX" . ((format . "TIMESTAMP THREAD NAME: "))))
+ ("UNIX" . ((format . "TIMESTAMP THREAD NAME:"))))
"Alist of standard submodes.
This value is used as the fallback for customizable
`logview-additional-submodes'.")
@@ -1137,6 +1137,9 @@ These are:
(setq search-from end))
(when (< search-from (length format))
(funcall add-text-part search-from nil))
+ ;; Always behave as if format string ends with whitespace.
+ (unless (string-match "[ \t]$" format)
+ (push "[ \t]+" parts))
(let ((regexp (apply 'concat (reverse parts))))
(if (string-match regexp test-line)
(progn
- [nongnu] elpa/logview 84f7d574b0 034/259: Bump version because of the critical bugfix for Emacs 24., (continued)
- [nongnu] elpa/logview 84f7d574b0 034/259: Bump version because of the critical bugfix for Emacs 24., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 55e9cdb7d5 006/259: Require 'cl-lib' instead of 'cl'., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview b5cafd1145 073/259: Bump version because of a significant new feature., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 3f387911f2 054/259: Fix a bug in commit 2a94930 that broke 'l 5' command., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 1364953681 088/259: Also test on Emacs 24., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 15507f7ee2 083/259: Add a couple of simple regression tests, including one for issue #2., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview dbd9b10f8a 027/259: Add simple installation instruction to README., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 0d1c20c9e5 046/259: Use 'datetime' library to support many more timestamp formats and also simplify timestamp customization., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview f419f46e67 014/259: Make background in two faces not as light, as on some monitors that would be nearly indistinguishable from pure white., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 6a20d64f39 087/259: Minor documentation string fix., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview c410321b70 013/259: When creating 'logview--entry-regexp', behave as if format string always ends with whitespace.,
ELPA Syncer <=
- [nongnu] elpa/logview a262294aa4 028/259: Add commands to hide/show details of the current entry, region of entries or in the whole buffer., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview c85f052766 075/259: Make 'logview--completing-read' not as ready to default to Ido and add a customization option for cases when that's still not enough; fixes #19., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview e456372f0f 029/259: Bump version because of significant new feature., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 49ff5bd841 003/259: Make sure that all docstrings have a full sentence as the first line., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview c8ed69c843 071/259: Document the functionality added in commit 7f62361., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 5cae4f2e7e 031/259: backquote should be used for QPATTERN of pcase, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 75ebe12525 044/259: Make '?' key show a simple cheat sheet with the grouped list of commands of the mode., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview c75773aa64 022/259: Merge filtering and entry parsing., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview b2aa91eee5 096/259: Fix a typo in the last commit caught by Travis CI., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 515b8377d1 018/259: For better usability always split current window vertically when creating filter popup; position cursor in it better., ELPA Syncer, 2025/01/31