unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Catching up unread messages
@ 2009-11-22 21:48 Tassilo Horn
  2009-11-22 21:52 ` Bart Trojanowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tassilo Horn @ 2009-11-22 21:48 UTC (permalink / raw)
  To: notmuch

Hi!

I got notmuch running, and it's absolutely incredible.  It's so damn
fast and the results are very good.  So thanks a lot for creating this
nice piece of software. :-)

Ok, so new the question: I indexed all my 63.000 mails, and because it
was a first-time indexing, all my mail now has the tags inbox and
unread.  Of course, I don't want to SPC through all threads (using the
great emacs interface) to remove the unread status.  So is there some
catchup command, which marks all messages in the buffer as read?

BTW, what's the intention of the inbox tag?  When I've read a thread,
both inbox as well as unread disappear, so I don't get the difference
between them.

Bye,
Tassilo

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

* Re: Catching up unread messages
  2009-11-22 21:48 Catching up unread messages Tassilo Horn
@ 2009-11-22 21:52 ` Bart Trojanowski
  2009-11-22 21:57 ` Jed Brown
  2009-11-23  4:47 ` Carl Worth
  2 siblings, 0 replies; 4+ messages in thread
From: Bart Trojanowski @ 2009-11-22 21:52 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: notmuch

* Tassilo Horn <tassilo@member.fsf.org> [091122 16:49]:
> Ok, so new the question: I indexed all my 63.000 mails, and because it
> was a first-time indexing, all my mail now has the tags inbox and
> unread.  Of course, I don't want to SPC through all threads (using the
> great emacs interface) to remove the unread status.  So is there some
> catchup command, which marks all messages in the buffer as read?

notmuch tag -unread -- tag:unread

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/

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

* Re: Catching up unread messages
  2009-11-22 21:48 Catching up unread messages Tassilo Horn
  2009-11-22 21:52 ` Bart Trojanowski
@ 2009-11-22 21:57 ` Jed Brown
  2009-11-23  4:47 ` Carl Worth
  2 siblings, 0 replies; 4+ messages in thread
From: Jed Brown @ 2009-11-22 21:57 UTC (permalink / raw)
  To: Tassilo Horn, notmuch

On Sun, 22 Nov 2009 22:48:52 +0100, Tassilo Horn <tassilo@member.fsf.org> wrote:
> Ok, so new the question: I indexed all my 63.000 mails, and because it
> was a first-time indexing, all my mail now has the tags inbox and
> unread.  Of course, I don't want to SPC through all threads (using the
> great emacs interface) to remove the unread status.  So is there some
> catchup command, which marks all messages in the buffer as read?

With this patch

  <1258920736-14205-1-git-send-email-jed@59A2.org>

you would do

  * -inbox

or

  * -inbox -unread

On the command line, you can clear it with

$ notmuch tag -inbox tag:inbox

> BTW, what's the intention of the inbox tag?  When I've read a thread,
> both inbox as well as unread disappear, so I don't get the difference
> between them.

That is because SPC is bound to
notmuch-show-advance-marking-read-and-archiving which removes both tags.
The idea is that you can clear your inbox while retaining unread status,
or leave something important in your inbox even though you have read it.

Jed

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

* Re: Catching up unread messages
  2009-11-22 21:48 Catching up unread messages Tassilo Horn
  2009-11-22 21:52 ` Bart Trojanowski
  2009-11-22 21:57 ` Jed Brown
@ 2009-11-23  4:47 ` Carl Worth
  2 siblings, 0 replies; 4+ messages in thread
From: Carl Worth @ 2009-11-23  4:47 UTC (permalink / raw)
  To: Tassilo Horn, notmuch

On Sun, 22 Nov 2009 22:48:52 +0100, Tassilo Horn <tassilo@member.fsf.org> wrote:
> I got notmuch running, and it's absolutely incredible.  It's so damn
> fast and the results are very good.  So thanks a lot for creating this
> nice piece of software. :-)

Fantastic, Tassilo. I'm glad you got things working and are happy with
the results. And you're quite welcome. I'm just glad I'm able to share
something that has been really useful for me.

> Ok, so new the question: I indexed all my 63.000 mails, and because it
> was a first-time indexing, all my mail now has the tags inbox and
> unread.  Of course, I don't want to SPC through all threads (using the
> great emacs interface) to remove the unread status.  So is there some
> catchup command, which marks all messages in the buffer as read?

If you were to look at the notmuch/TODO file right now, you would see as
the first lines:

	Fix the things that are causing the most pain to new users
	----------------------------------------------------------
	1. A new import is tagging all messages as "inbox" -- total pain

So yes, I understand that this is not useful behavior!

Also, the pain is amplified because the command to *remove* these tags
is currently very slow. So there's some work we need to do before the
initial experience with notmuch is really pleasant for a lot of people.

> BTW, what's the intention of the inbox tag?  When I've read a thread,
> both inbox as well as unread disappear, so I don't get the difference
> between them.

If you get half-way through reading a thread, and then exit, then when
you come back to that thread, notmuch will start you out at the first
unread message in the thread, (and all the read messages will be
collapsed).

Also I often end up archiving entire threads without reading them,
(often for mailing lists that I don't read closely, but just skim the
subject lines once a day or so). For cases like this, I think it's
useful to be able to say things like:

	I almost never read this list in its entirety, but I want to
	find that message I actually did read recently:

		notmuch search tag:lkml and tag:read

Another thing that I think is a little bit useful is if someone points
me to a specific message, it's nice to be able to see "unread" and say
"Oh, yeah, I don't think I ever read that at all."

So that's the idea anyway, (and thanks to sup for showing us the way
here).

-Carl

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

end of thread, other threads:[~2009-11-23  4:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22 21:48 Catching up unread messages Tassilo Horn
2009-11-22 21:52 ` Bart Trojanowski
2009-11-22 21:57 ` Jed Brown
2009-11-23  4:47 ` Carl Worth

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