Github messages for mblaze
 help / color / mirror / Atom feed
From: ashiire <ashiire@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] mshow: rendering a message numbers mime parts inconsistently with list mode
Date: Fri, 18 Aug 2023 20:14:42 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-247@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

New issue by ashiire on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/247

Description:
When `mshow` renders a message, the numbering of structure markers differs from that shown by its list mode. This becomes a problem when browsing messages (i.e. using `mless`) and wanting to extract a specific attachment. 

The discrepancy seems to arise from parts not rendered due to multipart/alternative preferences, as they are neither mentioned in the structure markers, nor counted. Perhaps they should be both mentioned and counted but not rendered?

Structure as rendered:
```
--- 1: multipart/related size=27924 ---
--- --- 2: multipart/alternative size=11924 ---
--- --- --- 3: text/plain size=885 ---

[...]

--- --- 4: image/jpeg size=11547 name="image001.jpg" ---
```
Structure as listed:
```
  1: multipart/related size=27924
    2: multipart/alternative size=11924
      3: text/plain size=885
      4: text/html size=9819
    5: image/jpeg size=11547 name="image001.jpg"
```

             reply	other threads:[~2023-08-18 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18 18:14 ashiire [this message]
2023-08-21 15:43 ` leahneukirchen

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

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

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-247@inbox.vuxu.org \
    --to=ashiire@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).