[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff c
From: |
Juri Linkov |
Subject: |
bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel |
Date: |
Tue, 12 Feb 2013 19:47:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
>> 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)
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Glenn Morris, 2013/02/09
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Juri Linkov, 2013/02/10
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, martin rudalics, 2013/02/10
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Juri Linkov, 2013/02/11
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Jambunathan K, 2013/02/11
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel,
Juri Linkov <=
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Jambunathan K, 2013/02/13
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Jambunathan K, 2013/02/13
- bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel, Juri Linkov, 2013/02/13