[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Annoying Fonts Window in Emacs on MacOS - How to Hide

From: chad
Subject: Re: Annoying Fonts Window in Emacs on MacOS - How to Hide
Date: Wed, 30 Oct 2019 13:09:35 -0700

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 access 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.


On Tue, Oct 29, 2019 at 3:32 PM Mark H. David <address@hidden> 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 already, don't do anything.  It should be changed to close the popup in that case.

----- Original message -----
From: Alan Third <address@hidden>
To: "Mark H. David" <address@hidden>
Cc: address@hidden
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’t get rid of it at

I’d suggest unbinding super-t, something like:

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

Alan Third

reply via email to

[Prev in Thread] Current Thread [Next in Thread]