declutter icon indicating copy to clipboard operation
declutter copied to clipboard

can declutter be used to render elfeed show mode

Open emacs25 opened this issue 3 years ago • 4 comments

hi sir

now i switch back to emacs27 on PC, so i have the question

elfeed uses shr to render articles which is the same as declutter

so i think there's some way to enable declutter to display html content.

that will improve readability of the artists much more

can you add the function please?

thanks

emacs25 avatar Nov 02 '21 12:11 emacs25

I don't think I follow you :) declutter will render html content, how do you mean to "display html content"?

sanel avatar Nov 03 '21 09:11 sanel

is it possible to use declutter to render after i enter the elfeed article page automatically?

this is what i mean, sorry

emacs25 avatar Nov 04 '21 02:11 emacs25

Look for elfeed-insert-html in elfeed-show.el and see if it can be "advise"-ed to use declutter. I'm not sure if this will work properly, because some backends for rendering html chunks might require additional flags.

However, you can open elfeed entry in declutter by adjusting "browse-url-browser-function" [1] and hitting b in elfeed-search buffer.

[1] https://www.emacswiki.org/emacs/BrowseUrl

sanel avatar Nov 04 '21 10:11 sanel

sure i will have a try and give feedback here

emacs25 avatar Nov 05 '21 07:11 emacs25