From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#20097: 25.0.50; focus-out-hook doesn't work w/other emacsclient frame Date: Wed, 15 Jan 2020 06:30:44 +0100 Message-ID: <878sm9ffqz.fsf@marxist.se> References: <87vbi64f99.fsf@gmx.us> <8761a62qpm.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="183584"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, 20097@debbugs.gnu.org To: Rasmus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 15 06:31:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1irbGv-000lBo-Le for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Jan 2020 06:31:18 +0100 Original-Received: from localhost ([::1]:49474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irbGu-00036n-Hg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Jan 2020 00:31:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52768) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irbGk-00036e-6V for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 00:31:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irbGg-0000Ie-Hg for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 00:31:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56363) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irbGg-0000IU-Et for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 00:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irbGg-00068B-CI for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2020 00:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Jan 2020 05:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20097 X-GNU-PR-Package: emacs Original-Received: via spool by 20097-submit@debbugs.gnu.org id=B20097.157906626023559 (code B ref 20097); Wed, 15 Jan 2020 05:31:02 +0000 Original-Received: (at 20097) by debbugs.gnu.org; 15 Jan 2020 05:31:00 +0000 Original-Received: from localhost ([127.0.0.1]:34103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irbGa-00067o-SH for submit@debbugs.gnu.org; Wed, 15 Jan 2020 00:31:00 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:39254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irbGV-00067U-Sh for 20097@debbugs.gnu.org; Wed, 15 Jan 2020 00:30:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VR3Z1MEhRz8OiIY9yOsrOaYpJZFA+8rCxlf/uoZaSyA=; b=qcpTH0JmZ+1+2uFoFe16UCtp5W XBEVU9RpxCqbq3MjafBeas7qCaw/26H0XvUF4phBBfGUqN7AlXcP9VFc6Z8IZe9oJj2V/oVUoC2ZY 7gW3j33touNOgpgEEIcdUkmaV23bG8ZMbUtqphcUkVMFYy+Rl+Tw0689OCa2aRIgYFvc03X86MpjW b4JF2FHrIUe960nUmp2t+p27XMPF2Q+EceOGHUzyrAL3vGzdOWReCDrcblS9KIhiSVRLuNUko20Wf 3uZHu6tPDT81Yyo07QRGxOXk/GOF3kt70sVV9jR4kE0E/y5IKXC513ZA3FHBcofoabWQm6WIt8vuH 0tuj0LoQ==; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:54378 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1irbGP-000QLa-Vv; Wed, 15 Jan 2020 00:30:46 -0500 In-Reply-To: <8761a62qpm.fsf@gmx.us> (rasmus@gmx.us's message of "Thu, 12 Mar 2015 16:14:13 +0100") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174605 Archived-At: Rasmus writes: > Stefan Monnier writes: > >>> I think focus-out-hook doesn't work as expected when used with other >>> emacsclient that belong to the same daemon. Of course I could be >>> misunderstanding the meaning of "input focus" cf. the docstring. >> >> `focus-out-hook' is run when focus moved away from Emacs (at least, >> that's the intention). >> >> If you want a hook run when switching between frames, then I think >> you'll need to catch the `switch-frame' event (yes, this sucks: one is >> a hook, the other is an event), which is normally handled by >> handle-switch-frame via a binding in the global-map. >> >> So IIUC I think that what you're seeing is not a bug. But I'm not sure IUC. > > Okay. That's a shame... Does anyone else have an opinion here? If I don't hear anything else within a couple of weeks, I'll assume Stefan Monnier is correct, and close this as notabug. Best regards, Stefan Kangas