From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80566 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: accented characters in gnus-summary-line-format Date: Wed, 09 Nov 2011 09:52:19 +0100 Message-ID: <87mxc5vfss.fsf@marauder.physik.uni-ulm.de> References: <87obwl8z5l.fsf@free.fr> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1320828816 9308 80.91.229.12 (9 Nov 2011 08:53:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2011 08:53:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28849@lists.math.uh.edu Wed Nov 09 09:53:30 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RO3uO-00086n-8A for ding-account@gmane.org; Wed, 09 Nov 2011 09:53:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RO3to-00083i-N2; Wed, 09 Nov 2011 02:52:48 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RO3tn-00083T-Gm for ding@lists.math.uh.edu; Wed, 09 Nov 2011 02:52:47 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RO3tl-0000nl-T2 for ding@lists.math.uh.edu; Wed, 09 Nov 2011 02:52:47 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RO3tk-0007QL-Fu for ding@gnus.org; Wed, 09 Nov 2011 09:52:44 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RO3ti-0007sB-TZ for ding@gnus.org; Wed, 09 Nov 2011 09:52:42 +0100 Original-Received: from p5dcb75b8.dip.t-dialin.net ([93.203.117.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Nov 2011 09:52:42 +0100 Original-Received: from Reiner.Steib by p5dcb75b8.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Nov 2011 09:52:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcb75b8.dip.t-dialin.net X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:UvTkiz7zdXrXpeZxu+Qgo9jySV8= X-Spam-Score: -3.7 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80566 Archived-At: On Wed, Nov 09 2011, Julien Cubizolles wrote: > I'm using this to display the To field instead of the author in groups > collecting sent mail: > > ((gnus-summary-line-format "%8{%8d│%}%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23~(form (gnus-extra-header 'To))@%)%7{║%} %6{%B%} %s\n")) > > The address is not correctly displayed when it contains non-ASCII > characters. For instance, I get > =?utf-8?Q?Cap=C3=A9ran? > > instead of Capéran. > > How should I correct it ? Use %f instead of the (gnus-extra-header 'To) form. ,----[ (info "(gnus)Summary Buffer Lines") ] | `f' | The name, `To' header or the `Newsgroups' header (*note To From | Newsgroups::). `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/