* ordering threads by the latest message in a thread ?
@ 2011-02-09 9:28 Sebastien Binet
2011-02-09 18:02 ` Jameson Rollins
0 siblings, 1 reply; 6+ messages in thread
From: Sebastien Binet @ 2011-02-09 9:28 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
hi there,
right now, it seems like the messages are displayed and ordered in my
inbox according to the date of the *first* message in a thread.
that doesn't sound right to me as one can easily miss new replies to
that thread (at least I did.)
is there a way to modify this in the notmuch emacs interface so that
threads are ordered according to the *latest* message in a thread
instead ?
(I am not fluent in lisp -- even if I am regularly trying to work on
that specific issue -- so I might have missed an obvious way to perform
such a thing.)
--
@+
-s
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ordering threads by the latest message in a thread ?
2011-02-09 9:28 ordering threads by the latest message in a thread ? Sebastien Binet
@ 2011-02-09 18:02 ` Jameson Rollins
2011-02-09 18:22 ` Daniel Kahn Gillmor
0 siblings, 1 reply; 6+ messages in thread
From: Jameson Rollins @ 2011-02-09 18:02 UTC (permalink / raw)
To: Sebastien Binet, notmuch
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
On Wed, 9 Feb 2011 10:28:17 +0100, Sebastien Binet <binet@cern.ch> wrote:
> right now, it seems like the messages are displayed and ordered in my
> inbox according to the date of the *first* message in a thread.
>
> that doesn't sound right to me as one can easily miss new replies to
> that thread (at least I did.)
>
> is there a way to modify this in the notmuch emacs interface so that
> threads are ordered according to the *latest* message in a thread
> instead ?
Hi, Sebastien. You can access the notmuch emacs config parameters by
doing:
M-x customize-group notmuch
There is a variable there called "Notmuch Search Oldest First" that does
what you're looking for.
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ordering threads by the latest message in a thread ?
2011-02-09 18:02 ` Jameson Rollins
@ 2011-02-09 18:22 ` Daniel Kahn Gillmor
2011-02-09 18:36 ` Jesse Rosenthal
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2011-02-09 18:22 UTC (permalink / raw)
To: Jameson Rollins; +Cc: Sebastien Binet, notmuch
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
On 02/09/2011 01:02 PM, Jameson Rollins wrote:
> On Wed, 9 Feb 2011 10:28:17 +0100, Sebastien Binet <binet@cern.ch> wrote:
>> is there a way to modify this in the notmuch emacs interface so that
>> threads are ordered according to the *latest* message in a thread
>> instead ?
[...]
> There is a variable there called "Notmuch Search Oldest First" that does
> what you're looking for.
Jameson, are you saying that "Search Oldest First" not only inverts the
order of the threads, but also changes the a date a given thread is
associated with? I guess that's a reasonable thing to do, but it's
certainly not clear from the "customize-group" page that the variable
affects both of these behaviors.
--dkg
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 1030 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ordering threads by the latest message in a thread ?
2011-02-09 18:22 ` Daniel Kahn Gillmor
@ 2011-02-09 18:36 ` Jesse Rosenthal
2011-02-09 20:03 ` Sebastien Binet
0 siblings, 1 reply; 6+ messages in thread
From: Jesse Rosenthal @ 2011-02-09 18:36 UTC (permalink / raw)
To: Daniel Kahn Gillmor, Jameson Rollins; +Cc: Sebastien Binet, notmuch
On Wed, 09 Feb 2011 13:22:26 -0500, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
>
> Jameson, are you saying that "Search Oldest First" not only inverts the
> order of the threads, but also changes the a date a given thread is
> associated with?
The procedure is to match threads by either the oldest matching message
(in oldest first) or newest matching message (in newest first). So
matching newest first will make the thread with new messages go to the
top. But in oldest first -- which is what I imagine Sebastian was
looking at in the inbox -- the thread with an older inbox message will
appear further up.
So if Sebastian's message is tagged "inbox" this thread will appear,
under oldest-first, when he sent it; if it's not but Jamie's is, then it
will appear under Jamie's. But it'll appear under mine regardless in
newest first. I don't believe emacs has anything to do with it -- it's
how the nm binary orders threads as output to "search."
Apologies if this is restating what everyone already knew -- I couldn't
quite tell.
Best,
Jesse
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ordering threads by the latest message in a thread ?
2011-02-09 18:36 ` Jesse Rosenthal
@ 2011-02-09 20:03 ` Sebastien Binet
2011-03-02 13:09 ` Xavier Maillard
0 siblings, 1 reply; 6+ messages in thread
From: Sebastien Binet @ 2011-02-09 20:03 UTC (permalink / raw)
To: Jesse Rosenthal, Daniel Kahn Gillmor, Jameson Rollins; +Cc: notmuch
[-- Attachment #1: Type: text/plain, Size: 2220 bytes --]
On Wed, 9 Feb 2011 13:36:17 -0500, Jesse Rosenthal <jrosenthal@jhu.edu> wrote:
>
> On Wed, 09 Feb 2011 13:22:26 -0500, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
> >
> > Jameson, are you saying that "Search Oldest First" not only inverts the
> > order of the threads, but also changes the a date a given thread is
> > associated with?
>
> The procedure is to match threads by either the oldest matching message
> (in oldest first) or newest matching message (in newest first). So
> matching newest first will make the thread with new messages go to the
> top. But in oldest first -- which is what I imagine Sebastian was
> looking at in the inbox -- the thread with an older inbox message will
> appear further up.
>
> So if Sebastian's message is tagged "inbox" this thread will appear,
> under oldest-first, when he sent it; if it's not but Jamie's is, then it
> will appear under Jamie's. But it'll appear under mine regardless in
> newest first. I don't believe emacs has anything to do with it -- it's
> how the nm binary orders threads as output to "search."
aha!
I knew about the 'o' toggle that one could play with to display the
threads, but I didn't notice this also modified how their ordering
worked out:
I naively thought it was just a matter of reverting the list.
so, say I have the following messages and threads:
id_0 1/3 [important meeting] - (received Monday)
id_1 2/3 [important meeting] - (received Tuesday)
id_2 1/1 [pick groceries] - (received Wednesday)
id_3 3/3 [important meeting] - (received Thursday)
id_4 1/1 [another title] - (received Friday morning)
if I have 'Search Oldest first' "on", I'd get the following
id_0 [and id_1 and id_3 folded in]
id_2
id_4
and if it is "off":
id_4
id_0 [and id_1 and id_3 folded in]
id_2
but what I'd like to have is instead:
id_2
id_0 [and id_1 and id_3 folded in]
id_4
id_0 and friends come after id_2 because id_3 is more recent than id_2
but older than id_4
so: oldest first but only the latest of the messages of a thread to be
considered for the thread-to-thread ordering.
I prefer to process my emails like a stack growing from top to bottom ;)
-s
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ordering threads by the latest message in a thread ?
2011-02-09 20:03 ` Sebastien Binet
@ 2011-03-02 13:09 ` Xavier Maillard
0 siblings, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2011-03-02 13:09 UTC (permalink / raw)
To: Sebastien Binet, Jesse Rosenthal, Daniel Kahn Gillmor,
Jameson Rollins
Cc: notmuch
Hi Sebastien,
On Wed, 9 Feb 2011 21:03:06 +0100, Sebastien Binet <binet@cern.ch> wrote:
> so, say I have the following messages and threads:
> id_0 1/3 [important meeting] - (received Monday)
> id_1 2/3 [important meeting] - (received Tuesday)
> id_2 1/1 [pick groceries] - (received Wednesday)
> id_3 3/3 [important meeting] - (received Thursday)
> id_4 1/1 [another title] - (received Friday morning)
>
> if I have 'Search Oldest first' "on", I'd get the following
> id_0 [and id_1 and id_3 folded in]
> id_2
> id_4
>
> and if it is "off":
> id_4
> id_0 [and id_1 and id_3 folded in]
> id_2
>
> but what I'd like to have is instead:
> id_2
> id_0 [and id_1 and id_3 folded in]
> id_4
THat's also what I am used to have at work with Thunderbird. I'd also
see this implemented one day.
/Xavier
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-02 13:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09 9:28 ordering threads by the latest message in a thread ? Sebastien Binet
2011-02-09 18:02 ` Jameson Rollins
2011-02-09 18:22 ` Daniel Kahn Gillmor
2011-02-09 18:36 ` Jesse Rosenthal
2011-02-09 20:03 ` Sebastien Binet
2011-03-02 13:09 ` Xavier Maillard
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).