-
Notifications
You must be signed in to change notification settings - Fork 51
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
Unexpected closing of tabs #225
Comments
I have this case reproduced if the active buffer is a dired buffer. Is it the same for you? |
Not sure to be honest. I've tested this with markdown files. Which I don't think open as dired buffers? In case it is relevant, I'm using markdown-mode. No Emacs expert here, so please bear with me. |
This is happening to me as well when using org-mode |
I also have this problem. According to describe-key, what's happening is:
What appears to be happening, is that Emacs is translating mouse-1 to mouse-2 thinking that the tab is an ordinary link. If mouse-1-click-follows-link is set to nil, the problem seems to disappear (at least for me). Another way to get rid of the problem is to nuke centaur-tabs-do-close:
Since the issue has been open for more than a year, I assume it's probably not going to be addressed. Can I suggest instead that the function centaur-tabs-do-close be "nuked" from the centaur-tabs code base, as a work-around? |
Sorry for the late reply. I'll look into this! |
Left-clicking on tabs sometimes closes the tab. How and when exactly it happens I can't say for sure. I tried enabling the close button (had it disabled by default) but it didn't make a difference. Steps to reproduce:
My expectation was that on step 3, the second tab got focused instead of closed.
Is this a bug? If this behavior is to be expected, is it something I can disable somehow? It is pretty annoying.
Many thanks in advance. Let me know if you need more information/debugging.
-- Configuration
-- System Information:
Debian 13
Emacs 29.1
The text was updated successfully, but these errors were encountered: