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: Thu, 31 Oct 2019 11:47:08 +1100 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="0000000000001ae17c05962a31a9" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50353"; mail-complaints-to="usenet@blaine.gmane.org" Cc: chad , Alan Third , EMACS development team To: "Mark H. David" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 31 01:48:21 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 1iPydQ-000CyK-MH for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2019 01:48:20 +0100 Original-Received: from localhost ([::1]:45582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPydO-0005Ku-QE for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 20:48:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59400) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPycV-0005Kb-J2 for emacs-devel@gnu.org; Wed, 30 Oct 2019 20:47:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPycT-0001YY-IJ for emacs-devel@gnu.org; Wed, 30 Oct 2019 20:47:23 -0400 Original-Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]:34909) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPycT-0001Xz-Ck for emacs-devel@gnu.org; Wed, 30 Oct 2019 20:47:21 -0400 Original-Received: by mail-oi1-x229.google.com with SMTP id n16so3718800oig.2 for ; Wed, 30 Oct 2019 17:47:21 -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=GHRYzInBKaxoVJrbSTw/tvpemcRoarxkXm4qU+Wuk38=; b=dBHRmWz/taS6s4MqunQuGqr19il1Vvt4mAr3FMk4R1k9Gd2UgYhCduyGV9zuU6Ru5i 4a0jzF5MyqhNA6mIW9Jofaks2NJjZDesNruZ2ODETMfjac6IzxAhGOAEBKnZegTVVyJ4 fL9WhwY/IBq3qekLJJYfAHZAqTTdih0RNDPmh9wcTTPj/dxHFdF2gFG5sx7v1uizWABy k4VPrczc4L9SYp7XSLuGD2vDkJ+tZalJCZNs+1JKQaHziEGQHiBS2/wSdIsxrQiG5ndr +e2klO3ODtm46c4xF/sRWjxIyDGHqGJk5TGHXKTKRTAsnvAn0S8sBlwppjmUezAMjNDL xrSA== 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=GHRYzInBKaxoVJrbSTw/tvpemcRoarxkXm4qU+Wuk38=; b=qRHSWfHpzQTXc8VayL56bBMg+opBFWajRkt38LQ5Om3Jcp38/aA6xU99p8lbzFwXCB 6VdsMs7x+RyfTHsxAvqv9G235NueZ2O2MS5LSaeeDh+oVzqP9OegqRXDxd79Gv81RppZ KwIZ1hRQE+NpLMgkrcacrwzTykSVU4t+uf/qASGzZxnQNWn8LnvyhfNkPofMNU670bsY NnMRwk/YtUMFtaDvbJYrZKw7bBQnEaxcP5+FskubINCna5/swEKpibcTTWobXQ6WhrzM j//Vmenae7OfTzDFSB28JXhOLT6syjDBJ7JOULPOQdbHUfwI1E/GVG1yUB/8PS6GHEXc T2Sw== X-Gm-Message-State: APjAAAXFMTXXze9QFx/NbAQL5uh4aPhNNQiL9ubwJG+SYA57J1aN0WgA V4Nyn8US6OaURtq3yFI6N5IUDOwWnpjEUjJwQcg= X-Google-Smtp-Source: APXvYqzR9SEkAz45LtxRgVwtEaUj9kzTRLjB8ySaORGGz4fjdkTaEhnjM9EgTyW2uvf02M1c2bxj8RQroTqMVTPEmBo= X-Received: by 2002:a05:6808:9bc:: with SMTP id e28mr1716368oig.137.1572482840189; Wed, 30 Oct 2019 17:47:20 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::229 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:241658 Archived-At: --0000000000001ae17c05962a31a9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable that is a good point regarding the version/build of Emacs. I use to build using the homebrew recipe, then I used the pre-built homebrew keg (essentially emacsformac version), but now I use railwaycat's recipe as I've found it to be the best (best meaning emacs behaves most like it does on Linux and what I'm use to). What happens if you do C-h k and then enter command+t? On my system, that runs 'transpose words'. If Emacs does not respond when you enter command+t then it means that key binding is being picked up by the macOS and not emacs and must be turned off at the OS level. On Thu, 31 Oct 2019 at 09:16, Mark H. David wrote: > I wasn't quite sure myself, so here's what I did: I downloaded 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: > > - 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-darwin18.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 not > hide annoying fonts window.) > > ----- Original message ----- > From: chad > To: "Mark H. David" > Cc: Alan Third , EMACS development team < > emacs-devel@gnu.org> > 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, are > you running the Mac port, are you using emacsformacosx.com, or > railwaycat's github or homebrew build? I ask because this sort of > native-system setting is sometimes added/enabled by default in one of the > native-ized ports but not in the gnu master. (I no longer have good acces= s > to a macOS 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 behavio= r > seems to be if it's up already, don't do anything. It should be changed = to > close the popup in that case. > 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. > > > > 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=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")) > > -- > Alan Third > > > --=20 regards, Tim -- Tim Cross --0000000000001ae17c05962a31a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
that is a good point regarding the version/build of E= macs. I use to build using the homebrew recipe, then I used the pre-built h= omebrew keg (essentially emacsformac version), but now I use railwaycat'= ;s recipe as I've found it to be the best (best meaning emacs behaves m= ost like it does on Linux and what I'm use to).

What happens if you do C-h k and then enter command+t?

On my system, that runs 'transpose words'= ;. If Emacs does not respond when you enter command+t then it means that ke= y binding is being picked up by the macOS and not emacs and must be turned = off at the OS level.

On Thu, 31 Oct 2019 at 09:16, Mark H. David = <mhd@yv.org> wrote:
I wasn't quite sure myself, so here's what I did: I d= ownloaded and installed from emacsformacosx.com and tried this.
Bottom line: same problem reproducible in latest versions= .
I took notes, so here are all t= he gory details:

=
- Click MacOS download button
=C2=A0 - Now here: https://www.gnu.= org/software/emacs/download.html#macos
- Click Emacs for OSX link
=C2=A0 - Now here: https://emacsformacosx.com/
- Click Other Versions button
- Click "Emacs-26.3-universal.dmg" link to downl= oad it
- It downloaded the file a= t following URL
- I then installed, and the= n brought it up.
- Now here's= version info: "GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS= appkit-1671.20 Version 10.14.3 (Build 18D109))=C2=A0of 2019-09-02"
- Result: same behavior as described before (Command+T shows but does no= t hide annoying 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 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 homebr= ew, are you running the Mac port, are you using emacsformacosx.com, or railwaycat's gi= thub or homebrew build? I ask because this sort of native-system setting is= sometimes added/enabled by default in one of the native-ized ports but not= in the gnu master. (I no longer have good access to a macOS machine=C2=A0t= o 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 s= elector 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 <m= hd@yv.org> wrote:
Fantastic - thank you. That would work as a workaround.=
It seems a bug should be made f= or the behavior Command+T not getting rid of the popup. Hopefully, that sho= uld not be too hard. The current behavior seems to be if it's up alread= y, don't do anything.=C2=A0 It should be changed to close the popup in = that case.
Thoughts?
<= div style=3D"font-family:Arial"> Thanks,
-Mark

----- Original message -----
From: Alan Third <alan@idiocy.org>
To: "Mark H. David" <mhd@yv.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 i= t by mistake. I almost never change
> fonts, and never with command+t. Ever. So, I looked into this a bi= t,
> and it's a documente= d "feature" for Emacs on MacOS (see:
= > generally for documents (see:
> https://support.apple.com/en-us/HT201236). Apple= 's MacOS doc says:
> Comm= and-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 th= ingee that lets
> you choose = fonts. Whatever, I never use. I always just want to get
> rid of it.
>
> Here's th= e annoying and buggy part with respect to Emacs: you cannot
> hide it from the keyboard. It's suppos= ed hidden by doing a second
>= Command+T. That works in other apps, e.g., TextEdit, but it doesn't
> work in Emacs. In addition, y= ou 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 w= indow open I just can=E2=80=99t get rid of it at
all.

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

=C2=A0 =C2=A0 (global-unset-key (kbd "s-t&qu= ot;))

--
Alan Third=



--
regards,

Tim

<= div>--
Tim Cross

--0000000000001ae17c05962a31a9--