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

Concatenate two searches, p.e. first all with "tag:flagged", then "tag:inbox NOT tag:flagged" #1536

Open
MaxGyver83 opened this issue Jul 15, 2020 · 1 comment

Comments

@MaxGyver83
Copy link

Is your feature request related to a problem? Please describe.
Sometimes I flag an e-mail as a reminder to myself that I have to do something about it. But often I forget these e-mails as soon as they leave the first page when more e-mails arrive. Of course, I can filter for tag:flagged but then I need a reminder that reminds me to filter for my reminders. So it would be nice to have flagged e-mails always on top.

Describe the solution you'd like
An easy and generic solution would be an option to concatenate two (or maybe even more) searches. For example :search tag:flagged, tag:inbox (I don't know if a comma is a appropriate delimiter here). That way alot could do two (or more) notmuch searches and just concatenate the resulting lists.

Describe alternatives you've considered
An alternative, less generic solution could be an option like show_flagged_emails_always_on_top = true.

@pazz
Copy link
Owner

pazz commented Jul 15, 2020

Very nice idea!
Don't wait for me to implement it any time soon but I'd definitely push something like that if someone sends a PR.

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