Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How to set 'gnus-summary-sort-by-date' permanently?
@ 2005-09-28  8:46 romeomedina
       [not found] ` <ywmopsqt5zzp.fsf@novembre.inrialpes.fr>
  0 siblings, 1 reply; 4+ messages in thread
From: romeomedina @ 2005-09-28  8:46 UTC (permalink / raw)


Excuse my ignorance in Elisp, but:
I wish to have the 'gnus-summary-sort-by-date' function
(see § 'Summary sorting' in Gnus Manual) permanently set.
It is bounded to the 'C-c C-s C-d' key.
How can I obtain its effect in a permanent way?
I tried to put in ~/.gnus.el:

(gnus-summary-sort-by-date)

, but it doesn't seem to work.
Thanks for any help,
Rodolfo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to set 'gnus-summary-sort-by-date' permanently?
       [not found] ` <ywmopsqt5zzp.fsf@novembre.inrialpes.fr>
@ 2005-09-28  9:23   ` romeomedina
       [not found]     ` <ywmoek795x0u.fsf@novembre.inrialpes.fr>
  0 siblings, 1 reply; 4+ messages in thread
From: romeomedina @ 2005-09-28  9:23 UTC (permalink / raw)


According to the Gnus Manual, 'gnus-thread-sort-by-date' works
if a threaded summary display is in use, and
'gnus-article-sort-by-date'
works if an unthreaded summary display is in use.
Instead, the 'gnus-summary-sort-by-date' function is something
different
from the other two (in my understanding, but I may be wrong),
which works both if threaded or unthreaded is in use.

Thanks,
Rodolfo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to set 'gnus-summary-sort-by-date' permanently?
       [not found]     ` <ywmoek795x0u.fsf@novembre.inrialpes.fr>
@ 2005-09-28 11:20       ` romeomedina
       [not found]         ` <ywmoy85h4dhj.fsf@novembre.inrialpes.fr>
  0 siblings, 1 reply; 4+ messages in thread
From: romeomedina @ 2005-09-28 11:20 UTC (permalink / raw)


I think I have threading enabled (in fact, the value of
'gnus-show-thread'
is 't').
According to your interpretation, I put in my ~/.gnus.el the following:

     (setq gnus-thread-sort-functions
	   '(gnus-summary-sort-by-date))

, but then I don't manage to enter any group. When I try to enter a
group
I get a message like:

Retrieving newsgroup: prova2...
Loading gnus-ml...done
Fetching headers for prova2...done
sort: Wrong number of arguments: #[(&optional reverse) "B\b\"‡"
[reverse gnus-summary-sort date] 3
("/usr/local/share/emacs/21.3.50/lisp/gnus/gnus-sum.elc" . 353920)
"P"], 2

. What I wish to achieve in the Summary buffer is:
1) articles grouped for thread;
2) within a thread, articles sorted by date;
3) threads sorted by the date of the thread top.
Instead, gnus is following a sort-by-number principle
for articles belonging to a same thread.

Cheers,
Rodolfo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to set 'gnus-summary-sort-by-date' permanently?
       [not found]         ` <ywmoy85h4dhj.fsf@novembre.inrialpes.fr>
@ 2005-09-28 12:25           ` romeomedina
  0 siblings, 0 replies; 4+ messages in thread
From: romeomedina @ 2005-09-28 12:25 UTC (permalink / raw)


I did, but the problem remains.
I think that will have threads sorted by date.

Rodolfo


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-28 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28  8:46 How to set 'gnus-summary-sort-by-date' permanently? romeomedina
     [not found] ` <ywmopsqt5zzp.fsf@novembre.inrialpes.fr>
2005-09-28  9:23   ` romeomedina
     [not found]     ` <ywmoek795x0u.fsf@novembre.inrialpes.fr>
2005-09-28 11:20       ` romeomedina
     [not found]         ` <ywmoy85h4dhj.fsf@novembre.inrialpes.fr>
2005-09-28 12:25           ` romeomedina

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).