Github messages for mblaze
 help / color / mirror / Atom feed
* [ISSUE] Can mshow decode multiple parts at once?
@ 2021-01-13  9:46 guillaumecherel
  2021-01-13 11:01 ` [ISSUE] [CLOSED] " guillaumecherel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: guillaumecherel @ 2021-01-13  9:46 UTC (permalink / raw)
  To: ml

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

New issue by guillaumecherel on mblaze repository

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

Description:
The man says

> mshow, by default, decodes all ‘text/*’, ‘message/rfc822’ and ‘multipart/*’ parts […]

But I can't get it to decode both the text/html and text/calendar at the same time.

I have an email that has the following parts:

```
  1: multipart/alternative size=7357
    2: text/plain size=206
    3: text/html size=2130
    4: text/calendar size=3227

```

and I set up the filters for text/calendar (just use `text/calendar: cat` for testing purpose).  Running `mshow -A text/plain:text/calendar` only displays the text part. Is there a way to make it display all parts at once? There is `mshow -O msg parts ...`, but it requires telling explicitly which parts to extract. I'm looking for a more automatic way.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] Can mshow decode multiple parts at once?
  2021-01-13  9:46 [ISSUE] Can mshow decode multiple parts at once? guillaumecherel
@ 2021-01-13 11:01 ` guillaumecherel
  2021-02-02 12:56 ` mbauhardt
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: guillaumecherel @ 2021-01-13 11:01 UTC (permalink / raw)
  To: ml

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

Closed issue by guillaumecherel on mblaze repository

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

Description:
The man says

> mshow, by default, decodes all ‘text/*’, ‘message/rfc822’ and ‘multipart/*’ parts […]

But I can't get it to decode both the text/html and text/calendar at the same time.

I have an email that has the following parts:

```
  1: multipart/alternative size=7357
    2: text/plain size=206
    3: text/html size=2130
    4: text/calendar size=3227

```

and I set up the filters for text/calendar (just use `text/calendar: cat` for testing purpose).  Running `mshow -A text/plain:text/calendar` only displays the text part. Is there a way to make it display all parts at once? There is `mshow -O msg parts ...`, but it requires telling explicitly which parts to extract. I'm looking for a more automatic way.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can mshow decode multiple parts at once?
  2021-01-13  9:46 [ISSUE] Can mshow decode multiple parts at once? guillaumecherel
  2021-01-13 11:01 ` [ISSUE] [CLOSED] " guillaumecherel
@ 2021-02-02 12:56 ` mbauhardt
  2021-02-02 13:01 ` leahneukirchen
  2021-02-02 19:59 ` mbauhardt
  3 siblings, 0 replies; 5+ messages in thread
From: mbauhardt @ 2021-02-02 12:56 UTC (permalink / raw)
  To: ml

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

New comment by mbauhardt on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/197#issuecomment-771616012

Comment:
is here any solution? using `malternatives`?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can mshow decode multiple parts at once?
  2021-01-13  9:46 [ISSUE] Can mshow decode multiple parts at once? guillaumecherel
  2021-01-13 11:01 ` [ISSUE] [CLOSED] " guillaumecherel
  2021-02-02 12:56 ` mbauhardt
@ 2021-02-02 13:01 ` leahneukirchen
  2021-02-02 19:59 ` mbauhardt
  3 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2021-02-02 13:01 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/197#issuecomment-771618837

Comment:
As of 318ac214f you can use `-A all`.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can mshow decode multiple parts at once?
  2021-01-13  9:46 [ISSUE] Can mshow decode multiple parts at once? guillaumecherel
                   ` (2 preceding siblings ...)
  2021-02-02 13:01 ` leahneukirchen
@ 2021-02-02 19:59 ` mbauhardt
  3 siblings, 0 replies; 5+ messages in thread
From: mbauhardt @ 2021-02-02 19:59 UTC (permalink / raw)
  To: ml

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

New comment by mbauhardt on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/197#issuecomment-771936834

Comment:
thx!
In the meantime I found `mless` in combination with `lesskey` to toggle between plain/html.

cool stuff!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-02 19:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  9:46 [ISSUE] Can mshow decode multiple parts at once? guillaumecherel
2021-01-13 11:01 ` [ISSUE] [CLOSED] " guillaumecherel
2021-02-02 12:56 ` mbauhardt
2021-02-02 13:01 ` leahneukirchen
2021-02-02 19:59 ` mbauhardt

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).