From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Mark H. David" Newsgroups: gmane.emacs.devel Subject: Re: Annoying Fonts Window in Emacs on MacOS - How to Hide Date: Tue, 29 Oct 2019 15:31:01 -0700 Message-ID: References: <8ef30312-f143-4009-ab26-bca9a05b4407@www.fastmail.com> <20191029221823.GA58794@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221642"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Cyrus-JMAP/3.1.7-512-g193a140-fmstable-20191028v1 Cc: emacs-devel@gnu.org To: "Alan Third" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 23:32:35 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 1iPa2T-000vTK-E6 for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 23:32:33 +0100 Original-Received: from localhost ([::1]:34600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPa2S-0002G9-AH for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 18:32:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48042) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPa1P-0002B1-DW for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:31:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPa1M-0000tr-TG for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:31:26 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50101) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPa1M-0000r4-GK for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:31:24 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C0578449; Tue, 29 Oct 2019 18:31:22 -0400 (EDT) Original-Received: from imap37 ([10.202.2.87]) by compute1.internal (MEProxy); Tue, 29 Oct 2019 18:31:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=yf4m6mTdX/odAjaaeTE6VjxTmRIh+AzSfq5BHUK+C IE=; b=BJUBv7tnGTJOmx+1Ra75jjac7s81XQo7s60PZNKGTW5SyX+JRAND6UY7c 5A55QU4ukCZAiiWEpvnj4LLfEaT1mFPzwPorcJktQL71ytEeulm7kvgdYTgRRPbr x9eLlwHMoA61Xs/2FqqJZgcrnncs8tDJw6gzXgNqmjIpEcT0CTbT6l2Q3iBMgsVZ byOjVVgLYtY58Rsx0lyEGdn8uetuJfzODGN/ejXQOGrftQzW9mVSQDD3sgvfhwq+ WzcOmn45BuUUAg29LddQUwzSJAM1uHUyicV9HRmddKoB1Myi54XwQTMyk94VDcqz YXEHSj0ImqPdnv/WlsT6jti4NcvyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddtuddgudeivdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfo rghrkhcujfdrucffrghvihgufdcuoehmhhguseihvhdrohhrgheqnecuffhomhgrihhnpe grphhplhgvrdgtohhmpdgvmhgrtghsfihikhhirdhorhhgnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmhhguseihvhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 01862684005F; Tue, 29 Oct 2019 18:31:21 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <20191029221823.GA58794@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.20 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:241604 Archived-At: Fantastic - thank you. That would work as a workaround. It seems a bug should be made for the behavior Command+T not getting rid= of the popup. Hopefully, that should not be too hard. The current behav= ior seems to be if it's up already, don't do anything. It should be cha= nged to close the popup in that case.=20 Thoughts? Thanks, -Mark ----- Original message ----- From: Alan Third To: "Mark H. David" Cc: emacs-devel@gnu.org Subject: Re: Annoying Fonts Window in Emacs on MacOS - How to Hide Date: Tuesday, October 29, 2019 3:18 PM 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. >=20 > 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. >=20 > 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=E2=80=99t get rid of= it at all. I=E2=80=99d suggest unbinding super-t, something like: (global-unset-key (kbd "s-t")) --=20 Alan Third