From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5974 Path: news.gmane.org!not-for-mail From: leon Newsgroups: gmane.emacs.gnus.user Subject: Re: How to define this summary-line-format? Date: Mon, 07 Nov 2005 18:32:13 +0000 Organization: University of Cambridge, England Message-ID: <86irv4nwb6.fsf@sl392.st-edmunds.cam.ac.uk> References: <86slu8eler.fsf@sl392.st-edmunds.cam.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138671596 29610 80.91.229.2 (31 Jan 2006 01:39:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:39:56 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:36:07 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!feeder.news.heanet.ie!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!gemini.csx.cam.ac.uk!news.cam.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:9p40o9s/XwFkzE9x5XDR/BVta3M= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:6116 Original-Lines: 51 X-Gnus-Article-Number: 6116 Tue Jan 17 17:36:07 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5974 Archived-At: Reiner Steib writes: > On Mon, Nov 07 2005, Frank Schmitt wrote: > >> (unless (eq window-system nil) >> (setq gnus-sum-thread-tree-root "►") >> (setq gnus-sum-thread-tree-leaf-with-other "├─►") >> (setq gnus-sum-thread-tree-single-leaf "└─►") >> (setq gnus-sum-thread-tree-vertical "│")) > > Probably you meant to test if Emacs is able to display those chars > instead of testing if `window-system' is non-nil. > > But I'm not sure what is the best way to test this. > > (when (or window-system > (eq (terminal-coding-system) 'mule-utf-8)) > [...]) > > ... isn't much more clean. Better suggestions? > > Bye, Reiner. > -- > ,,, > (o o) > ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ It seems my system supports utf-8 but I still see boxes for the utf-8 characters in Frank's article. Any ideas? Here is the output of 'describe-current-coding-system' ;;;;;;;;;;;;;start;;;;;;;;;;;;; Coding system for saving this buffer: Not set locally, use the default. Default coding system (for new files): u -- mule-utf-8 (alias: utf-8) Coding system for keyboard input: nil Coding system for terminal output: 1 -- iso-8859-1 (alias of iso-latin-1) Defaults for subprocess I/O: decoding: u -- mule-utf-8 (alias: utf-8) encoding: u -- mule-utf-8 (alias: utf-8) ;;;;;;;;;;;;;end;;;;;;;;;;;;;;; -- Cheers