Gnus development mailing list
 help / color / mirror / Atom feed
* content transfer encoding
@ 2002-11-14 11:34 James H. Cloos Jr.
  2002-11-14 12:21 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: James H. Cloos Jr. @ 2002-11-14 11:34 UTC (permalink / raw)


I added:

(setq mm-content-transfer-encoding-defaults
  '(("text/x-patch" 8bit)
    ("text/.*" 8bit)
    ("message/rfc822" 8bit)
    ("application/emacs-lisp" 8bit)
    ("application/x-patch" 8bit)
    (".*" qp-or-base64)))

to ~/.gnus.

Running (mm-content-transfer-encoding "text/plain") returns 8bit.

I also customised gnus-group-posting-charset-alist and changed 
(message-this-is-mail nil nil) to (message-this-is-mail nil t).

Nonetheless, sending a message with 8859-1 or utf8 non-ascii
characters results in qp encoding.

I can see 7 bit for headers, but I do not want it at all for bodies.

What is the trick?

-JimC




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

* Re: content transfer encoding
  2002-11-14 11:34 content transfer encoding James H. Cloos Jr.
@ 2002-11-14 12:21 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2002-11-14 12:21 UTC (permalink / raw)
  Cc: ding

Hi,

>>>>> In <m37kfgbd19.fsf@lugabout.jhcloos.org>
>>>>>	"James H. Cloos Jr." <cloos@jhcloos.com> wrote:

> I added:

> (setq mm-content-transfer-encoding-defaults
> '(("text/x-patch" 8bit)
> ("text/.*" 8bit)

[...]

> Nonetheless, sending a message with 8859-1 or utf8 non-ascii
> characters results in qp encoding.

That is no more than a default value.  You can customize the
option mm-body-charset-encoding-alist as follows:

(eval-after-load "mm-bodies"
  '(add-to-list 'mm-body-charset-encoding-alist
		'(iso-8859-1 . 8bit)))

and also:

(eval-after-load "gnus-msg"
  '(setcdr (assq 'message-this-is-mail
		 gnus-group-posting-charset-alist)
	   '(iso-8859-1 iso-8859-1)))

However, such a mail might not be delivered correctly all over
the world.
(I'm not knowledgeable about the Latin characters, though.)
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



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

end of thread, other threads:[~2002-11-14 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 11:34 content transfer encoding James H. Cloos Jr.
2002-11-14 12:21 ` Katsumi Yamaoka

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