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: Wed, 30 Oct 2019 15:13:17 -0700 Message-ID: References: <8ef30312-f143-4009-ab26-bca9a05b4407@www.fastmail.com> <20191029221823.GA58794@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=a1b84462e73141c79057b4d691c91055 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="234726"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Cyrus-JMAP/3.1.7-509-ge3ec61c-fmstable-20191030v1 Cc: Alan Third , EMACS development team To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 23:14:08 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 1iPwE9-000yuR-48 for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 23:14:05 +0100 Original-Received: from localhost ([::1]:44724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPwE7-000792-Ub for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 18:14:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38808) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPwDn-00075o-0v for emacs-devel@gnu.org; Wed, 30 Oct 2019 18:13:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPwDl-0007Fu-1S for emacs-devel@gnu.org; Wed, 30 Oct 2019 18:13:42 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37115) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPwDk-00075Z-OO for emacs-devel@gnu.org; Wed, 30 Oct 2019 18:13:40 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 04B53223D5; Wed, 30 Oct 2019 18:13:38 -0400 (EDT) Original-Received: from imap37 ([10.202.2.87]) by compute1.internal (MEProxy); Wed, 30 Oct 2019 18:13:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=4MOqLw j+BUANIaLWNZTRIq/edUuXDmU1K6iygwk8N9A=; b=ejhloF4AKgFp6L5Vh0NrB8 2NXza6+6bXJaZvzfmSFGl9WG4FNTDbYTTIlHp7AA4bVrC8LcNoo+dT7oD4gTgvRB i8XM3tpQVjApVUru/HvguJ/1rS4lcTq68iPrkXCyv1WxRLewEtQRARMcNnoY67Zs R3JS4oMZsGVcvbf43+1MMNgQEqjeCgP4FPGO67RZrof656hPUqzzJs3F8hnxfbNp VZIjfnAH2WwiqEYBxIguRI9o0E9kFpDZg+d7Wu1cguOPzwHuVdoCRvRkTAxYEegS 4Zn5ZOXLFfZnnzLIk+5ANgxp3Y3eTR4SfooadZnP3O5cKgizT2QPEZmGnppE8t1Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddtfedgudeivdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpedfofgr rhhkucfjrdcuffgrvhhiugdfuceomhhhugeshihvrdhorhhgqeenucffohhmrghinhepvg hmrggtshhfohhrmhgrtghoshigrdgtohhmpdhgnhhurdhorhhgnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmhhguseihvhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6D7E9684005F; Wed, 30 Oct 2019 18:13:37 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.29 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:241649 Archived-At: --a1b84462e73141c79057b4d691c91055 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable I wasn't quite sure myself, so here's what I did: I downloaded and insta= lled from emacsformacosx.com and tried this. Bottom line: same problem reproducible in latest versions. I took notes, so here are all the gory details: - Go to https://www.gnu.org/software/emacs/ - Click MacOS download button - Now here: https://www.gnu.org/software/emacs/download.html#macos - Click Emacs for OSX link - Now here: https://emacsformacosx.com/ - Click Other Versions button - Now here: https://emacsformacosx.com/builds - Click "Emacs-26.3-universal.dmg" link to download it - It downloaded the file at following URL https://emacsformacosx.com/emacs-builds/Emacs-26.3-universal.dmg - I then installed, and then brought it up. - Now here's version info: "GNU Emacs 26.3 (build 1, x86_64-apple-darwin= 18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02"= - Result: same behavior as described before (Command+T shows but does no= t hide annoying fonts window.) ----- Original message ----- From: chad To: "Mark H. David" Cc: Alan Third , EMACS development team Subject: Re: Annoying Fonts Window in Emacs on MacOS - How to Hide Date: Wednesday, October 30, 2019 1:09 PM If you don't mind me asking, how are you getting a modern Emacs on macOS= ? In particular, are you building it yourself, are you using homebrew, a= re you running the Mac port, are you using emacsformacosx.com, or railwa= ycat's github or homebrew build? I ask because this sort of native-syste= m setting is sometimes added/enabled by default in one of the native-ize= d ports but not in the gnu master. (I no longer have good access to a ma= cOS machine to check for myself; sorry.) Knowing this might help figure = out how to deal with the (mis)feature -- particularly, not being able to= dismiss the font selector with Command-T, or not being able to dismiss = it at all. Thanks, ~Chad On Tue, Oct 29, 2019 at 3:32 PM Mark H. David wrote: > 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 be= havior seems to be if it's up already, don't do anything. It should be c= hanged to close the popup in that case.=20 > Thoughts? > Thanks, > -Mark >=20 > ----- 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 >=20 > 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 canno= t > > 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. >=20 > Usually when I get the fonts window open I just can=E2=80=99t get rid= of it at > all. >=20 > I=E2=80=99d suggest unbinding super-t, something like: >=20 > (global-unset-key (kbd "s-t")) >=20 > --=20 > Alan Third >=20 --a1b84462e73141c79057b4d691c91055 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
I wasn't quite sure myself, so here's what I did: I downlo= aded and installed from emacsformacosx.com and tried this.
Bottom line: same problem reproducible in = latest versions.
I took notes= , so here are all the gory details:

- Click Emacs for OSX link
- Click Other Versions button
- Click "Emacs-26.3-universal.dmg" link to download it
- It downloaded the file at followin= g URL
- I then installed, and then brought it up.=
- Now here's version info: "= GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Ve= rsion 10.14.3 (Build 18D109)) = of 2019-09-02"
- Result: s= ame behavior as described before (Command+T shows but does not hide anno= ying fonts window.)

----- Original message -----
From: chad <yandros@= gmail.com>
To: "Mark H. David" <mhd@yv.org>
Cc: Alan Third <alan@idiocy.org>, EMACS development team = <emacs-devel@gnu.org>
Subject: Re: Annoying Fonts Wi= ndow in Emacs on MacOS - How to Hide
Date: Wednesday, Octo= ber 30, 2019 1:09 PM

If you don't mind m= e asking, how are you getting a modern Emacs on macOS? In particular, ar= e you building it yourself, are you using homebrew, are you running the = Mac port, are you using emacsforma= cosx.com, or railwaycat's github or homebrew build? I ask because th= is sort of native-system setting is sometimes added/enabled by default i= n one of the native-ized ports but not in the gnu master. (I no longer h= ave good access to a macOS machine to check for myself; sorry.) Kno= wing this might help figure out how to deal with the (mis)feature -- par= ticularly, not being able to dismiss the font selector with Command-T, o= r not being able to dismiss it at all.

Than= ks,
~Chad

On Tue, Oct 29, 2019 at 3:32 PM Mark H. David <mhd@yv.org> wrote:
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 behavior seems to be if it's up alr= eady, don't do anything.  It should be changed to close the popup i= n that case.
Thoughts?
<= /div>
Thanks,
-Mark
----- Original message -----<= br>
From: Alan Third <alan@idiocy.org>
To: "Mark H. David" <mhd@yv.org>
Cc: <= a href=3D"mailto:emacs-devel@gnu.org">emacs-devel@gnu.org
<= div style=3D"font-family:Arial;"> 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 Emac= s because in browser
> ap= ps (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 thi= s a bit,
> and it's a doc= umented "feature" for Emacs on MacOS (see:
> gen= erally for documents (see:
&= gt; https://support.apple.com/en-us/HT201236). Apple's MacOS doc say= s:
> Command-T: Show or h= ide the Fonts window.
> <= br>
> In various apps with do= cument windows (e.g., build-in TextEdit as
> well as Emacs) it is supposed to pop up a window thi= ngee that lets
> you choo= se 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 keyboar= d. 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 ri= d of it at
all.

I=E2=80=99d suggest unbinding super-t, something like:

    (global-unset-key (kbd "s-t"))

--
Alan Third


--a1b84462e73141c79057b4d691c91055--