Opened 8 years ago
Last modified 7 days ago
#131 new enhancement
read_mail (rdm) enhancement for brief header display mode
| Reported by: | Trn | Owned by: | Eric Swenson |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Unbundled Library | Version: | MR12.6f |
| Keywords: | extended mail, rdm, read_mail, headers | Cc: |
Description
rdm would be greatly enhanced with an equivalent of Emacs rmail-header-format brief-formatting-mode.
Modern internet header bloat makes handling intersystem Mail in rdm less than friendly.
As rdm already support the "-lghe" control argument (long header), I propose that only a subset of important headers, ala rmail brief-formatting-mode be the default, and the full header can be displayed only if specifically requested.
Other alternative implementations are possible and the proposal likely merits further discussion.
Note:
See TracTickets
for help on using tickets.

What exists
read_mail -brief_header(-bfhe) makes brief headers the default for the whole read_mail session. Theprintrequest takes-bfhe,-header(the normal default) and-long_header. Brief mode shows the date, the authors, the subject if any, a recipient count when it matters, and forwarding comments (read_mail.info,print.info)..ab rdm read_mail -brief_header, or in their start_up. The ticket's request to make brief the *system* default would change behavior for every user; I don't recommend it.What is actually missing
The trouble with Internet mail is the default (
-header) mode. Inmlsys_format_(bound_mail_system_, around line 2017, "Finally, processthe user-defined fields") every user-defined field is printed. Fields the
mail system does not know (
X-*,DKIM-Signature,MIME-Version,Content-Type,List-*,ARC-*, ...) are all user-defined fields, sothey all appear.
Receivedis trace and is already left out. Brief modedrops all user-defined fields; there is nothing in between.
Possible enhancement (Emacs rmail-ignored-headers style)
, read byread_mail` at startup and settable with a new control argument /print -ignore FIELDS.mlsys_format_would skip a user-defined field whose name matches the list (star-name matching withmatch_star_name_). The list has to get there through the format options, soformat_message_options(inmlsys_format_options.incl.pl1) needs a new version with a pointer to the list. The callers that build that structure (read_mail's print, print_mail, send_mail's print, Emacs rmail via the mail system) would keep working on the old version.-bfhesemantics.This changes
bound_mail_system_and the read_mail/print_mail requestsand docs. A decision on the approach is needed first.