Skip to content

Comply with display-buffer-alist and action#531

Open
Thaodan wants to merge 6 commits intoskeeto:masterfrom
Thaodan:respect_display_buffer
Open

Comply with display-buffer-alist and action#531
Thaodan wants to merge 6 commits intoskeeto:masterfrom
Thaodan:respect_display_buffer

Conversation

@Thaodan
Copy link

@Thaodan Thaodan commented Oct 14, 2024

By using display-buffer we can comply with display-buffer-alist
or display-buffer-base-action/pop-frames.

Thaodan added a commit to Thaodan/emacs.d that referenced this pull request Oct 14, 2024
Update csv-mode      to  849ce3e
Update elfeed        to  3.4.2-1-gb10af59
Update llama         to v0.3.1-73-ga286543
Update org           to release_9.7.12-153-g90945e16a
Update rpm-spec-mode to  f099e01
Update yasnippet     to  0.14.0-56-gfe1f4e0

Contains:
skeeto/elfeed#531

Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
@Thaodan
Copy link
Author

Thaodan commented Dec 22, 2024

The last two commits refactor article rendering and should probably go into a different PR but please any feedback is welcome.

@Thaodan Thaodan force-pushed the respect_display_buffer branch 4 times, most recently from f8a53f7 to d43fae1 Compare December 23, 2024 00:03
Also fix some minor errors reported by checkdoc.
By using display-buffer we can comply with display-buffer-alist
or display-buffer-base-action/pop-frames.
…shr-render

shr-insert-contents opens a hole new buffer and dom paser. Simply
pass the S-expression to `shr-tag-a` which then only has to insert the
formatted link.
Refactor entry rendering after eww. Now there's a separate render
function that can specifically handle each content type.
The render function is used as callback for eww if the retrieve
of content through the entry link is enabled.
If this is not used the render function is called directly with the
content string.

The retrieval of content option allows for several conditions to
enable it such as always, regular expression match against the article
link or length of content.
@Thaodan Thaodan force-pushed the respect_display_buffer branch from d43fae1 to 3fdc15f Compare December 28, 2024 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant