VM

long recipient field truncation

Bug #744059 reported by Arik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
In Progress
Wishlist
Arik

Bug Description

Feature request. I sometimes get mail that is explicitly to a lot of addresses (as opposed to mailing lists) to the point that previewing in a reasonable sized window reveals none of the message. I propose adding a function and variable that will detect the number of addresses in the To: (and CC:) fields and truncate above a certain number, then summarize the remaining count when previewing. i.e.:

To: <email address hidden>, <email address hidden>, <email address hidden>, (and 42 others)

Where the variable is set to 3 (show at most 3). Perhaps a reasonable default could be assumed (6 or so? Or simply nil). Envoking vm-expose-hidden-headers should then display all of the recipients

Arik (akwm)
Changed in vm:
importance: Undecided → Wishlist
assignee: nobody → Arik (akwm)
Revision history for this message
Uday Reddy (reddyuday) wrote : Re: [Bug 744059] [NEW] long recipient field truncation

Hi Arik, check out the shrunken-headers option in vm-rfaddons. Please
feel free to integrate it into core VM.

Cheers,
Uday

Uday Reddy (reddyuday)
Changed in vm:
status: New → Triaged
milestone: none → 8.2.1
Revision history for this message
Arik (akwm) wrote :

Ah, I didn't know about this part. Keeping with the theme of having convenient simple things as a part of the core VM I will see what I can do in terms of getting this (or something like it) in there.

Thanks,
-Arik

Revision history for this message
Arik (akwm) wrote :

Hey all,

I have pushed a branch called abbreviate-headers that has two changes related to integrating the shrunken-headers capability into standard VM. One is pretty much the same as shrunken-headers except is re-implemented and allows a variable to control what to do with specific headers ("To" can show more/less lines than "Subject" for example). Also along the same lines is a function for filling headers (will do unanimously) to a particular line indicated by vm-fill-headers-column (default is nil: do not fill headers at all). See variable vm-abbreviate-headers for the shrunken headers like customization.

I would appreciate if anyone would give this a shot and let me know what they think or any problems encountered. I have been using it for a few days now without problems but may not have encountered some cases.

Thanks,
-Arik

Changed in vm:
status: Triaged → In Progress
Revision history for this message
Uday Reddy (reddyuday) wrote : [Bug 744059] Re: long recipient field truncation

Hi Arik, I have to go out of town this week and won't be able to look
at it until I return. Perhaps, Tim can help in the meanwhile. Please
put a review request on your branches and assign it to one of us.
That way, it won't fall through the cracks.

Cheers,
Uday

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.