From 11e25d57cfe7f1ae23d1ee4464c06c185f5f80a4 Mon Sep 17 00:00:00 2001 From: dawser Date: Fri, 6 May 2022 00:34:55 +0200 Subject: [PATCH 1/2] Fix filtering by using the full URL --- elfeed-summary.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/elfeed-summary.el b/elfeed-summary.el index c1ff680..2f41598 100644 --- a/elfeed-summary.el +++ b/elfeed-summary.el @@ -748,10 +748,8 @@ items." show-read) (format "+%s " elfeed-summary-unread-tag)) "=" - (replace-regexp-in-string - (rx "?" (* not-newline) eos) - "" - (elfeed-feed-id feed))))) + (rx-to-string (elfeed-feed-url feed) t) + ))) (defun elfeed-summary--search-feed-notify (widget &rest _) "A function to run in `:notify' in a feed widget button. From 1fd795708c467305e057abf1babd854ef0340687 Mon Sep 17 00:00:00 2001 From: dawser Date: Fri, 6 May 2022 01:04:55 +0200 Subject: [PATCH 2/2] Use feed ID as in upstream --- elfeed-summary.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elfeed-summary.el b/elfeed-summary.el index 2f41598..3a3d986 100644 --- a/elfeed-summary.el +++ b/elfeed-summary.el @@ -748,7 +748,7 @@ items." show-read) (format "+%s " elfeed-summary-unread-tag)) "=" - (rx-to-string (elfeed-feed-url feed) t) + (rx-to-string (elfeed-feed-id feed) t) ))) (defun elfeed-summary--search-feed-notify (widget &rest _)