Fork me on GitHub
#emacs
<
2018-08-08
>
slipset06:08:10

Dang! This tripped me up after vacation and updating emacs

bozhidar07:08:58

@slipset Yeah, at this point I’m thinking a should probably just remove the key altogether and leave it to the users to decide what key want to use.

bozhidar07:08:17

Turns out it’s very hard to find a key that works for everyone. 😄

slipset07:08:43

No problem, I’m just glad I figured out the cause. The fun bit is that the muscle memory is so strong.

bozhidar07:08:13

That’s why in Emacs everything is configurable. 😉

vemv08:08:17

I'm looking for a prompt UI similar to:

(ido-completing-read "Press 1 to foobarize, or 2 to quuxify:" `("1" "2"))
But such that when you press 1, the prompt is done, without needing to hit RET. Anyone heard of something like that?

vemv08:08:20

Found it: (read-char-choice "Press 1 to foobarize, or 2 to quuxify:" (string-to-list "12"))

bartuka11:08:57

hey ppl, I am having trouble to get slack-emacs to work here

bartuka11:08:35

I managed to get the client-id and the token from the DevTools as the instructions said

bartuka11:08:44

however, where do I get the client-secret?

bja17:08:57

is there a predefined/idiomatic equivalent of clojure's pr-str in elisp? I'm looking for the inverse of elisp's read such that (equal (read (INVERSE-OF-READ '(bar 2 "spam"))) '(bar 2 "spam")) (defun pr-str (x) (string-trim (with-output-to-string (print x)))) gets me there, but it seems like I missed something builtin

cmack18:08:16

@bja prin1-to-string sounds like thing

lilactown18:08:47

holy crap - for those spacemacs + macOS users out there, make sure you disable the “add period with double-space” option. This has been driving me nuts for months and I had no idea why it was happening.

theeternalpulse23:08:52

is there an easy way to install packages and namespace them automatically, perhaps in addition to the functions being spilled into the namespace globally, to also have them aliased with "namespace/<original function name>". Installing something like dash makes me quake because of the global pollution.