• please do not use text/markdown

    From Timo =?utf-8?Q?R=C3=B6hling?=@21:1/5 to All on Mon Mar 10 11:20:01 2025
    Hi Charles,

    * Charles Plessy <plessy@debian.org> [2025-03-10 09:32]:
    Le Sun, Mar 09, 2025 at 10:13:51PM +0100, Philip Hands a écrit : > >
    Having skimmed through the 106 mails I currently see in this thread, >
    this is the way I’d summarise people’s preferences (if anyone sees
    that > I’ve mis-characterised their view, I promise it was not
    intentional, so > please forgive me and correct my mistake)

    Hi Philip and everybody,

    to be clear: I am supporting the proposition to remove the requrement to
    wrap lines. I would like to add that I think that we should not organise
    GRs on that kind of questions.

    I am also exploring the use of text/markdown as the default content type
    for my emails.

    Have a nice day,

    Charles Plessy Nagahama, Yomitan, Okinawa, Japan
    Debian Med packaging team http://www.debian.org/devel/debian-med
    Tooting from home https://framapiaf.org/@charles_plessy
    - You do not have my permission to use this email to train an AI -

    I cannot read your email at all with K-9 Mail on Android, because text/markdown is not treated like text at all, and the file cannot be
    opened with any app I have installed at the moment. Frankly, I initially thought you sent some garbage by accident and ignored the mail.

    Mutt at least tells me now that I'm dealing with text/markdown, so I
    manually added a mailcap entry:

    text/markdown; iconv -f %{charset} -t utf-8 | pandoc -f markdown -t
    plain; copiousoutput

    It works somewhat, but it mangles quotes quite badly since pandoc does
    not know about '>' quote markers (I quoted your mail in full and this is pretty much how it is rendered in mutt).


    Cheers
    Timo

    --
    ⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
    ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
    ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
    ⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmfOvJQACgkQzIxr3RQD 9Mq9cw/9FijICSIDd/W3eFnAhruc8moyhNeDO9pcHWIvULAygnsOeF1j8ZnTLIJv Dpt1v1qfW895zb7qsOCRUOmQEu5ASohFtdU6F0N1C8eEQe+BusWg1fyGYmgC/c12 mtrKBQuIVow+jXKzyB+EQIL06vjZchyIkpBKbhXG6U0ZVCe4F9wIVesNOD49iu/c x7I3Dq/czjELfy9Cx3o7Ij1HH7ftMxdZ7l8tMfvLR9uLtsd3x0f+WhxErjxO99mT 7DPh5l35cmhix+xFuf5QEDMW9MkDnwK5K7M3UVCx/CQktRUTlDfVI4QzHiX0z9WY lQxTbJVKRHZGyKcFleqxhjwGE+wiUKGM/9Z7cwoia2B
  • From Jonas Smedegaard@21:1/5 to All on Mon Mar 10 12:30:01 2025
    Quoting Timo Röhling (2025-03-10 11:19:01)
    Hi Charles,

    * Charles Plessy <plessy@debian.org> [2025-03-10 09:32]:
    Le Sun, Mar 09, 2025 at 10:13:51PM +0100, Philip Hands a écrit : > > >Having skimmed through the 106 mails I currently see in this thread, >
    this is the way I’d summarise people’s preferences (if anyone sees
    that > I’ve mis-characterised their view, I promise it was not >intentional, so > please forgive me and correct my mistake)

    Hi Philip and everybody,

    to be clear: I am supporting the proposition to remove the requrement to >wrap lines. I would like to add that I think that we should not organise >GRs on that kind of questions.

    I am also exploring the use of text/markdown as the default content type >for my emails.

    Have a nice day,

    Charles Plessy Nagahama, Yomitan, Okinawa, Japan
    Debian Med packaging team http://www.debian.org/devel/debian-med
    Tooting from home https://framapiaf.org/@charles_plessy
    - You do not have my permission to use this email to train an AI -

    I cannot read your email at all with K-9 Mail on Android, because text/markdown is not treated like text at all, and the file cannot be
    opened with any app I have installed at the moment. Frankly, I initially thought you sent some garbage by accident and ignored the mail.

    Mutt at least tells me now that I'm dealing with text/markdown, so I manually added a mailcap entry:

    text/markdown; iconv -f %{charset} -t utf-8 | pandoc -f markdown -t
    plain; copiousoutput

    It works somewhat, but it mangles quotes quite badly since pandoc does
    not know about '>' quote markers (I quoted your mail in full and this is pretty much how it is rendered in mutt).

    It should work, but perhaps what you are experiencing is that by default
    pandoc expects a blank line between changes of blockquote level: https://pandoc.org/MANUAL.html#extension-blank_before_blockquote

    Maybe this works: pandoc -f markdown-blank_before_blockquote -t plain

    (if not, then try replace "-" with "+")

    - Jonas

    --
    * Jonas Smedegaard - idealist & Internet-arkitekt
    * Tlf.: +45 40843136 Website: http://dr.jones.dk/
    * Sponsorship: https://ko-fi.com/drjones

    [x] quote me freely [ ] ask before reusing [ ] keep private --==============V51192524157799396=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    wsG7BAABCgBvBYJnzsroCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u cy5zZXF1b2lhLXBncC5vcmdo+5OTbHY6ECeXMzxvrh8vsPQxdrSSmCdUWgRy9AED jRYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAABAbBAApHmlJRqSCoZFrX/8aCxqMWhY Zq1zBG4UVNx7/qwZ5hiX7hleBc0SPL6T/SxsN9v8FPBkQvVx9snxmVKmyWlujnQz U5UW8w3/91NHKcSgH4uMr846fKZpzCzZU6a++/3qgteRw4RelweVEQpe407E3lD1 pTq4MT89MFnLmr3EyFWKknvtZoHtw3NliMc6Kmku7RUe6N2/2ckmBZT+VLoF3rVQ FF7IXTQ0rXV8cXsaztTPwxaGMllNcdo6VV+5BylKyEWPzzseqIEO4aD/Wj3oo7Af 1171SZMkY5beXbpSfiWHgGsiVq5II8MNHX187PM2+bcJJ+xuxaX39BgbQBUei7ax pqDBQav/tYsDn7U9614161L0jxk7o99oAHVVuZTV
  • From Timo =?utf-8?Q?R=C3=B6hling?=@21:1/5 to All on Mon Mar 10 13:20:01 2025
    Hi Jonas,

    * Jonas Smedegaard <jonas@jones.dk> [2025-03-10 12:20]:
    It should work, but perhaps what you are experiencing is that by
    default
    pandoc expects a blank line between changes of blockquote level: >https://pandoc.org/MANUAL.html#extension-blank_before_blockquote

    Maybe this works: pandoc -f markdown-blank_before_blockquote -t plain
    Yes, that solved the issue. Thank you very much!

    Cheers
    Timo

    --
    ⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
    ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
    ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
    ⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmfO1sgACgkQzIxr3RQD 9MpkTxAApBITUXRAlesfhyTC3hqbMLttKDw2MXZoSZw3gReL3fwEc5ND20zbQMMD JoeNAxzo/yRGZwJjx5Xv0GLih9zPo2izgIH2/FsO7MSzuETJjficzi4yR8JiCGbd JYFvxBhf6AlvVFHUUyPy2VeYXwe/RTXDrzBtXZ8RKfoi8zlqQGh7CKZScV+yLigf 52bsJK5+pYzKUgW26Bnk/QS9YFIlei6zqzGO1xDAMxXsmUg9SCYM7NHshMKOpstr lgOOCt+w7kh9UkzzpwmGfCzjnLbNRrtzn6vu5oP+zmhzytohxJcu6b0eK8n3GnYy X1PLCBIQ2JeGK74+RxXNj/lite14VssD89JlgWQE/d3