GNU bug report logs - #12218
24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Fri, 17 Aug 2012 10:32:01 UTC

Severity: normal

Found in version 24.2.50

Fixed in version 24.3.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


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

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: martin rudalics <rudalics <at> gmx.at>, 12218 <at> debbugs.gnu.org,
	Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#12218: 24.2.50;
	vc-ediff: Pressing `n' moves focus away from ediff control panel
Date: Wed, 13 Feb 2013 11:04:19 +0530
I recommend that this patch be applied. Works for me on my XFCE sytem.


Juri Linkov <juri <at> jurta.org> writes:

>>> But unfortunately I can't reproduce this bug reliably
>>> to try various solutions.
>>
>> If you circulate a diff, I can try it out, as many times as you want.
>
> Please try this patch:
>
> === modified file 'lisp/vc/ediff-util.el'
> --- lisp/vc/ediff-util.el	2013-01-03 00:36:36 +0000
> +++ lisp/vc/ediff-util.el	2013-02-12 17:47:25 +0000
> @@ -786,7 +786,11 @@ (defun ediff-recenter (&optional no-rehi
>  	   (frame-live-p ediff-control-frame)
>  	   (not ediff-use-long-help-message)
>  	   (not (ediff-frame-iconified-p ediff-control-frame)))
> -      (raise-frame ediff-control-frame))
> +      (if (fboundp 'select-frame-set-input-focus)
> +	  (select-frame-set-input-focus ediff-control-frame)
> +	(raise-frame ediff-control-frame)
> +	(select-frame ediff-control-frame)
> +	(focus-frame ediff-control-frame)))
>  
>    ;; Redisplay whatever buffers are showing, if there is a selected difference
>    (let ((control-frame ediff-control-frame)




This bug report was last modified 12 years and 99 days ago.

Previous Next


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