Discussion about all editors used for Clojure/ClojureScript
bozhidar 2015-07-13T05:59:36.001522Z

just uppercase d, f and b

bozhidar 2015-07-13T05:59:42.001523Z


colin.yates 2015-07-13T11:58:01.001525Z

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

bozhidar 2015-07-13T12:04:20.001526Z

you mean Control-_?

colin.yates 2015-07-13T12:04:50.001527Z

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

colin.yates 2015-07-13T12:04:53.001528Z

to slurp

colin.yates 2015-07-13T12:05:10.001529Z

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

colin.yates 2015-07-13T12:06:48.001530Z

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.yates 2015-07-13T12:06:55.001531Z

and of course the excellent Prelude 😉

bozhidar 2015-07-13T12:12:29.001532Z

hmm, I use the standard GNU Emacs from homebrew

bozhidar 2015-07-13T12:12:44.001533Z

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

colin.yates 2015-07-13T12:13:20.001534Z

I am using terminal, let me try iterm2

colin.yates 2015-07-13T12:15:46.001535Z

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

colin.yates 2015-07-13T12:16:34.001536Z

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.yates 2015-07-13T12:19:06.001537Z

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

colin.yates 2015-07-13T12:26:48.001538Z

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

malabarba 2015-07-13T12:44:33.001539Z

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

malabarba 2015-07-13T12:44:53.001540Z

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

malabarba 2015-07-13T12:45:13.001541Z

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

malabarba 2015-07-13T12:45:25.001542Z

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

malabarba 2015-07-13T12:45:49.001543Z

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

colin.yates 2015-07-13T12:46:07.001544Z

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

colin.yates 2015-07-13T12:46:29.001545Z

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

colin.yates 2015-07-13T12:47:10.001546Z

I am using the terminal.app on Yosemite

malabarba 2015-07-13T12:47:21.001547Z

It's probablyt a slugish minor mode

malabarba 2015-07-13T12:47:31.001548Z

linum-mode is a common cause of that

colin.yates 2015-07-13T12:48:30.001549Z

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

malabarba 2015-07-13T12:50:41.001550Z

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

malabarba 2015-07-13T12:50:48.001551Z

Try M-x linum-mode

malabarba 2015-07-13T12:51:00.001552Z

It should say whether it got enabled or disabled

colin.yates 2015-07-13T12:51:03.001553Z

ah yes, it just said it was disabled

colin.yates 2015-07-13T12:51:20.001554Z

ah, ok, line-numbers mode

colin.yates 2015-07-13T12:52:00.001555Z

that does make it quite a bit snappier now - thanks

malabarba 2015-07-13T12:52:53.001556Z


malabarba 2015-07-13T12:53:05.001557Z

You can try out the profiler too

malabarba 2015-07-13T12:53:35.001558Z

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

malabarba 2015-07-13T12:53:55.001559Z

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

colin.yates 2015-07-13T12:55:26.001560Z

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

akiva 2015-07-13T13:08:35.001561Z

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

cfleming 2015-07-13T13:12:50.001562Z

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

colin.yates 2015-07-13T13:14:21.001564Z

I knew you would be lurking :simple_smile:

cfleming 2015-07-13T13:14:51.001565Z