Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Glyn Millington <glyn@millingtons.org>
Subject: Re: nice summary-format
Date: Tue, 10 Feb 2004 16:46:14 +0000	[thread overview]
Message-ID: <87r7x23msp.fsf@millingtons.org> (raw)
In-Reply-To: <87smhjj8hi.fsf@rechner1.ddorf.de>

Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> Did anybody got the example from
>  http://www.emacswiki.org/cgi-bin/wiki/GnusFormatting
> to work? Or maybe anybody has a similar example using trees?

Hi Fabian,

Have a look at this, and don;t omit the footnote


http://my.gnus.org/node/view/121


My own version is as follows

8<------8<------8<------8<------8<------8<------8<------8<------8<------

 (setq
;;; ;; All of this is for Oort Gnus and higher:
;;; ;      gnus-summary-line-format "%U%R%z%(%[%4L: %-20,20n%]%B %s%)\n"
         gnus-summary-same-subject ""
         gnus-sum-thread-tree-root " >"
         gnus-sum-thread-tree-single-indent "  "
         gnus-sum-thread-tree-vertical "|"
         gnus-sum-thread-tree-indent " "
         gnus-sum-thread-tree-leaf-with-other "+-> "
         gnus-sum-thread-tree-single-leaf "`-> " 
         gnus-auto-select-next 'almost-quietly      
        gnus-auto-center-summary nil               
        gnus-summary-goto-unread nil               
        gnus-auto-select-first 'best              
        gnus-asynchronous t  
        gnus-signature-limit 10.0)  ; kill the monster sigs! 

;; thread faces!!!!!
(copy-face 'default 'mysubject)
(setq gnus-face-1 'mysubject)
 
(copy-face 'default 'mytime)
(set-face-foreground 'mytime "cornflowerblue")
(setq gnus-face-2 'mytime) 
 
(copy-face 'default 'mythreads)
(set-face-foreground 'mythreads "turquoise") 
(setq gnus-face-3 'mythreads) 
 
(copy-face 'default 'mygrey) 
(set-face-foreground 'mygrey "blue") 
(setq gnus-face-4 'mygrey) 
 
(copy-face 'default 'myblack) 
(set-face-foreground 'myblack "gold") 
(setq gnus-face-5 'myblack) 
 
(copy-face 'default 'mybiggernumbers) 
(set-face-foreground 'mybiggernumbers "seagreen") 
(setq gnus-face-6 'mybiggernumbers)


(setq gnus-summary-line-format (concat 
                                "%*%5{%U%R%z%}" 
                                "%4{|%}" 
                                "%2{%-10&user-date;%}"
                                "%4{|%}"
                                "%4{|%}"
                                "%2{ %}%(%-24,24n"
                                "%4{|%}" 
                                "%2{%5i%}" 
                                "%4{|%}" 
                                "%2{%6k %}%)"
                                "%4{|%}" 
                                "%2{ %}%3{%B%}%1{%s%}\n"))



;; Threading options
(setq gnus-fetch-old-headers 'some  
   gnus-build-sparse-threads 'some 
   gnus-summary-gather-subject-limit 'fuzzy
   gnus-summary-thread-gathering-function 'gnus-gather-threads-by-references 
;   gnus-summary-make-false-root 'dummy
    gnus-summary-make-false-root-always nil
  gnus-thread-ignore-subject t 
   gnus-thread-sort-functions '(gnus-thread-sort-by-number
   gnus-thread-sort-by-date  ; Dates matter...
   gnus-thread-sort-by-total-score) ; .. and scores matter more
   gnus-thread-hide-killed t)
8<------8<------8<------8<------8<------8<------8<------8<------8<------



I do it that way becaue I can't get the Unicode stuff to work on Xemacs,
though with Gnu Emacs it works nicely.

Good luck




Glyn


       reply	other threads:[~2004-02-10 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87smhjj8hi.fsf@rechner1.ddorf.de>
2004-02-10 16:46 ` Glyn Millington [this message]
     [not found] ` <87ekt3m5cp.fsf@users.sourceforge.net>
2004-02-11 21:39   ` Ted Zlatanov

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=87r7x23msp.fsf@millingtons.org \
    --to=glyn@millingtons.org \
    /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).