Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Duncan
Dominique Dumont posted on Wed, 13 Mar 2024 19:08:52 +0100 as excerpted: > Please try this out. FWIW I'd ordinarily be right on this as I find it quite interesting, but I still need to adapt my pan live-git ebuild to the pending cmake changes (and not exactly being a build-systems expert I've b

Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Duncan
Jim Henderson posted on Wed, 13 Mar 2024 21:18:33 - (UTC) as excerpted: > On Wed, 13 Mar 2024 10:53:44 - (UTC), Duncan wrote: > >> The other possibility would be adding smallish/mediumish sizes to >> options > > I think "configurable", either globally or per-group I hadn't thought of pe

Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Jim Henderson
On Wed, 13 Mar 2024 10:53:44 - (UTC), Duncan wrote: > Altho a 10,000 lines "smallish" is equally arbitrary. Maybe it should > be 12k, 15k, 20k? > > Similarly for "mediumish". 20k seems a bit low for modern usage. Maybe > 25k, 30k or 50k? Tho if it's not a still-image that pan can display

Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Dominique Dumont
On Wednesday, 13 March 2024 18:25:01 CET Dominique Dumont wrote: > The code you've found does not use MIME in its heuristics. I believe this > code could be improved to take MIME into account. I pushed a possible fix on branch fix-gui-bug [1] (although this patch does not use MIME information. se

Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Dominique Dumont
On Wednesday, 13 March 2024 11:53:44 CET Duncan wrote: > So the described behavior does have a reason and I'd argue is not a bug -- > people arguably do not *want* pan to just start downloading arbitrarily > large attachments, *especially* in what they may reasonably expect to be > text-only groups

Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Dominique Dumont
On Wednesday, 13 March 2024 06:56:53 CET Duncan wrote: > OK, using a keyword (is_smallish) from an old patch I had I grepped (well, > mcedit-searched) the code and found this in header-pane.cc For what it's worth, here's a link to this code: https://gitlab.gnome.org/GNOME/pan/-/blob/master/pan/gu

Re: [Pan-users] interface bug (or not?)

2024-03-13 Thread Duncan
Duncan posted on Wed, 13 Mar 2024 05:56:53 - (UTC) as excerpted: > In closer-to-plain-English pseudocode: > > First we have a broken-out boolean has_image_type_in_subject (), which > searches for image-extension strings ( jpg/gif/jpeg/png) in the subject > line, returning true/false according