-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
global-auto-rename-tag mode applies too globally 😀 #3
Comments
Okay, unraveled the mystery a bit. The problem is that |
Sorry for the late reply! I wasn't very sure why I design this package with global use case. I think the best use is to just have it enable in certain mode! For instance, Hope this helps! :) |
Makes sense, thanks! I just tried it out again and ran into a few other issues. Feel free to open separate issues for them if you like.
code
|
Yeah, I am not quite sure the error here. Even there are error, I don't think this package should change anything to match either The issue is here #9
Resolved, see #8 |
Removed global from this commit b271596. |
Hi there, awesome package. I really like the similar VS Code package whenever I find myself using VS Code.
Unfortunately for me, this mode appears to add significant latency to every change command. To make matters worse, there seems to be something it does that angers tide-mode and causes tide-mode to continually run
tide-net-filter
which in turn triggers theauto-rename-tag-before-change-functions
. The end result is that when I make a change to a tag withtide-mode
enabled, Emacs more or less becomes unusable.Here's an example profile:
With tide mode disabled, it's usable, but still chugs as I make changes with a more confusing profile:
So, I think there are two issues--the before-change hook is firing in places I wouldn't necessarily expect, and when it does fire, it is slow. Would a
looking-back
based implementation be faster?Thanks again for making this and releasing it.
The text was updated successfully, but these errors were encountered: