From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Annoying Fonts Window in Emacs on MacOS - How to Hide Date: Wed, 30 Oct 2019 08:45:35 +1100 Message-ID: References: <8ef30312-f143-4009-ab26-bca9a05b4407@www.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f7b7f50596138976" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="54693"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: "Mark H. David" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 22:52:40 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 1iPZPs-000E2W-0e for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 22:52:40 +0100 Original-Received: from localhost ([::1]:34198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPZPq-0004ab-LM for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 17:52:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46689) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPZJG-0007Ys-AG for emacs-devel@gnu.org; Tue, 29 Oct 2019 17:45:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPZJE-0003CW-OM for emacs-devel@gnu.org; Tue, 29 Oct 2019 17:45:50 -0400 Original-Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:38434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPZJE-0003A6-GG for emacs-devel@gnu.org; Tue, 29 Oct 2019 17:45:48 -0400 Original-Received: by mail-oi1-x234.google.com with SMTP id v186so191860oie.5 for ; Tue, 29 Oct 2019 14:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ufoNxCWgDSkAgKtwiOW+sjHJFEEmUJ6WB7QgrS1TUvw=; b=qW4c2tIurVXD0XQwyQDl7iC8gOlvlv+K6NPQR+51F6g4uKwk5CpxPGU2J7UeT34Day ntjX6WJn9By6KppQYCe7hs8OY1T9FbSu50dVn1Qci1vSHy2Wekg83iXwOMtwUC5wnNPu Q7fWwKwqWr9KgEvqOWl8O9QiXCDpkPE6e64+V35n/woGlJ0uEdQgMRG57OCTK9s1VnSp QPk2jfBs+w1+raHA7zVKdp4J/bHKSLb+ao+ZeewcywQ4388AiedVo9uBNXpYFNJL2unj KMbrFHXe9cNBBGrT1t74kN7FhxTY4IWy3tqiimkdmD8Wp9DSZaIMUVjCYHJH4PhZQMSi Gu8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ufoNxCWgDSkAgKtwiOW+sjHJFEEmUJ6WB7QgrS1TUvw=; b=mkufQYKfjWWGkE04VCweGRIlj5s5F40Mt7l2i/E4DGNVX2f41NTAW3YZ6TVgrFD1q2 jXBlc5TxMvEwq+b1q5gvgxHBG/Xxjam4pPQZmiPCbsj3kwktOivTWUjqS7NFtRFBXl2O q16WRbFRxJWqBdv2/lUG7gXVVLXcqbZ14YlXchT6TDXY0UsGnyZsUeyOAFOQokDNO4Dg EcqJ6iWGsXraQYa6j0W5+SZauS3WDN/lICU3CysY3X8BdihbzMhlLhpZ6LV9Pn+Vyfb5 1kViihlQ4SMnmmNYzOCfl44icR43wUecO3OtA/6ty/JViXYUOjj6TUuK/yCflPlX41ND +1hg== X-Gm-Message-State: APjAAAU3yhYi3wHJIQ5/+XC+EXufdZHl0oXNXScA/osqLkBStWzi5/Mh AYouh+dH7o835ZA+x9VWgqq/AsrPFKPApsjRX8I= X-Google-Smtp-Source: APXvYqzFlwxNCrOXjXF6AnRQ8/rAacUTFGQfWyw1bXvbdeSaBa0J52wBHcwgMyJqvqcJGypm44b7wLeWh45fsPos8mo= X-Received: by 2002:aca:49c7:: with SMTP id w190mr5067942oia.117.1572385546810; Tue, 29 Oct 2019 14:45:46 -0700 (PDT) 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: 2607:f8b0:4864:20::234 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:241597 Archived-At: --000000000000f7b7f50596138976 Content-Type: text/plain; charset="UTF-8" I don't see this behavior with Emacs 26.3 on macOS 10.15 I also don't recall seeing anything like this with previous versions of Emacs or macOS. However, I also disable many of the macOS shortcuts via preferences -> keyboard -> shortcuts. I ran Emacs with -Q to ensure it wasn't something in my config, so I suspect either you have something in your Emacs config or you need to disable the shortcut at the macOS level. On Wed, 30 Oct 2019 at 06:32, 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. > > So, this is super annoying and a bug. > > Here's my Emacs version. > > "GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version > 10.9.5 (Build 13F1911)) of 2017-09-12" > > I'd appreciate knowing if this is a known bug, if it's fixed upstream, and > if anyone can share any workaround. > > Thanks, > > -Mark > > -- regards, Tim -- Tim Cross --000000000000f7b7f50596138976 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't see this behavior with Emacs 26.3 on macO= S 10.15=C2=A0 I also don't recall seeing anything like this with previo= us versions of Emacs or macOS. However, I also disable many of the macOS sh= ortcuts via preferences -> keyboard -> shortcuts.

=
I ran Emacs with -Q to ensure it wasn't something in my conf= ig, so I suspect either you have something in your Emacs config or you need= to disable the shortcut at the macOS level.

On Wed, 30 Oct 2019= at 06:32, Mark H. David <mhd@yv.org&g= t; wrote:
I freq= uently type Command+T by mistake in Emacs because in browser apps (particul= arly 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 comman= d+t. Ever.
So, I looked into this a bit, and it's a documented "feature"= for Emacs on MacOS (see: https://www.emacswiki.org/em= acs/SetFonts#toc14) and for MacOS generally for documents (see: https://support.apple.com/en-us/HT201236). Apple's MacOS do= c says: Command-T: Show or hide the Fonts window.

In various apps with document windows (e.g., build-in TextEdit as well as E= macs) 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 hi= de it from the keyboard.=C2=A0 It's supposed hidden by doing a second C= ommand+T. That works in other apps, e.g., TextEdit, but it doesn't work= in Emacs. In addition, you cannot select the popup "windoid" tha= t 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.

So, this is super annoying and a bug.=C2=A0

Here's my Emacs version.

"GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Versio= n 10.9.5 (Build 13F1911)) of 2017-09-12"

I'd appreciate knowing if this is a known bug, if it's fixed upstre= am, and if anyone can share any workaround.

Thanks,

-Mark



--
regards,

Tim=

--
Tim Cross

--000000000000f7b7f50596138976--