GNU bug report logs - #35635
Ediff 2.81.5 of July 4, 2013; The ediff-registry buffer doesn't set focus to frame when viewing an open session.

Previous Next

Package: emacs;

Reported by: Itaj Sherman <itaj.sherman <at> elastifile.com>

Date: Wed, 8 May 2019 14:29:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35635 in the body.
You can then email your comments to 35635 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35635; Package emacs. (Wed, 08 May 2019 14:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Itaj Sherman <itaj.sherman <at> elastifile.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 08 May 2019 14:29:01 GMT) Full text and rfc822 format available.

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

From: Itaj Sherman <itaj.sherman <at> elastifile.com>
To: kifer <at> cs.stonybrook.edu, bug-gnu-emacs <at> gnu.org
Subject: Ediff 2.81.5 of July 4, 2013; The ediff-registry buffer doesn't set
 focus to frame when viewing an open session.
Date: Wed, 8 May 2019 17:06:40 +0300
[Message part 1 (text/plain, inline)]
Congratulations!  You may have unearthed a bug in Ediff!

Please make a concise and accurate summary of what happened
and mail it to the address above.
-----------------------------------------------------------

1) Open several ediff-files3 sessions (whether on single frame or
multiple). Say sessions 1, 2, 3 ...
2) focus the control panel of a diff session-1
3) click 'R' to show registry. A new frame is opened with registry
buffer, raised and focused.
4) select session-1. Click 'RET' to show the session.
The frame with this session will be raised **but not be focused**.
6) focus this frame's contron panel and click 'R' to go back to
registry.
The registry frame will be raised **but not focused**.
7) focus registy and select session-2. Click 'RET'.
session-2 frame is raised and focused.
8) click 'R' back to registry
The registry frame will be raised **but not focused**.
9) focus registy and select session-2. Click 'RET'.
session-2 frame is raised **but not focused**.

Generally another frame you ask to see is raised - but is only focused
the first time it is opened - on later requests it will be raised but
not focused.


My conf:

(customize-set-variable 'ediff-split-window-function
'split-window-horizontally)
(customize-set-variable 'ediff-window-setup-function
'ediff-setup-windows-plain)

(setq itaj-ediff-face-noncurrent '((t (:background "#404010"))))
(setq itaj-ediff-face-current '((t (:background "#006000"))))
(setq itaj-ediff-face-fine '((t (:background "#903030"))))
(custom-set-faces `(ediff-fine-diff-A ,itaj-ediff-face-fine))
(custom-set-faces `(ediff-fine-diff-B ,itaj-ediff-face-fine))
(custom-set-faces `(ediff-fine-diff-C ,itaj-ediff-face-fine))
(custom-set-faces `(ediff-current-diff-A ,itaj-ediff-face-current))
(custom-set-faces `(ediff-current-diff-B ,itaj-ediff-face-current))
(custom-set-faces `(ediff-current-diff-C ,itaj-ediff-face-current))
(custom-set-faces `(ediff-even-diff-A ,itaj-ediff-face-noncurrent))
(custom-set-faces `(ediff-even-diff-B ,itaj-ediff-face-noncurrent))
(custom-set-faces `(ediff-even-diff-C ,itaj-ediff-face-noncurrent))
(custom-set-faces `(ediff-odd-diff-A ,itaj-ediff-face-noncurrent))
(custom-set-faces `(ediff-odd-diff-B ,itaj-ediff-face-noncurrent))
(custom-set-faces `(ediff-odd-diff-C ,itaj-ediff-face-noncurrent))


(defun disable-y-or-n-p (orig-fun &rest args)
  (cl-letf (((symbol-function 'y-or-n-p) (lambda (prompt) t)))
    (apply orig-fun args)))

(advice-add 'ediff-quit :around #'disable-y-or-n-p)



Emacs  : GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll
bars)
 of 2017-09-22, modified by Debian
Package: Ediff 2.81.5 of July 4, 2013

current state:
==============
(setq
 ediff-diff-program "diff"
 ediff-diff-options ""
 ediff-diff3-program "diff3"
 ediff-diff3-options ""
 ediff-shell "sh"
 ediff-use-faces t
 ediff-auto-refine 'on
 ediff-highlighting-style 'face
 ediff-buffer-A #<buffer test_npal_locks_out_of_resources.c<t0>>
 ediff-buffer-B #<buffer test_npal_locks_out_of_resources.c<w>>
 ediff-control-buffer #<buffer *Ediff Control Panel<5>*>
 ediff-forward-word-function 'ediff-forward-word
 ediff-control-frame nil
 ediff-control-frame-parameters '((name . "Ediff") (minibuffer)
(user-position . t) (vertical-scroll-bars)
  (scrollbar-width . 0) (scrollbar-height . 0) (menu-bar-lines . 0)
  (tool-bar-lines . 0) (left-fringe . 0) (right-fringe . 0) (auto-lower)
  (auto-raise . t) (visibility) (width . 1) (height . 1) (top . 1081)
  (left . 1921))
 ediff-control-frame-position-function 'ediff-make-frame-position
 ediff-prefer-iconified-control-frame nil
 ediff-window-setup-function 'ediff-setup-windows-plain
 ediff-split-window-function 'split-window-horizontally
 ediff-job-name 'ediff-files3
 ediff-word-mode nil
 buffer-name "*Ediff Control Panel<5>*"
 ediff-device-type 'x
 )
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35635; Package emacs. (Wed, 18 May 2022 13:47:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Itaj Sherman <itaj.sherman <at> elastifile.com>
Cc: kifer <at> cs.stonybrook.edu, 35635 <at> debbugs.gnu.org
Subject: Re: bug#35635: Ediff 2.81.5 of July 4, 2013; The ediff-registry
 buffer doesn't set focus to frame when viewing an open session.
Date: Wed, 18 May 2022 15:46:07 +0200
Itaj Sherman <itaj.sherman <at> elastifile.com> writes:

> 1) Open several ediff-files3 sessions (whether on single frame or
> multiple). Say sessions 1, 2, 3 ...
> 2) focus the control panel of a diff session-1
> 3) click 'R' to show registry. A new frame is opened with registry
> buffer, raised and focused.
> 4) select session-1. Click 'RET' to show the session.
> The frame with this session will be raised **but not be focused**.
> 6) focus this frame's contron panel and click 'R' to go back to
> registry.
> The registry frame will be raised **but not focused**.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm unable to reproduce this issue.  Do you have a recipe to reproduce
it, starting from "emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 18 May 2022 13:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35635; Package emacs. (Fri, 17 Jun 2022 12:06:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Itaj Sherman <itaj.sherman <at> elastifile.com>
Cc: kifer <at> cs.stonybrook.edu, 35635 <at> debbugs.gnu.org
Subject: Re: bug#35635: Ediff 2.81.5 of July 4, 2013; The ediff-registry
 buffer doesn't set focus to frame when viewing an open session.
Date: Fri, 17 Jun 2022 14:05:43 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm unable to reproduce this issue.  Do you have a recipe to reproduce
> it, starting from "emacs -Q"?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 35635 <at> debbugs.gnu.org and Itaj Sherman <itaj.sherman <at> elastifile.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 17 Jun 2022 12:06:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 16 Jul 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 285 days ago.

Previous Next


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