this post was submitted on 30 Nov 2023
1 points (100.0% liked)

Emacs

313 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I'm using Emacs Mac from Homebrew on my M1 Macbook Pro with the notch, and when I toggle fullscreen using (toggle-frame-fullscreen) I see that part of the top line of text gets hidden by the notch (like in image). In other applications fullscreen omits the entire top height of the notch, but for some reason Emacs fullscreen isn't like other native fullscreen - the Emacs frame occupies the entire screen but is still in the Desktop space. So I lose words in the middle of the top line. How can I avoid this situation? I don't see a ns-use-native-fullscreen variable (or any variables containing the words "ns", "native", or "fullscreen" that are useful).

https://preview.redd.it/fonw4bxbrf3c1.png?width=2982&format=png&auto=webp&s=fe9699c278f66944d4dcbb0ed6240cd93674fb65

top 4 comments
sorted by: hot top controversial new old
[–] Patryk27@alien.top 1 points 11 months ago (1 children)

Make the application fullscreen by clicking the fullscreen-button on the window’s top bar - on my machine only that one behaves sensibly.

[–] Chribold@alien.top 1 points 11 months ago

Yeah for me too, would love to toggle that from within emacs but I have not found a way to do that yet

[–] ImJustPassinBy@alien.top 1 points 11 months ago

You could try to add some manual padding on the top: https://elpa.gnu.org/packages/spacious-padding.html

[–] GlobalRevolution@alien.top 1 points 11 months ago

I installed centaur tabs and accepted I can't see two tabs but I can see my whole buffer :)