Fork me on GitHub
#editors
<
2015-07-13
>
bozhidar05:07:36

just uppercase d, f and b

colin.yates11:07:01

hi all - any idea how to get the mac to send Control and Shift to emacs? (so I can do Cntrl-) for example?

bozhidar12:07:20

you mean Control-_?

colin.yates12:07:50

I mean Control-) (sorry, missing bracket before)

colin.yates12:07:10

at the moment the terminal beeps whenever I send Control and Shift

colin.yates12:07:48

for info, this is with emacs-mac installed from brew. If I install the Emacs for App bundle then it works when Emacs launches as an App, but not from the terminal

colin.yates12:07:55

and of course the excellent Prelude 😉

bozhidar12:07:29

hmm, I use the standard GNU Emacs from homebrew

bozhidar12:07:44

and I don’t have to do anything special in iterm

colin.yates12:07:20

I am using terminal, let me try iterm2

colin.yates12:07:46

Now if I press Control -Shift-0 I get a 0 printed out.

colin.yates12:07:34

I have Control mapped to capslock if that makes any difference? I think I will create a new user and see if that helps - I don’t recall doing anything weird in the . files but maybe.

colin.yates12:07:06

nope - still the same, I literally downloaded iterm2; ‘brew install emacs’, install prelude and that’s it...

colin.yates12:07:48

I guess I can live with using the Emacs for Mac app for now

malabarba12:07:33

@colin.yates: One way to investigate is to type C-h k followed by that key combo

malabarba12:07:53

It should tell you what Emacs sees when you press the key

malabarba12:07:13

A lot of terminals are very limited in what key combinations they understand

malabarba12:07:25

And if the terminal doesn't understand the key, it's never gonna reach Emacs

malabarba12:07:49

All that said, why not just use the standalone emacs? simple_smile

colin.yates12:07:07

@malabarba: it just beeps. I think you’re right; it is never getting to emacs.

colin.yates12:07:29

The standalone emacs feels a little bit laggy (2014 macbook pro 15”) compared to the terminal

colin.yates12:07:10

I am using the terminal.app on Yosemite

malabarba12:07:21

It's probablyt a slugish minor mode

malabarba12:07:31

linum-mode is a common cause of that

colin.yates12:07:30

The footer bar is claiming ‘Clojure , guru cljr Guide FlyC- company Heml ws Projectile SP/s Pre'

malabarba12:07:41

I don't know all of those. But not all minor-modes show up on the mode-line

malabarba12:07:48

Try M-x linum-mode

malabarba12:07:00

It should say whether it got enabled or disabled

colin.yates12:07:03

ah yes, it just said it was disabled

colin.yates12:07:20

ah, ok, line-numbers mode

colin.yates12:07:00

that does make it quite a bit snappier now - thanks

malabarba12:07:05

You can try out the profiler too

malabarba12:07:35

1. M-x profiler-start 2. Type around some stuff, do your usual things. 3. M-x profiler-report

malabarba12:07:55

It might show you what's taking up the most time

colin.yates12:07:26

thanks, I will try it. I am suprised nobody else seems to be hitting this - it must be something I have done, but I can’t think what… oh well simple_smile.

akiva13:07:35

@bozhidar: It wouldn’t be the first time I’ve over-complicated things. Hah.

cfleming13:07:50

@colin.yates: I think your basic problem is quite obvious 😛

colin.yates13:07:21

I knew you would be lurking simple_smile