From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Annoying Fonts Window in Emacs on MacOS - How to Hide Date: Tue, 29 Oct 2019 22:18:23 +0000 Message-ID: <20191029221823.GA58794@breton.holly.idiocy.org> References: <8ef30312-f143-4009-ab26-bca9a05b4407@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162828"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: emacs-devel@gnu.org To: "Mark H. David" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 23:18:38 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.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 1iPZp0-000gDZ-EY for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 23:18:38 +0100 Original-Received: from localhost ([::1]:34504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPZoz-0005A2-9H for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 18:18:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38967) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPZos-00057T-EZ for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:18:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPZor-0003IF-59 for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:18:30 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:36774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPZoq-0003Gu-Si for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:18:29 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id c22so33615wmd.1 for ; Tue, 29 Oct 2019 15:18:28 -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=BRalf8sBcBpDQT7sZRtx3dMpABSwgaLuO4PzIWLe8TI=; b=N1+XAeLXFfuBCvX4yyTE0UXWC1+HQHX9JuO720L521vIHDyfurdI9bhXEuqafG88e0 WyIg4khLZP4a1kstYuFykxw9Ex9Hdqf2ZMd6V0+3wUsvN4ibZM35UmIF54iJx7L9XlVD nPXFym7/I6tc5vOLP8TAbdLnSvVxpFLbA5/CF36FwRIb2xwIW9hAlGpGnG+ENUmjvM8g UO4exo3LrSDf3r8hxSCZlWTWMA+qPYt/vvtuE7/6fvT/3JvoMw1NcB4Iv7EzgPso2EA/ fvO1bORW4Rgo2Onq6seh9PszCEedlHgClSFcaKiBnPDUEW4Bgllzf9Jv33+NLK3iFtvQ TpJA== 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=BRalf8sBcBpDQT7sZRtx3dMpABSwgaLuO4PzIWLe8TI=; b=NZDXgSSCqwl/cSoawAWrt7tuBnJyfzG/sTwsBLoBAJkTykpgwL2TybzAJSZ6MLbaIq C/C4XLRtc8LPo5PoZXwQ1jMwwfEy2QpBI4C2qVQlh0Pmg5r9WqYs6dHFLZ7uoZpqlt/n M0Z+SNYwgRlgqFywtreTeBdDaMVdLDh2LGyDmQd34pjKSryTG0xslrkvjO3qvPb2DPOm DMG0dWedPOA7lZ2sbLg66SBhJJEsdvWFCzxtxdo2eqJuPNU5gUaXvH26VGA+o3/XTvsc vqleB/P4eyV44e5kSdzEcLFuZykXPNvIzdYlmFXNvdp7dJlYSvG+n6MneGBhi4YPiqT1 A4KA== X-Gm-Message-State: APjAAAWZzQdM0uALdSvJoQvSujtH4uqByxoTH2ulzRLlRci51HkVz9QN cJ4MJDcRFcpYiVr7dcuCbgk= X-Google-Smtp-Source: APXvYqx+2qUS1Rb9tMRYtoJ4s011n/2WMPOMFE/sGlgAVTekpHSHcnicnJxyVF1XDBsDRvQ6Guwx1Q== X-Received: by 2002:a05:600c:2904:: with SMTP id i4mr5687541wmd.158.1572387506816; Tue, 29 Oct 2019 15:18:26 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-05f7-c8dd-14f5-1780.holly.idiocy.org. [2001:8b0:3f8:8129:5f7:c8dd:14f5:1780]) by smtp.gmail.com with ESMTPSA id x12sm291883wru.93.2019.10.29.15.18.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Oct 2019 15:18:25 -0700 (PDT) Content-Disposition: inline In-Reply-To: <8ef30312-f143-4009-ab26-bca9a05b4407@www.fastmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241602 Archived-At: On Tue, Oct 29, 2019 at 12:31:02PM -0700, Mark H. David wrote: > I frequently type Command+T by mistake in Emacs because in browser > apps (particularly Chrome) it's used for creating a new tab, and I > do that so often, I must do it by mistake. I almost never change > fonts, and never with command+t. Ever. So, I looked into this a bit, > and it's a documented "feature" for Emacs on MacOS (see: > https://www.emacswiki.org/emacs/SetFonts#toc14) and for MacOS > generally for documents (see: > https://support.apple.com/en-us/HT201236). Apple's MacOS doc says: > Command-T: Show or hide the Fonts window. > > In various apps with document windows (e.g., build-in TextEdit as > well as Emacs) it is supposed to pop up a window thingee that lets > you choose fonts. Whatever, I never use. I always just want to get > rid of it. > > Here's the annoying and buggy part with respect to Emacs: you cannot > hide it from the keyboard. It's supposed hidden by doing a second > Command+T. That works in other apps, e.g., TextEdit, but it doesn't > work in Emacs. In addition, you cannot select the popup "windoid" > that results, even by Command+`. Even if you do select the windoid > somehow (e.g., by clicking it), you cannot dismiss it by typing > Command+W. Usually when I get the fonts window open I just can’t get rid of it at all. I’d suggest unbinding super-t, something like: (global-unset-key (kbd "s-t")) -- Alan Third