From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/6109 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, 21 Nov 2005 11:16:45 +0100 Organization: Aucune. Message-ID: References: <86slu8eler.fsf@sl392.st-edmunds.cam.ac.uk> <86irupelyt.fsf@gmail.com> 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 1138671702 30206 80.91.229.2 (31 Jan 2006 01:41:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:41:42 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:36:19 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!news-fra1.dfn.de!news0.de.colt.net!newsfeed.cw.net!news-FFM2.ecrc.de!newsfeed.stueberl.de!proxad.net!nerim.net!noc.nerim.net!news.cuq.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: yeuse.cuq.org 1132568262 70177 195.25.216.129 (21 Nov 2005 10:17:42 GMT) Original-X-Complaints-To: abuse@cuq.org Original-NNTP-Posting-Date: Mon, 21 Nov 2005 10:17:42 +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:Qm5hasjlhnaefynTcYqt5tcFL6U= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:6251 Original-Lines: 27 X-Gnus-Article-Number: 6251 Tue Jan 17 17:36:19 2006 Xref: news.gmane.org gmane.emacs.gnus.user:6109 Archived-At: At 21:11 on nov 18 2005, leon said : > Could also make a version without using unifont? I want this to be > proper displayed in other platform such windows and other Linux > distributions. Many thanks! You can try with the values that were in the comments, and put them in a conditional statement that checks the host by its platform or its name. E.g.: (if (eq system-type 'windows-nt) (setq gnus-sum-thread-tree-root "> " ; "> " gnus-sum-thread-tree-false-root "> " gnus-sum-thread-tree-single-indent "" gnus-sum-thread-tree-leaf-with-other "+-> " gnus-sum-thread-tree-vertical "| " gnus-sum-thread-tree-single-leaf "\\-> ") (setq ;... the unifont assignment)) ; platforms other than windows You can make some variants if you want another conditional scheme than if/else with (cond) or (when), and to test the name of th host you can test (string-match "\\`foobar" system-name) HTH. -- Sébastien Kirche