protesilaos / dired-preview

Automatically preview file at point in Emacs Dired.
GNU General Public License v3.0
57 stars 2 forks source link

Would you like a preview placeholder PR? #14

Closed xenodium closed 4 months ago

xenodium commented 4 months ago

Great package Prot. Thank you!

Unsure if this is working as expected or misconfigruation on my part, but I found my eyes were a little more rested (no sudden window layout changes) when using a placeholder preview for ignored files.

I have a tiny patch, but wanted to prefly the idea before sending a PR...

Without patch:

without-patch

With patch:

with-patch

Is this of interest?

protesilaos commented 4 months ago

Hello @xenodium!

Is this of interest?

Yes, this looks great. Maybe you can put it behind a defcustom in case someone prefers the old behaviour? But I am fine even without such an option.

xenodium commented 4 months ago

Yes, this looks great.

Great. Sent #15 PR.

Maybe you can put it behind a defcustom in case someone prefers the old behaviour?

Sounds good. Added dired-preview-ignored-show-ignored-placeholders.

protesilaos commented 4 months ago

I merged your PR. We can safely close this. Thank you!