* Re: Setting default charset for outgoing mail [not found] ` <87isodg9mu.fsf@plato.moon.paoloamoroso.it> @ 2003-08-31 20:24 ` Simon Josefsson 2003-08-31 20:34 ` Jesper Harder [not found] ` <87n0dowjgt.fsf@plato.moon.paoloamoroso.it> 0 siblings, 2 replies; 3+ messages in thread From: Simon Josefsson @ 2003-08-31 20:24 UTC (permalink / raw) Paolo Amoroso <amoroso@mclink.it> writes: > Simon Josefsson <jas@extundo.com> writes: > >> Paolo Amoroso <amoroso@mclink.it> writes: >> >>> How do I set the default character set for outgoing mail? > [...] >> Otherwise there is no default charset. Gnus uses the most appropriate >> charset that can encode the data you type. To override the logic, add >> a <#mml charset=iso-8859-42> tag to your message. If you need to do > > After reading your response, and experimenting a bit with Gnus, I > realize that I have asked only part of the question. > > It looks like Gnus is able to pick the right character set based on > the message content. But it uses quoted printable as the transfer > encoding, and I would prefer 8bit. How do I set this? For article bodies, there is the 'encoding' MML tag for per-message setting, and the variables mm-body-charset-encoding-alist and mm-content-transfer-encoding-defaults for permanent settings. For headers, see rfc2047-charset-encoding-alist. Did you see the Emacs MIME manual? It should contain these discussions. Feel free to suggest improvements. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Setting default charset for outgoing mail 2003-08-31 20:24 ` Setting default charset for outgoing mail Simon Josefsson @ 2003-08-31 20:34 ` Jesper Harder [not found] ` <87n0dowjgt.fsf@plato.moon.paoloamoroso.it> 1 sibling, 0 replies; 3+ messages in thread From: Jesper Harder @ 2003-08-31 20:34 UTC (permalink / raw) Simon Josefsson <jas@extundo.com> writes: > Paolo Amoroso <amoroso@mclink.it> writes: > >> It looks like Gnus is able to pick the right character set based on >> the message content. But it uses quoted printable as the transfer >> encoding, and I would prefer 8bit. How do I set this? > > For article bodies, there is the 'encoding' MML tag for per-message > setting, and the variables mm-body-charset-encoding-alist and > mm-content-transfer-encoding-defaults for permanent settings. I think `gnus-group-posting-charset-alist' is the usual option to frob if you don't want QP in email. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <87n0dowjgt.fsf@plato.moon.paoloamoroso.it>]
[parent not found: <m3r82zappp.fsf@defun.localdomain>]
[parent not found: <87wuckzsp1.fsf@plato.moon.paoloamoroso.it>]
* Re: Setting default charset for outgoing mail [not found] ` <87wuckzsp1.fsf@plato.moon.paoloamoroso.it> @ 2003-09-08 13:19 ` Jesper Harder 0 siblings, 0 replies; 3+ messages in thread From: Jesper Harder @ 2003-09-08 13:19 UTC (permalink / raw) Paolo Amoroso <amoroso@mclink.it> writes: > Jesper Harder <harder@myrealbox.com> writes: > >> See <info://gnus/charsets>. What you want is to change the element >> >> (message-this-is-mail nil nil) >> >> in `gnus-group-posting-charset-alist' to either > > Where do I change `gnus-group-posting-charset-alist'? I have tried > the following code in my .gnus: > > (defun set-mail-encoding-8bit (alist) > "*Set mail transfer encoding to 8bit." > (let ((mail-encoding (assq 'message-this-is-mail alist))) > (setcdr mail-encoding (list nil t)))) > > (set-mail-encoding-8bit gnus-group-posting-charset-alist) > > but it prints the error: > > Error in ~/.gnus: gnus-group-posting-charset-alist The easiest way is to just use Customize: `M-x customize-option RET gnus-group-posting-charset-alist RET' and then press "save for future sessions" after you've changed it. If you don't like customize, you could do something like: (eval-after-load 'gnus-msg '(set-mail-encoding-8bit gnus-group-posting-charset-alist)) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-08 13:19 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <87bru62hhe.fsf@plato.moon.paoloamoroso.it> [not found] ` <iluy8xaggae.fsf@latte.josefsson.org> [not found] ` <87isodg9mu.fsf@plato.moon.paoloamoroso.it> 2003-08-31 20:24 ` Setting default charset for outgoing mail Simon Josefsson 2003-08-31 20:34 ` Jesper Harder [not found] ` <87n0dowjgt.fsf@plato.moon.paoloamoroso.it> [not found] ` <m3r82zappp.fsf@defun.localdomain> [not found] ` <87wuckzsp1.fsf@plato.moon.paoloamoroso.it> 2003-09-08 13:19 ` Jesper Harder
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).