From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5973 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?Q?S=E9bastien?= Kirche Newsgroups: gmane.emacs.gnus.user Subject: Re: How to define this summary-line-format? Date: Mon, 07 Nov 2005 19:22:14 +0100 Organization: Aucune. Message-ID: References: <86slu8eler.fsf@sl392.st-edmunds.cam.ac.uk> <8664r4xttx.fsf@sl392.st-edmunds.cam.ac.uk> Reply-To: =?iso-8859-15?Q?S=E9bastien?= Kirche NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138671595 29605 80.91.229.2 (31 Jan 2006 01:39:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:39:55 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:36:06 2006 Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: yeuse.cuq.org 1131387746 93609 195.25.216.129 (7 Nov 2005 18:22:26 GMT) Original-X-Complaints-To: abuse@cuq.org Original-NNTP-Posting-Date: Mon, 7 Nov 2005 18:22:26 +0000 (UTC) X-Face: ;T}O6aj2o*d:|9po%NCuYvExN3]<#cHr0"FaWCh[}WVn6&@L)YWO'&6AO5Ex:MX=H;.^e}o Td*OaFQEBc_xu%+ChwRl!KK`I'["$^aO1gIN{4OyBdO@1HHD5YO#[kiVCk|/-|mmYnU8yTp+eOv."d 1.G3;ro0Q/`,UY+vY/#5b/{OYxE+X\)tc~p~1vbmZ!o4sciW+e8MW|Pz|nl`l*}]8[#1zQO"]d2*{d wrTKu]5t*Gy_pm3e8o=:(c_ju'zlQ<[oJ|\XjgQQmWZC7S]-Fmp\eBHnBO']/te~/;\@l" D#:h)8Q User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (powerpc-apple-darwin7.9.0) Cancel-Lock: sha1:G04HDHQ60gu6En8jClYh1nN+JiE= Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!proxad.net!feed.ac-versailles.fr!news.cuq.org!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:6115 Original-Lines: 75 X-Gnus-Article-Number: 6115 Tue Jan 17 17:36:06 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5973 Archived-At: At 18:11 on nov 7 2005, leon said : > I mean the dashed lines in the summary window. Those separate date & I > name etc. I tried using '|' but it looked like continuous line. I > really like the dashed line. Oh, then those lines come from the "%4{|%}" parts of my gnus-summary-line-format. Basically it makes gnus place a pipe char between the fields. I suppose that the dash style is due to some characters that are bigger than the pipe and it makes Emacs adapt the line height. > > With a custom date format : > > ;; affichage de la date en relatif > > (setq gnus-user-date-format-alist > > '(((gnus-seconds-today) . " %k:%M") ;dans la journée = 14:39 > > ((+ 86400 (gnus-seconds-today)) . "hier %k:%M") > > ;hier = hier 14:39 > > ((+ 604800 (gnus-seconds-today)) . "%a %k:%M") > > ;dans la semaine = sam 14:39 > > ((gnus-seconds-month) . "%a %d") ;ce mois = sam 28 > > ((gnus-seconds-year) . "%b %d") ;durant l'année = mai 28 (t > > . "%b %d '%y"))) ;le reste = mai 28 '05 > > > > Get this error: "symbol's value as variable is void: gnus-face-5" > My knowledge of gnus doesn't allow me to debug this. Sorry that error comes also from my gnus-summary-line-format where the %4{xxx} expressions make gnus use the corresponding gnus-face-4. So the %first error mentionning gnus-face-5 is caused by the %5 in first line %of the format that places the messages flags. I forget to refer to them. To correct that you can either rid the "%number{" and the corresponding "}" or you can define your own faces. E.g. : (copy-face 'default 'mysubject) (setq gnus-face-1 'mysubject) (copy-face 'default 'mytime) (set-face-foreground 'mytime "indianred4") (setq gnus-face-2 'mytime) ... > [...] > I highly appreciate your help! However I got some weird boxes instead > of the beautiful threading. The screenshot is here > (http://people.pwf.cam.ac.uk/sl392/gnus.png). > > I'm running gnus 5.10.6 from emacs-snapshot-gtk in debian > unstable. It's actually 22.0.50.1. I think it should have utf-8 > support. Maybe I'm missing something in the configure. Any ideas? The hollow boxes show that Emacs did not found a suitable font to display the corresponding character. In this case it's unicode chars. BTW : for a char you can obtain some details about the code and the rendering font with C-u C-x = on the char. Try to get the unifont Debian package that should help to display unicode chars (it helped me with Debian to get them). > Again, thanks very much :) I'm glad to provide those settings that I carefully collected for months from many different information sources, including the french emacs group fr.comp.applications.emacs, the Big8 comp.emacs, gnu.emacs.help, gnu.emacs.gnus *and* the emacs-wiki (http://www.emacswiki.org/cgi-bin/wiki) HTH -- Sébastien Kirche