Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Setting default charset for outgoing mail
Date: Mon, 08 Sep 2003 15:19:12 +0200	[thread overview]
Message-ID: <m3fzj78lkf.fsf@defun.localdomain> (raw)
In-Reply-To: <87wuckzsp1.fsf@plato.moon.paoloamoroso.it>

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


      parent reply	other threads:[~2003-09-08 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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     ` 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 message]

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

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

  git send-email \
    --in-reply-to=m3fzj78lkf.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /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.
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).