GNU bug report logs - #21796
[GTK] exiting ediff (with ediff-window-setup-function=ediff-setup-windows-default) can leave Emacs unresponsive to keyboard input

Previous Next

Package: emacs;

Reported by: Sean McAfee <smcafee <at> sungevity.com>

Date: Sat, 31 Oct 2015 00:53:01 UTC

Severity: normal

Merged with 20175

Found in versions 24.4, 25.0.50

Full log


Message #53 received at 21796 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Jonathan Doull <jonathan <at> hotlink.technology>
Cc: 21796 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> users.sourceforge.net>
Subject: Re: Bug#21796: exiting ediff can leave Emacs unresponsive to keyboard
 input
Date: Thu, 29 Jun 2017 09:17:56 +0200
> I've made this adjustment in my .emacs
>
>> (setq ediff-window-setup-function #'ediff-setup-windows-plain)
>
> and run for a few days now without any hangs, so I'd say this looks like a
> good workaround.

Certainly not!  But it supports my suspicion that focus shifting is
responsible for the problem.  Can you reproduce the original problem at
will so we can play with it?  Would have C-x 5 o got you out of that
stall?  Then it might be sufficient to replace some simple form like

    (if (frame-live-p main-frame)
	(select-frame main-frame))

with

    (if (frame-live-p main-frame)
	(select-frame-set-input-focus main-frame))

martin




This bug report was last modified 3 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.