syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.68k stars 4.89k forks source link

Long mu4e search queries causes spaceline to become blank for other buffers #9300

Closed jsab closed 4 years ago

jsab commented 7 years ago

Description :octocat:

Switching to *mu4e-headers* buffer makes modeline blank forever.

Reproduction guide :beetle:

System Info :computer:

syl20bnr commented 7 years ago

Spaceline comes with mu4e segments, may be better to report it upstream https://github.com/TheBB/spaceline cc @TheBB 😄

Stebalien commented 7 years ago

May be related to https://github.com/TheBB/spaceline/issues/147 (long segment).

AshKash commented 7 years ago

Having same issue here but without mu4e. It is very confusing when it happens! I can reproduce it when I run `ag' (aka silver searcher) to search. I'm using railwaycat emacs-25.3-mac-6.7-spacemacs-icon

jsab commented 7 years ago

Just realized that b i is a custom command I have defined that makes a search with a very long query string so it is probably related to the long segment thing.

jsab commented 7 years ago

Workaround:

Comment these 4 lines:

https://github.com/djcb/mu/blob/b9ddc8b708177691b568222152c6209902751c9c/mu4e/mu4e-headers.el#L1106-L1109

Note that you might have to also delete mu4e-headers.elc.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!