elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Can someone give an example where elfeed-search-title-min-width actually does something?

Open user86940 opened this issue 1 year ago • 3 comments

If I put a very low value to elfeed-search-title-min-width and a high value to both elfeed-search-trailing-width and elfeed-search-title-max-width, the title width will stay the very large and push the the feed name (I suppose that's what the trailing is) out of the frame. (in all these procedures I never change the window size nor the frame size). This feels wrong! Then how does elfeed-search-title-min-width relate to elfeed-search-trailing-width and elfeed-search-title-max-width?

user86940 avatar Feb 08 '24 16:02 user86940

If you search the repo for elfeed-search-title-min-width, you can see that this variable is unused

(moderator edit: this is incorrect)

whudwl avatar Feb 13 '24 05:02 whudwl

Isn't this problematic?

user86940 avatar Feb 13 '24 11:02 user86940

It's trivial to check that this variable is used in an elfeed-clamp expression. It only comes into play when the frame is skinny. It prevents entry titles from becoming too short to read by pushing the feed titles beyond the right "fold" more than they would otherwise. If you set it larger than the max value then it's clamped to the max, so if you're choosing large values, adjust both. If you change any of these variables then you need it press "g" to redraw the buffer, or just wait for it to redraw naturally (i.e. when the contents change).

skeeto avatar Feb 13 '24 14:02 skeeto