all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to set `mm-use-ultra-safe-encoding' in message mode
@ 2017-03-22 18:35 Arun Isaac
  0 siblings, 0 replies; only message in thread
From: Arun Isaac @ 2017-03-22 18:35 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

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


I am using message mode to compose mails. My outgoing SMTP relay is
corrupting my mail signatures by re-encoding with quoted-printable
encoding. According to the manual (at
https://www.gnu.org/software/emacs/manual/html_node/emacs-mime/Encoding-Customization.html),
I can work around this with `mm-use-ultra-safe-encoding'. But, the
manual warns me that this variable "should never be set directly, but
bound by other functions when necessary". How do I do this in message
mode?

I tried calling `message-encode-message-body' like so

(let ((mm-use-ultra-safe-encoding t))
  (message-encode-message-body))

but it does not help.

What is the proper way to set `mm-use-ultra-safe-encoding' in
message-mode?

Thanks,
Arun Isaac.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-22 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22 18:35 How to set `mm-use-ultra-safe-encoding' in message mode Arun Isaac

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.