* rmail: summary sort
@ 2007-08-30 5:25 Xavier Maillard
2007-08-30 20:39 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Xavier Maillard @ 2007-08-30 5:25 UTC (permalink / raw)
To: help-gnu-emacs
Hey,
I think I have misunderstood something in the manual[1].
Quoting it:
"The Rmail sort commands perform a stable sort: if there is no
reason to prefer either one of two messages, their order remains
unchanged. You can use this to sort by more than one criterion.
For example, if you use rmail-sort-by-date and then
rmail-sort-by-author, messages from the same author appear in
order by date."
I tried to do this but, either the manual is wrong or me but the
summary is just not sorted like it says.
Doing this, there is only one sort taken into account, that is to
say, my summary is sorted according to date and only to date. So,
how do you really sort by author plus date ? More general
request: is there a mechanism to setup rmail (variable, hook or
anything like this) such a way it keeps memory of how I want my
summary to be sorted ?
Regards,
References:
[1] http://www.gnu.org/software/emacs/manual/html_node/emacs/Rmail-Sorting.html
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rmail: summary sort
2007-08-30 5:25 rmail: summary sort Xavier Maillard
@ 2007-08-30 20:39 ` Eli Zaretskii
2007-09-02 8:21 ` Xavier Maillard
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2007-08-30 20:39 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Thu, 30 Aug 2007 07:25:04 +0200
> From: Xavier Maillard <xma@gnu.org>
> Jabber-ID: xma01@jabber.fr
>
> "The Rmail sort commands perform a stable sort: if there is no
> reason to prefer either one of two messages, their order remains
> unchanged. You can use this to sort by more than one criterion.
> For example, if you use rmail-sort-by-date and then
> rmail-sort-by-author, messages from the same author appear in
> order by date."
>
> I tried to do this but, either the manual is wrong or me but the
> summary is just not sorted like it says.
This works for me as the manual says. What version of Emacs are you
using, and on what platform?
Please describe _exactly_ what commands you invoked and in what order,
and also what you expected to see vs what you actually saw.
> So, how do you really sort by author plus date ?
Like the manual says, at least in Emacs v22.1.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rmail: summary sort
2007-08-30 20:39 ` Eli Zaretskii
@ 2007-09-02 8:21 ` Xavier Maillard
2007-09-02 19:33 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Xavier Maillard @ 2007-09-02 8:21 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Hi Eli,
> I tried to do this but, either the manual is wrong or me but the
> summary is just not sorted like it says.
This works for me as the manual says. What version of Emacs are you
using, and on what platform?
I am using GNU Emacs 23.0.51.2 on Slackware GNU/linux 12.0.
Please describe _exactly_ what commands you invoked and in what order,
and also what you expected to see vs what you actually saw.
I did things in this precise order:
M-x rmail RET
M-x rmail-sort-by-author RET
M-x rmail-sort-by-date RET
In the end I just had messages sorted by date but not by author.
What I would have expected to see (according to my understanding
of the manual) is this
author-a date1
author-a date2
author-a date3
author-b date2
author-b date3
But I got:
author-a date1
author-a date2
author-b date2
author-a date3
author-b date3
that is to say I only got mails sorted by date and not sorted by
author plus sorted by date.
Apart this, I also need to know how to sort my mails according to
my taste on rmail startup.
Regards,
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rmail: summary sort
2007-09-02 8:21 ` Xavier Maillard
@ 2007-09-02 19:33 ` Eli Zaretskii
2007-09-03 1:00 ` Xavier Maillard
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2007-09-02 19:33 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Sun, 2 Sep 2007 10:21:27 +0200
> From: Xavier Maillard <xma@gnu.org>
> CC: help-gnu-emacs@gnu.org
> Jabber-ID: xma01@jabber.fr
>
> > I tried to do this but, either the manual is wrong or me but the
> > summary is just not sorted like it says.
>
> This works for me as the manual says. What version of Emacs are you
> using, and on what platform?
>
> I am using GNU Emacs 23.0.51.2 on Slackware GNU/linux 12.0.
>
> Please describe _exactly_ what commands you invoked and in what order,
> and also what you expected to see vs what you actually saw.
>
> I did things in this precise order:
>
> M-x rmail RET
> M-x rmail-sort-by-author RET
> M-x rmail-sort-by-date RET
Try the other way around: first by date, then by author.
> Apart this, I also need to know how to sort my mails according to
> my taste on rmail startup.
What is your taste?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rmail: summary sort
2007-09-02 19:33 ` Eli Zaretskii
@ 2007-09-03 1:00 ` Xavier Maillard
0 siblings, 0 replies; 5+ messages in thread
From: Xavier Maillard @ 2007-09-03 1:00 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Hey Eli,
> I did things in this precise order:
>
> M-x rmail RET
> M-x rmail-sort-by-author RET
> M-x rmail-sort-by-date RET
Try the other way around: first by date, then by author.
That's much better. I am concluding that I misunderstood the
manual then.
> Apart this, I also need to know how to sort my mails according to
> my taste on rmail startup.
What is your taste?
In fact, I want rmail to remember how I previously sorted my
mails (see above) and keep on sorting this way. I do not know if
it is doable currently though.
Regards,
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-03 1:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 5:25 rmail: summary sort Xavier Maillard
2007-08-30 20:39 ` Eli Zaretskii
2007-09-02 8:21 ` Xavier Maillard
2007-09-02 19:33 ` Eli Zaretskii
2007-09-03 1:00 ` Xavier Maillard
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.