-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore support of file:// and gopher:// links. Fixes #96 #97
base: master
Are you sure you want to change the base?
Conversation
PR remyhonig#88 introduced a regression where rmh-elfeed-org-mark-feed-ignore stopped working properly. The ignores were made in a temp buffer and not saved back.
@@ -3,9 +3,9 @@ | |||
;; Copyright (C) 2014 Remy Honig | |||
|
|||
;; Author : Remy Honig <[email protected]> | |||
;; Package-Requires : ((elfeed "1.1.1") (org "8.2.7") (cl-lib "0.5")) | |||
;; Package-Requires : ((emacs "28.1") (elfeed "1.1.1") (org "8.2.7")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string-clean-whitespace
requires 28.1
cl-lib
is bundled in
@@ -85,20 +85,21 @@ Return t if it does or nil if it does not." | |||
|
|||
(defun rmh-elfeed-org-mark-feed-ignore (url) | |||
"Set tag `rmh-elfeed-org-ignore-tag' to headlines containing the feed URL." | |||
(dolist (org-file rmh-elfeed-org-files) | |||
(with-temp-buffer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with-temp-buffer
made this function ineffective. The changes were not saved to the disk
(mapcar | ||
(lambda (headline) | ||
(let* ((text (car headline)) | ||
(link-and-title (and (string-match "^\\[\\[\\(http.+?\\)\\]\\[\\(.+?\\)\\]\\]" text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused code, the headlines are already parsed in the input
@@ -5,12 +5,6 @@ | |||
(rmh-elfeed-org-cleanup-headlines '(("" elfeed tag1) ("" elfeed tag2)) 'elfeed) | |||
'(("" tag1) ("" tag2))))) | |||
|
|||
(xt-deftest rmh-elfeed-org-convert-headline-to-tagger-params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate test
No description provided.