From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Make gnus-summary-line-format %B prettier?
Date: Thu, 20 Dec 2001 20:29:59 +0100 [thread overview]
Message-ID: <m31yhpwuyw.fsf@defun.localdomain> (raw)
In-Reply-To: <vafk7vikrh3.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Not bad. I use it now, except that I removed the arrow-heads.
>
> There is still a problem: some arrow-heads have a vertical line below
> it, but some don't. Is it possible to tweak the variables (or the
> code) such that different characters can be used for them?
Yeah, it looks better with no arrowheads. I think this version is
nicer:
(setq gnus-sum-thread-tree-leaf-with-other "├╮ ")
(setq gnus-sum-thread-tree-vertical "│")
(setq gnus-sum-thread-tree-single-leaf "╰─╮ ")
(setq gnus-sum-thread-tree-root nil)
(setq gnus-sum-thread-tree-single-indent nil)
[Jinhyok Heo ] How to read utf-8 mails?
[Kai Großjohann ] ├╮
[Daniel Pittman ] │╰─╮
[Jinhyok Heo ] │ ├╮
[Daniel Pittman ] │ │├╮
[Vincent Bernat ] │ │╰─╮
[Kai Großjohann ] │ │ ╰─╮
[Vincent Bernat ] │ ╰─╮
[Daniel Pittman ] │ ╰─╮
[Frank Schmitt ] ╰─╮
I think it would look slightly better, if you could use a different
string when an article doesn't have children -- maybe like this:
[Jinhyok Heo ] How to read utf-8 mails?
[Kai Großjohann ] ├╮
[Daniel Pittman ] │╰─╮
[Jinhyok Heo ] │ ├╮
[Daniel Pittman ] │ │├─
[Vincent Bernat ] │ │╰─╮
[Kai Großjohann ] │ │ ╰─
[Vincent Bernat ] │ ╰─╮
[Daniel Pittman ] │ ╰─
[Frank Schmitt ] ╰─
But then you'd have to change the code.
> I enabled it by putting the lines in ~/.gnus, saying C-x RET f utf-8
> RET, putting "-*- coding: utf-8; -*-" in the first line of the file,
> then saving it. Does that work for you, too, Jesper?
No it still doesn't work. When .gnus is loaded automatically I get this
value:
gnus-sum-thread-tree-vertical's value is "\342\224\202"
But when I open it with `C-x C-f' and do `M-x eval-buffer' I get the
right value:
gnus-sum-thread-tree-vertical's value is "│"
Hmm, when I loook at `gnus-read-init-file', the file is loaded like
this:
(let ((coding-system-for-read
gnus-startup-file-coding-system))
(load file nil t))
and `gnus-startup-file-coding-system' is bound to 'binary by default.
Doesn't that override the comment line? When I bind
`gnus-startup-file-coding-system' to 'utf-8, it works.
next prev parent reply other threads:[~2001-12-20 19:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 10:01 Kai Großjohann
2001-12-19 22:22 ` Jesper Harder
2001-12-20 12:26 ` Kai Großjohann
2001-12-20 19:29 ` Jesper Harder [this message]
2001-12-20 16:41 ` Ami Fischman
2001-12-20 17:42 ` Jesper Harder
2001-12-20 20:59 ` Ami Fischman
2001-12-20 22:17 ` Jesper Harder
2001-12-20 23:26 ` fonts? (was Re: Make gnus-summary-line-format %B prettier?) Bill White
2001-12-21 0:54 ` Jesper Harder
2001-12-21 2:31 ` Bill White
2001-12-21 4:40 ` Bill White
2001-12-21 13:17 ` Henrik Enberg
2001-12-20 17:57 ` Make gnus-summary-line-format %B prettier? Kai Großjohann
2001-12-20 18:21 ` Josh Huber
2001-12-21 11:05 ` Raymond Scholz
2001-12-21 15:12 ` Fabien Penso
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=m31yhpwuyw.fsf@defun.localdomain \
--to=harder@ifa.au.dk \
/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).