-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
helm-locate only reluctantly quittable #522
Comments
Hi Michael, michael-heerdegen notifications@github.com writes:
It is a very strange bug only present in >emacs-24.3. In helm-locate we are unable to C-g, or with difficulty as you said, and I don't know yet what is happening here, I suspect an emacs bug as quit Waiting for a fix, you can quit hitting C-! and C-g. Thanks. Thierry |
Note that for every unsuccessful C-g, you get this message:
So the quit signal seems to be processed while running redisplay--update-region-highlights. That ignores errors, but doesn't handle quit in any way. The quit makes redisplay raise an error. A strange behavior - why does any redisplay code process a quit singnal at all? |
But binding inhibit-quit around redisplay--update-region-highlights:
doesn't solve the issue. The error messages disappear, but it seems the quit is silently caught somewhere instead of just delaying it. |
Whatever I tried, the quit is always caught by something run by redisplay. You can bind inhibit-quit non-nil anywhere, but then the quit signal causes an error somewhere else. |
michael-heerdegen notifications@github.com writes:
Binding `pre-redisplay-function' fix the problem in emacs-24.4 branch, So it is really some recent changes in emacs-trunk that triggered this Thierry |
I think you should make a bug report. Maybe it's easy to fix in Emacs, so we should not waste time trying to workaround this in helm. |
michael-heerdegen notifications@github.com writes:
Done http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17577 Thierry |
I have reenabled the fix. |
Thierry Volpiatto notifications@github.com writes:
Now that it's fixed in Emacs, do we still need to bind |
michael-heerdegen notifications@github.com writes:
Of course no, it have been fixed. Thanks. Thierry |
Too bad - the situation has not improved for helm-for-files: When you push helm-source-locate to helm-for-files-preferred-list, and I get a feedback when hitting C-g, so the event is not just swallowed, |
michael-heerdegen notifications@github.com writes:
It is not related, C-g is working as expected now. Thierry |
Thierry Volpiatto notifications@github.com writes:
Ok, C-! works. But why is it necessary? And is it necessarily |
michael-heerdegen notifications@github.com writes:
Because the process buffer used by locate is the helm-buffer, which is Thierry |
Thierry Volpiatto notifications@github.com writes:
Ok. But don't you agree that what we have is a bit awkward? I added What I want is a quick way to switch to locate when I did not find |
michael-heerdegen notifications@github.com writes:
I agree. I was just showing what to do manually, i.e C-! + I will fix this ASAP.
Isn't it there by default ? Thierry |
I close continue on #527 |
Hi,
helm.sh, M-x helm-locate RET, enter some string
C-g doesn't quit helm. I need to hit C-g multiple times to quit helm, preferably in fast succession.
The problem also occurs when you add helm-source-locate to helm-for-files-preferred-list.
The text was updated successfully, but these errors were encountered: