[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Group Specific Sorting and Threading
From: |
Damien Wyart |
Subject: |
Re: Group Specific Sorting and Threading |
Date: |
Tue, 22 Apr 2014 08:37:26 +0200 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 |
* Les Harris <lharris@gnome.org> in gnu.emacs.gnus:
> Is it possible to have different sorting and threading functions on
> a per group basis?
> I have a group using the nnrss backend and the feed comes with posts
> newest first and threaded. For this group, I would like posts to be
> sorted oldest first and have no threading.
You can find something close to this in this file
(http://people.irisa.fr/Nicolas.Berthier/file:.gnus.el):
,----
| ;; RSS in summary buffer:
| (add-hook
| 'gnus-summary-mode-hook
| (lambda ()
| (when (string-match "^nnrss:.*" gnus-newsgroup-name)
| (make-local-variable 'gnus-show-threads)
| (make-local-variable 'gnus-use-adaptive-scoring)
| (make-local-variable 'gnus-use-scoring)
| (make-local-variable 'gnus-score-find-score-files-function)
| (make-local-variable 'gnus-summary-line-format)
| (setq gnus-show-threads nil
| gnus-use-adaptive-scoring nil
| gnus-use-scoring t
| gnus-score-find-score-files-function 'gnus-score-find-single
| gnus-summary-line-format "%U%R%z%d %I%(%[ %s %]%)\n"))))
`----
--
DW