Gnus development mailing list
 help / color / mirror / Atom feed
From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Make gnus-summary-line-format %B prettier?
Date: Wed, 19 Dec 2001 23:22:05 +0100	[thread overview]
Message-ID: <m3ellqx33m.fsf@defun.localdomain> (raw)
In-Reply-To: <vafheqnttp7.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 19 Dec 2001 10:03:19 +0000 (UTC)")

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> I think on Emacs 21 it should be possible to use line drawing
> characters for the %B specifier.  How does one do that?

That's a neat idea.  Here's what I came up with:

(setq gnus-summary-line-format "%U%R%z%(%[%-23,23f%]%) %B\n")
(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)

Threads look 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          ] ╰─▶ 


BTW, how should I save my .gnus to make it work?  When I evaluate it
with `C-x C-e' it works, but loading from .gnus doesn't.




  reply	other threads:[~2001-12-19 22:22 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 [this message]
2001-12-20 12:26   ` Kai Großjohann
2001-12-20 19:29     ` Jesper Harder
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=m3ellqx33m.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).