info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to define this summary-line-format?


From: Sébastien Kirche
Subject: Re: How to define this summary-line-format?
Date: Mon, 21 Nov 2005 11:16:45 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (powerpc-apple-darwin7.9.0)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]