From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.help Subject: Re: ediff control frame doesn't start with focus Date: Fri, 05 Feb 2021 19:58:33 +0100 Message-ID: <8735ya4a06.fsf@posteo.net> References: <20210201131654.07652026@gauss> <878s8618p1.fsf@web.de> <20210203085337.1c29304f@gauss> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13477"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Joe Riel , Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 05 20:13:18 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l86Xd-0003Om-Cx for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 20:13:17 +0100 Original-Received: from localhost ([::1]:34856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l86Xc-0007QT-Eq for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 14:13:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l86JU-0007tI-Vs for help-gnu-emacs@gnu.org; Fri, 05 Feb 2021 13:58:41 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:42035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l86JS-0003yx-QX for help-gnu-emacs@gnu.org; Fri, 05 Feb 2021 13:58:40 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7E5852400FE for ; Fri, 5 Feb 2021 19:58:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612551515; bh=W/kGzz2oF4OonCzFwmlp8otn5pv+WUvLYLdMW0tQl2E=; h=From:To:Cc:Subject:Date:From; b=o0yQJ/ytb/QARTLZahESyqnga9xXLd/GLyznlQPwv4xateCfFoe4Ky+PEX67vdeOz PCuvyWDIQOqUau9qOT9Ppgc0mkprzKu6Nf0ZxIWQqVrtxdUUXxJPb0/Z9dLFaqmZpJ /YkOb73v+znAupl/k72vCBbRWRgRmIVliH2arNUJj3UJ5T+FMcWRT4GTK+ueIq7Eog sdGNrSWR539SO2P92flXURwce2DH/+uBRkSaN6LV2FjHhU+KGQX8Csgu84w0BGAHAU dQgELz+sB750cIqEHFMvxh2CX4Atlo07lwOV1nTOtASmzSlTUxIpuUkpC8+YGwHyB+ 1j5fGOF48EKbw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DXPp25XSrz9rxM; Fri, 5 Feb 2021 19:58:33 +0100 (CET) In-Reply-To: <20210203085337.1c29304f@gauss> Received-SPF: pass client-ip=185.67.36.66; envelope-from=tomasn@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127621 Archived-At: Joe Riel writes: > On Tue, 02 Feb 2021 22:06:02 +0100 > Michael Heerdegen wrote: > >> Joe Riel writes: >> >> > When launching ediff (emacs 26.1) the floating frame that controls the >> > session isn't automatically being selected, I have to do so manually. >> > Is there a way to configure it so that it is selected at the launch? >> >> As far as I recall, the behavior you want is the default behavior, and >> has been for a long time. >> >> The control frame is only not selected if it is already existing and >> iconified, or if `ediff-use-long-help-message' is set to a non-nil >> value, or if your window manager prevents Emacs from setting input >> focus. >> >> Could one of these points be true for you? > > I recently upgraded my Debian distro from 9 to 10. That's when > the behavior changed. I recall that, some years ago, the default > behavior was for the ediff control frame to not get focus initially. > Then it started working (either with change to Emacs or distro, don't recall). > Now its back to not working [my opinion]. > > I verified that ediff-use-long-help-messages is nil and that the > frame doesn't already exist. At work on ms windows the behavior was always that the ediff frame gets focus when started. On my Debian (as far back as I can remember, a few debian versions), it never got focus. Me too prefer get focus. I never understood why and just assumed it had something to do with the relation Emacs/Gnome. -- Tomas