Discussion about all editors used for Clojure/ClojureScript
danielcompton 2015-08-24T00:29:32.000412Z

There’s a simple paste in IntelliJ which might help


is anyone using emacs for mac osx? http://emacsformacosx.com/


i am having problems with smartparens on it


C-<left> and C-<right> doesn’t work for me


i have to use C-( and C-M-} instead 😞

jcsims 2015-08-24T03:20:42.000417Z

jsyeo: works for me - do you have the keybindings available from the OS? (I think they’re bound by default to workspace right/left)


@jcsims: good catch! i disabled it and it’s working for me now!



cfleming 2015-08-24T05:47:33.000420Z

@rauh: The escaping paste in Cursive is modelled after the IntelliJ one - what is it stripping out you’d like to keep?

dottedmag 2015-08-24T08:36:42.000421Z

@jsyeo: While you are on it -- if you press Command-Control-A in Emacs, what do you see in minibuffer?

dottedmag 2015-08-24T08:37:41.000422Z

@jsyeo: I'm trying to catch a weird bug in Emacs and can't narrow down the conditions for it being exhibited.


@dottedmag: i get <C-s-268632065> is undefined

dottedmag 2015-08-24T08:52:02.000426Z

@jsyeo: Thanks



dottedmag 2015-08-24T08:53:31.000428Z

@jsyeo: By any chance do you use Dvorak, Colemak or anything else non-QWERTY?




i am using classic qwerty

dottedmag 2015-08-24T08:53:49.000431Z

Okay, so it is not layout-dependent then. Great.

dottedmag 2015-08-24T08:54:06.000432Z

The code in question muffles something about non-standard layouts.


im curious, what bug are u trying to catch?

dottedmag 2015-08-24T08:54:31.000434Z

This key combination should result in C-s-a, not C-s-268632065

dottedmag 2015-08-24T08:54:41.000435Z

Which makes impossible to add a keybinding to it.

dottedmag 2015-08-24T08:54:54.000436Z

Here's a patch: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21330


i see this


after googling

dottedmag 2015-08-24T08:55:37.000440Z

Oh, yes, the same error, but without patch :)

rauh 2015-08-24T11:34:37.000441Z

@cfleming: I was copy pasting within a long mutliline regex #"..." and it kept joining the lines and removed all my escape characters. Is there a way to disable it completely? I would probably prefer if it *just* escaped " and left he new lines etc in place

rauh 2015-08-24T11:35:31.000442Z

So to answer you question: The regex had various \s or \d and when I copy & pasted them the \ just disappeared and ended up being just s or d

cfleming 2015-08-24T12:32:04.000445Z

@rauh: Oh yes, I noticed that too - in general I think the escaping should be totally disabled in regexes since they don’t obey the same escaping rules as in Java strings.

rauh 2015-08-24T12:33:22.000448Z

Awesome, thanks!

rauh 2015-08-24T12:33:51.000449Z

Personally, I don't like to much magic. Though, escaping " is nice. But more transformations are too much IMO

cfleming 2015-08-24T12:34:30.000450Z

I basically just copied what IntelliJ does - it’s actually possible there’s already a config flag to turn that off.

rauh 2015-08-24T12:35:02.000451Z

Ok I'll try to find it.

cfleming 2015-08-24T12:35:17.000452Z

I just browsed quickly and couldn’t find anything.

cfleming 2015-08-24T12:36:15.000457Z

Ok, so you can’t disable it globally, looks like.

rauh 2015-08-24T12:37:51.000458Z

Well you can bind paste simple to CTRL+V

cfleming 2015-08-24T12:38:00.000459Z

That’s very true.

rauh 2015-08-24T12:38:41.000460Z

Works for me, feel free to make it a non-issue

cfleming 2015-08-24T12:38:46.000461Z

Although I tend to use Cmd-Shift-V a lot, I guess it won’t work there.

cfleming 2015-08-24T12:39:11.000462Z

I’ll fix the regex case anyway, that is definitely broken. I’d noticed that myself but was obviously too lazy to file an issue at the time.