branch: elpa/logview commit 1f7c9da092357a6819587be7c6e4eda9ea1bfc22 Author: Paul Pogonyshev <pogonys...@gmail.com> Commit: Paul Pogonyshev <pogonys...@gmail.com>
Mention recent changes in documentation as appropriate. --- README.adoc | 6 ++++++ logview.el | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/README.adoc b/README.adoc index 5d84dd41a8..a5391aefcb 100644 --- a/README.adoc +++ b/README.adoc @@ -172,6 +172,11 @@ see if anything goes wrong. The easiest way to figure it out is to add a few filters using commands described earlier and then open this buffer with `f` and see how they are represented. +Changes in the buffer popped up with `f` (or <<thread-narrowing,Y>>) +are previewed in the main buffer on-the-fly. If you don’t like this, +customize variable `logview-preview-filter-changes`, toggle this in +the main buffer using `o p` or in the filter buffer with `C-c C-p`. + === Filter regexp details Regular expressions can be matched against entry parts either @@ -502,6 +507,7 @@ changed in each individual buffer. * Toggle Auto-Revert Tail mode: `o t` * Toggle “copy only visible text”: `o v` * Toggle “search only in messages”: `o m` +* Toggle “preview filtering results”: `o p` * Toggle “show ellipses”: `o e` === Miscellaneous diff --git a/logview.el b/logview.el index 9e9031c7e7..2d4f6edc09 100644 --- a/logview.el +++ b/logview.el @@ -229,6 +229,17 @@ format mode adds the field itself, it also prepends it with a space, which might be incorrect for some special custom submodes. + Regular expressions to match specified entry pieces are + generated by Logview based on surrounding characters (e.g. + spaces in the example for Log4j except for \"THREAD\", which + is surrounded by brackets). However, if these are not + suitable in your case, for \"NAME\", \"THREAD\" and \"IGNORED\" + you can explicitly specify the desired regexp. For example: + + <<RX:IGNORED:[a-z]+>> + + will ignore one or more Latin letters, but not anything else. + levels [may be optional] Level mapping (see `logview-additional-level-mappings') used