Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • mutt mutt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 83
    • Issues 83
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mutt Project
  • muttmutt
  • Issues
  • #349

hdrdefault color is not honored after a search matched by a header that hasn't been colored yet

The hdrdefault color is not honored after a search matched by a header that hasn't been colored yet, e.g. not displayed yet. To reproduce:

  1. Open a mailbox with a muttrc having a line like color hdrdefault magenta black, e.g. with header-search-color.mbox and header-search-color.muttrc
  2. Type h (display-toggle-weed).
  3. Optionally display the next few lines and go backward.
  4. Search for some text that is matched by a header that hasn't been displayed yet and that isn't the first not-displayed header, i.e. with /150 on the example.

The headers appear in the normal color instead of the hdrdefault one. Ditto when going backward. The correctly colored headers are the first header that had not been displayed yet and those before it.

This bug is still present in master and was already present in Mutt 1.10.1 (in Debian 10 buster).

Assignee
Assign to
Time tracking