Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: leon <sdl.web@gmail.com>
Subject: Re: How to define this summary-line-format?
Date: Mon, 07 Nov 2005 18:32:13 +0000	[thread overview]
Message-ID: <86irv4nwb6.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: <v9acgg8i35.fsf@marauder.physik.uni-ulm.de>

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


      reply	other threads:[~2005-11-07 18:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 11:40 leon
2005-11-07 13:03 ` Sébastien Kirche
2005-11-07 17:15   ` leon
2005-11-07 18:22     ` Sébastien Kirche
2005-11-07 23:46       ` leon
2005-11-08 10:12         ` Sébastien Kirche
2005-11-09  2:31           ` leon
2005-11-09 10:06             ` Sébastien Kirche
2005-11-09 12:49               ` leon
2005-11-18 20:32   ` leon
2005-11-21 10:16     ` Sébastien Kirche
2005-11-24 21:57       ` leon
2005-11-07 14:40 ` Frank Schmitt
2005-11-07 17:48   ` Reiner Steib
2005-11-07 18:32     ` leon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86irv4nwb6.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).