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

Does not work in specific special buffer #126

Open
doolio opened this issue Sep 16, 2022 · 1 comment
Open

Does not work in specific special buffer #126

doolio opened this issue Sep 16, 2022 · 1 comment

Comments

@doolio
Copy link

doolio commented Sep 16, 2022

ctrlf does not work in specific special buffers. For example, it works in *scratch*, *Messages*, the orga-agenda buffers that are opened for each org-agenda-custom-commands etc. However, it does not work in the *EGLOT events* or *EGLOT stderr* buffers. Their major mode is Fundamental just like my *scratch* buffer so am at a loss as to why. It falls back to isearch in these buffers. I appreciate you may not use eglot but just wanted to bring to your attention in case there are other special buffers where it stops working.

Thanks for your time and this package.

@raxod502
Copy link
Member

Well, I just installed eglot to give it a try, and yeah, wtf? You're exactly right.

I took a couple minutes to look into it and apparently this is because ctrlf-local-mode doesn't get activated in the buffer, which apparently happens because the ctrlf-mode-enable-in-buffers function defined by define-globalized-minor-mode does not have any effect in the eglot buffer.

Something about eglot is breaking globalized minor mode setup for some reason. Not totally sure why, investigation needed.

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