From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#31975: Emacs NS port `M-x customize` Mouse Autoselect Window (point-to-focus) has no effect Date: Thu, 28 Jun 2018 19:24:57 +0100 Message-ID: <20180628182457.GA51605@breton.holly.idiocy.org> References: <83k1qlr4pg.fsf@gnu.org> <83A352FD-9996-4621-B206-9BE2D93168BF@scratch.space> <83h8lpr19w.fsf@gnu.org> <5B333E04.5070003@gmx.at> <83a7rgqnvx.fsf@gnu.org> <13C60D80-A40A-47B2-B421-F571A18C8E94@scratch.space> <83lgazoyml.fsf@gnu.org> <7D2A43AC-2FC6-48EA-BBE7-29B011963182@scratch.space> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1530210251 6444 195.159.176.226 (28 Jun 2018 18:24:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2018 18:24:11 +0000 (UTC) User-Agent: Mutt/1.10.0 (2018-05-17) Cc: 31975@debbugs.gnu.org To: Van L Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 28 20:24:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbaO-0001Wp-R8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jun 2018 20:24:04 +0200 Original-Received: from localhost ([::1]:37931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYbcV-0005v7-N3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jun 2018 14:26:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYbcM-0005tr-5m for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 14:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYbcI-0006x0-Tq for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 14:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYbcI-0006vU-Pm for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 14:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fYbcI-0007Hy-Bh for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2018 14:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jun 2018 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31975-submit@debbugs.gnu.org id=B31975.153021030827923 (code B ref 31975); Thu, 28 Jun 2018 18:26:02 +0000 Original-Received: (at 31975) by debbugs.gnu.org; 28 Jun 2018 18:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:38832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbbP-0007GI-W0 for submit@debbugs.gnu.org; Thu, 28 Jun 2018 14:25:08 -0400 Original-Received: from mail-wr0-f170.google.com ([209.85.128.170]:37832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fYbbO-0007Fj-4v for 31975@debbugs.gnu.org; Thu, 28 Jun 2018 14:25:06 -0400 Original-Received: by mail-wr0-f170.google.com with SMTP id k6-v6so6452221wrp.4 for <31975@debbugs.gnu.org>; Thu, 28 Jun 2018 11:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=XRbziZ+39u4QsgAWt+etiJrZt9H9/cGAeycGeBdu8jU=; b=iLrmqcFqpMe93FodiCmOj0BUCwl0skxossqYwYdP/ExzzG+pH9mzpUAhouqLeodJRa eBbcm/35SiJIFINFMhF65JWA2/u9rEY6K5KOeWcHTdBGop+M/EyDnKhe4ndgFH9wgQP/ PvF5/wimRd4uGU4TxP1MP6u9+4HYSfTwV4O0a8vUJIELFv4lMExGc0fd1WJ0IyWw0gMZ WAUBMvEGA4UiXU8CdL+TRtdhdh4dH65yEmd3QoY4g7DH24K1wiUmghoumLGNJMRDRrHU KD8VJ49gAEnqjZfLlJ09kgYny3WSBbVv/Z9qebJn00wc78WpGxojvBDYOidfOadGCa2Q GN8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=XRbziZ+39u4QsgAWt+etiJrZt9H9/cGAeycGeBdu8jU=; b=aXaUUD19JtGsl4I7QQTKOJemzgdF6HEMi+mOg0NQv3RhE3V6HRIEMIwlUFheZDA5p3 pQlM8UZXZ5DV6iikVsmnie1o3KgY+zhQJiIfufc7aO00YyxSsc0stk018S964DGRwD+X A8oM5dNpuomO/ROjFO+7FRPs/YjFHy7GY5xiODMktExDRAo8dxNllBr4SyUmI0z7zAz8 tuSRaxq5UiRYOuVJDC91D4HOMdysPCZjVIQmcYqpVIRNfgjC+0BTW7aZewyHX+YwKMA8 LbCUbiWVAtn2XQO2OW7s0u76o+UxwaWTRBZYgdeOea4PYgkVji9muYeOSmfXlfmWfUED WyoA== X-Gm-Message-State: APt69E3xmWJzs4qHHwD5gvTakgg/ps1sXZF5ULpwyzbmhZHNeFd7jLlp oHt8avbUEjMEFV2BH+oDyRQ= X-Google-Smtp-Source: AAOMgpcTgkFB8Ye21U4Hd7Hu0kU+z4SNe3QrQzwmspG9lBo7r+ZQUUysNkhLTaA4ETu+qEByruMh0A== X-Received: by 2002:adf:9f0f:: with SMTP id l15-v6mr9719481wrf.206.1530210300256; Thu, 28 Jun 2018 11:25:00 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-34d0-aa37-ab17-dfda.holly.idiocy.org. [2001:8b0:3f8:8129:34d0:aa37:ab17:dfda]) by smtp.gmail.com with ESMTPSA id w126-v6sm10723415wmw.29.2018.06.28.11.24.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 11:24:59 -0700 (PDT) Content-Disposition: inline In-Reply-To: <7D2A43AC-2FC6-48EA-BBE7-29B011963182@scratch.space> 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147919 Archived-At: On Thu, Jun 28, 2018 at 11:05:26PM +1000, Van L wrote: > > > You mean, hypothetically? > > It might be trivial for the NS/Mac port developers > familiar with plumbing conventions for apps on the > platform. > > > Can't you change the window-manager's default? > > The wm allows and honors apps wanting that behavior. > I guess the nsterm or macterm source files for > interacting with frames and focus need a little > kick. It shouldn’t be hard, although I’d mark this as wishlist for now as I’m working on other things. If someone else fancies giving it a go I think the simplest approach is to modify [EmacsEvent mouseEntered:] to make the window key if some variable is set. -- Alan Third