Fork me on GitHub
#emacs
<
2018-09-19
>
dpsutton13:09:53

setting up emacs on my girlfriends macbook and the terminal emacs doesn't receive C-<return> it only sees the unmodified return. Does anyone know how to simulate this event? Or make sure a terminal passes it through?

tanzoniteblack17:09:37

@dpsutton depending on what terminal you're using (probably the mac built in one?) you probably need to go to it's settings and check it's keyboard shortcuts

dpsutton17:09:04

was looking in iterm2 and didn't see an easy way

dpsutton17:09:13

unless there's an escape code for enter that i don't know

andy.fingerhut17:09:33

There are macOS GUI versions of GNU Emacs, too -- I haven't used that one for more than a few minutes as I have gotten accustomed to using the X windows version of Emacs on my Mac -- behaves mostly like the Linux version.

dpsutton17:09:58

yeah i run it just fine on my fedora machine. was getting it set up on a mac and got a little lost. Installed with brew and it seems to not have x11 support

andy.fingerhut17:09:06

If you want a macOS GUI, and GNU Emacs (i.e. not Xemacs), maybe this is worth a shot? https://emacsformacosx.com That is the one I tried briefly but decided I was OK continuing to use X windows on my Mac.

dpsutton17:09:33

i'll try that tonight. thanks

andy.fingerhut17:09:35

I wouldn't suggest my personal choice for someone else who didn't need X windows, though.

dorab18:09:06

brew cask install emacs works well for me as a GUI version (not using X11). The C-<return> seems to work in the GUI version. When I run in Terminal with emacs -nw, C-<return> does not see to "work". So, perhaps has something to do with Terminal. Might want to look at Settings > Profiles > Keyboard.