unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Martin Jambor <mjambor@suse.cz>
To: notmuch@notmuchmail.org
Subject: Emacs notmuch extracts text attachments as if they had Windows (CRLF) encoding
Date: Wed, 13 Oct 2021 15:54:57 +0200	[thread overview]
Message-ID: <ri61r4p3u8e.fsf@suse.cz> (raw)

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

Hi,

I have stumbled upon strange behavior of emacs-notmuch.  When I extract
(some?) plain text attachments into files using notmuch-show-save-part
(by pressing ".s"), the file they end up in has Windows encoding of line
ends (CRLF) even though both the machine used to send and receive the
email are Linux ones.

I can reproduce the issue with the attached example email.  Emacs
notmuch extracts the attachment into a windows encoding file while mutt
or metamail does not.

Can anyone else reproduce this behavior?  Any ideas how to fix it?

Thanks a lot,

Martin




[-- Attachment #2: 1633684554.29424_1.virgil.gz --]
[-- Type: application/x-gzip, Size: 1805 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2021-10-13 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 13:54 Martin Jambor [this message]
2021-10-14 12:36 ` Emacs notmuch extracts text attachments as if they had Windows (CRLF) encoding Tomi Ollila
2021-10-14 15:35   ` Martin Jambor

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://notmuchmail.org/

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

  git send-email \
    --in-reply-to=ri61r4p3u8e.fsf@suse.cz \
    --to=mjambor@suse.cz \
    --cc=notmuch@notmuchmail.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://yhetil.org/notmuch.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).