From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2974 Path: news.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.user Subject: Re: Setting default charset for outgoing mail Date: Mon, 08 Sep 2003 15:19:12 +0200 Organization: http://purl.org/harder/ Message-ID: References: <87bru62hhe.fsf@plato.moon.paoloamoroso.it> <87isodg9mu.fsf@plato.moon.paoloamoroso.it> <87n0dowjgt.fsf@plato.moon.paoloamoroso.it> <87wuckzsp1.fsf@plato.moon.paoloamoroso.it> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669221 17148 80.91.229.2 (31 Jan 2006 01:00:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:00:21 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:30 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; Paolo Amoroso writes: > Jesper Harder writes: > >> See . 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))