Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only tag messages currently viewed #10

Open
ff2000 opened this issue Dec 29, 2014 · 1 comment
Open

only tag messages currently viewed #10

ff2000 opened this issue Dec 29, 2014 · 1 comment

Comments

@ff2000
Copy link
Collaborator

ff2000 commented Dec 29, 2014

Just happened:

  • read a mailing list thread (several new mails)
  • during reading new mails arrived (didn't realize)
  • As usual archived the thread ('a' in notmuch-show)
  • This also archived the newly arrived mails, so I never realized there were new posts.

In notmuch-show we should only apply tags on the currently viewed/stored message-ids.

In notmuch-search we could also collect message-ids, but with long search results this might be some overkill. But we could store the datetime when entering the search view and only tag mails before that date. Don't know how robust that is, but it would be better than blindly tagging just everything in that thread.

Any thoughts? Hints? Ideas?

IMHO a "show_tag_message" to only tag the message under the cursor would be great, too.

@imain
Copy link
Owner

imain commented Jan 6, 2015

Date range would work great but I guess it depends on the date stamps. Do they go to the second at least? Are they stamped by our computer (eg with our clock so they can't be out of sync)? If not then we probably can't use it. I think we could safely store the IDs in memory.. even a million IDs at 100bytes each (dunno how big they really are) would be 100MB. I doubt they are that big though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants