Skip to content

Option --all of tagging commands should apply to matched messages only #1643

Description

@guludo

Is your feature request related to a problem? Please describe.
Currently the option --all redoes the query to apply modifications to the tags. This could be problematic in the following scenario:

  1. User does a search;
  2. New email(s) that would match the user's query arrive but the user hasn't refreshed the search buffer yet;
  3. User decides to use some tagging command with --all (e.g. untag --all inbox,unread);
  4. We end up applying the modifications to the new email(s) from (2) from behind the user's back.

Describe the solution you'd like
IMO, we should apply the modifications to only the currently matched messages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions