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

Mode-line indicator doesn't disappear even after searching #13

Closed
fukamachi opened this issue Jan 16, 2014 · 2 comments
Closed

Mode-line indicator doesn't disappear even after searching #13

fukamachi opened this issue Jan 16, 2014 · 2 comments

Comments

@fukamachi
Copy link

Sometimes an indicator which is like (3/64) on mode-line doesn't disappear after searching.


https://twitter.com/nitro_idiot/status/423696192753516546

I couldn't reproduce the error on purpose. I'll tell you when I find how.

Environment informations:

OS: Mac OS X 10.9.1
Emacs version: 24.3
anzu.el is the latest version.

syohex added a commit that referenced this issue Jan 16, 2014
anzu.el assumes anzu information is first element of mode-line-format.
anzu.el decides there is no anzu information if first element of
mode-line-format is not anzu information. But this is sometimes wrong.

If some element is consed mode-line-format during anzu information showing,
anzu.el mistakes that there is no anzu information and cons anzu information
again to mode-line-format. This causes increasing anzu information.

So I fixed anzu.el checks whether there is anzu information in mode-line-format
by 'member' function and remove anzu information from mode-line-format by
'delete' function.
syohex added a commit that referenced this issue Jan 16, 2014
Fix increasing anzu information in mode-line issue(#13)
@syohex
Copy link
Contributor

syohex commented Jan 16, 2014

@fukamachi I suppose this issues is fixed. Please reopen this issue if you still have this issue.

Thanks for reporting issue.

@syohex syohex closed this as completed Jan 16, 2014
@fukamachi
Copy link
Author

I'll try it. Thank you for the quick fix.

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

No branches or pull requests

2 participants