unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleh Krehel <ohwoeowho@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] master 83c3a61: lisp/gnus/message.el (message-send-mail): Don't wrongly assert on Unicode msg
Date: Tue, 4 Jun 2019 11:00:28 +0200	[thread overview]
Message-ID: <CAA01p3qsaOfMDkk=mmhA4SCeMpDp39FVuBq6D8fxT=ZFr0u_8A@mail.gmail.com> (raw)
In-Reply-To: <jwvtvd6wpyb.fsf-monnier+emacs@gnu.org>

> >     the message seding is handled by an external program, so no Unicode
> >     encoding is performed in Emacs. Thus Emacs must not assert that the
> >     Unicode encoding was performed.
>
> Not sure what this has to do with Unicode.  It seems to just be about
> encoding or not encoding: whether encoding is done with one of the
> Unicode coding-systems (e.g. utf-8) or something else (e.g. latin-1)
> doesn't seem to make a difference.
>
> Or am I missing something?

I'm sending an SMIME-encoded message using openssl. This requires to
keep the plain text non-encoded.

There's already existing message.el code that sets
`message-inhibit-body-encoding' to t. But if the encoding is
inhibited, we should not assert if Unicode was not encoded. Thanks to
this patch I can now send SMIME-encoded email that has e.g. German
umlauts in it.

I found the existing support for sending SMIME-encoded email lacking.
For a while, some mail clients would detect the sent email as signed,
but others not. I can contribute the openssl signing code that works
for me now if there's interest.

regards,
Oleh



  reply	other threads:[~2019-06-04  9:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190603135626.32064.50250@vcs0.savannah.gnu.org>
     [not found] ` <20190603135628.1D13220AD1@vcs0.savannah.gnu.org>
2019-06-03 17:16   ` [Emacs-diffs] master 83c3a61: lisp/gnus/message.el (message-send-mail): Don't wrongly assert on Unicode msg Stefan Monnier
2019-06-04  9:00     ` Oleh Krehel [this message]
2019-06-04 13:15       ` Stefan Monnier

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='CAA01p3qsaOfMDkk=mmhA4SCeMpDp39FVuBq6D8fxT=ZFr0u_8A@mail.gmail.com' \
    --to=ohwoeowho@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).