Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Frank Schmitt <usereplyto2005@frank-schmitt.net>
Subject: Re: How to define this summary-line-format?
Date: Mon, 07 Nov 2005 15:40:17 +0100	[thread overview]
Message-ID: <m3r79szfla.fsf@mid.gehheimdienst.de> (raw)
In-Reply-To: <86slu8eler.fsf@sl392.st-edmunds.cam.ac.uk>

leon <sdl.web@gmail.com> writes:

> I started using gnus hours ago so please forgive my ignorance. 
>
> This screenshot (http://my.gnus.org/node/316) is absolutely amazing.
> I'm trying to mimic one but have some difficulties.
>
> 1. vertical dashed separation line (`|' doesn't look dashed)
> 2. abbreviated date (i.e. "Mo 13")

Does %&user-date; do what you want?

> 3. very nice threading format

Something like this?

(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 "│"))
(setq gnus-sum-thread-tree-single-indent " ")

and then including %B in gnus-summary-line-format like in
(setq gnus-summary-line-format ":%U%R%B %s %-79= │%4L │%-21,21f │%&user-date;\n")

(If you write the unicode characters verbatim in .gnus, remember to put
the lines

;; -*- emacs-lisp -*-
;;coding: mule-utf-8-unix

at the top of .gnus so Emacs knows it's Unicode.)

-- 
Did you ever realize how much text fits in eighty columns? If you now consider
that a signature usually consists of up to four lines, this gives you enough
space to spread a tremendous amount of information with your messages. So seize
this opportunity and don't waste your signature with bullshit nobody will read.


  parent reply	other threads:[~2005-11-07 14:40 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 [this message]
2005-11-07 17:48   ` Reiner Steib
2005-11-07 18:32     ` leon

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=m3r79szfla.fsf@mid.gehheimdienst.de \
    --to=usereplyto2005@frank-schmitt.net \
    --cc=replies@frank-schmitt.net \
    /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).