1

Can Emacs 25 on macOS leverage the new tab features introduced in macOS Sierra (10.12)?

If not, what is required for it to start supporting tabs?

  • I haven't updated to macOS Sierra, but there is tabbar-mode which adds tabs to emacs. You might want to check that out – Chakravarthy Raghunandan Oct 17 '16 at 14:49
  • Emacs 25 was not developed to be compatible with all the new features of MacOS Sierra, as both are recent releases. See this related thread that provides various tabbar configurations, including, dynamic adding/removing tabs that are frame-local -- Browser-style 'tabs' for emacs?: emacs.stackexchange.com/questions/10081/… – lawlist Oct 17 '16 at 14:52
  • @lawlist do you think it's wise to update to macOS Sierra right now? Or should I wait for a new major release of emacs before jumping the gun? Sorry for going off topic. – Chakravarthy Raghunandan Oct 17 '16 at 15:00
  • 1
    @Chakravarthy Raghunandan -- I generally estimate 1 to 2 days to work out problems with a new version of OSX, a lot of cursing, a lot of Googling, paying for new versions of certain programs that used to work (such as Parallels) but no longer work correctly, and in some cases still do not work correctly and then wait/see if bug fixes ever come. I generally only only use a new version of OSX when I buy a new computer, or when I need it for something special -- e.g., to recognize a new video card for modern day video games on an older Mac Pro tower. If you have free time, then . . . :) – lawlist Oct 17 '16 at 15:13
  • @lawlist this is the first time I'd be updating my 13 RMBP. So, was just being cautious. Thanks for the tip :) – Chakravarthy Raghunandan Oct 17 '16 at 15:34
3

Yes, ish.

If you make your Emacs window fullscreen (green button) then when you press C-x 5 2 the new window will be added as a tab on the existing window.

But as far as I know there's no other way to create tabs, probably because Emacs is missing the standard Window menu where this stuff usually lives.

(I use railwaycat's Mac-specific fork at https://bitbucket.org/mituharu/emacs-mac/overview, so I can't confirm whether this works with the standard distribution. But I'd encourage all Mac users to use that fork anyway.)

  • How can i prevent Emacs from using this macOS tabs feature? I prefer make-frame to open a new macOS window. – tboyce12 Apr 17 at 18:38
1

I use elscreen for tabs. I don't think you have to rely on the OS to get tabs.

enter image description here

  • I want to use standard macOS widgets and keybindings for navigating tabs (Cmd-[ and Cmd-]), so this is unfortunately not an option. – Markus Hallmann Oct 18 '16 at 14:35
  • with elscreen the commands will be C-z n & C-z p, I pretty sure you can rewire these keybindings to Cmd-] & Cmd-[. But I am guessing you want native osx tab support, which I dont think is present in emacs as of now. Atleast not in the cocoa build that I use. – goromlagche Oct 19 '16 at 5:53
0

For completeness, this is now available in railwaycat's Mac port with mac-toggle-tab-bar which seems to have a default binding of C-S-tab.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.