[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to define this summary-line-format?
From: |
leon |
Subject: |
Re: How to define this summary-line-format? |
Date: |
Mon, 07 Nov 2005 18:32:13 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Reiner Steib <reinersteib+from-uce@imap.cc> 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
- Re: How to define this summary-line-format?, (continued)
- Re: How to define this summary-line-format?, leon, 2005/11/07
- Re: How to define this summary-line-format?, Sébastien Kirche, 2005/11/08
- Re: How to define this summary-line-format?, leon, 2005/11/08
- Re: How to define this summary-line-format?, Sébastien Kirche, 2005/11/09
- Re: How to define this summary-line-format?, leon, 2005/11/09
Re: How to define this summary-line-format?, leon, 2005/11/18
Re: How to define this summary-line-format?, Frank Schmitt, 2005/11/07