unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 49765@debbugs.gnu.org
Subject: bug#49765: 27.1; add a show mime tree command
Date: Wed, 28 Jul 2021 20:52:36 +0800	[thread overview]
Message-ID: <87v94ur46j.5.fsf@jidanni.org> (raw)

Mutt's has a handy v command that shows the mime structure of a message:
  I     1 <no description> [multipa/alternativ, 7bitC?, >, 55K]
  I     2 ├─><no description> [text/plain, quotedC?, utf-8>, 2.1K]
  I     3 └─><no description> [text/html, quotedC?, utf-8>, 52K]

Gnus has commands to buttonize, etc. But none show the tree structure.


OK, Gnus has C-d: gnus-summary-enter-digest-group, which shows:

 .  1 210727||台電電子帳單服:<* mixed> 台電e-Bill 110年7月電費繳費憑證(電號:0748730等)
 .  1 210727||台電電子帳單服:<1.* alternative>
 .  1 210727||台電電子帳單服:<1.1 text>
 .  1 210727||台電電子帳單服:<1.2 html>
 .  1 210727||台電電子帳單服:<2 pdf> "07487301100723RD.pdf"
 .  1 210727||台電電子帳單服:<3 pdf> "07488871100723RD.pdf"
 .  1 210727||台電電子帳單服:<4 pdf> "領獎收據聯.pdf"

Which apparently relies on numbers to indicate the structure.
Nice, but maybe indenting could also be used.

Also it seems this C-d command was not intended to show mime structures,
and I am just lucky it did for this message. So a specialized command is
needed.

Else sometimes it just shows:
 .  1 210727||DreamHost     :You to your 9-to-5 job: “We need to talk…”
 .  1 210727||DreamHost     :You to your 9-to-5 job: “We need to talk…”
 .  1 210727||DreamHost     :You to your 9-to-5 job: “We need to talk…”
(For the message at the top of this bug report.)





             reply	other threads:[~2021-07-28 12:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28 12:52 積丹尼 Dan Jacobson [this message]
2021-07-29 11:30 ` bug#49765: 27.1; add a show mime tree command Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v94ur46j.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=49765@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).