This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-07
Channels
- # adventofcode (269)
- # beginners (100)
- # boot (6)
- # cider (4)
- # cljsrn (4)
- # clojure (161)
- # clojure-android (31)
- # clojure-argentina (2)
- # clojure-brasil (8)
- # clojure-greece (45)
- # clojure-india (2)
- # clojure-madison (2)
- # clojure-russia (17)
- # clojure-spec (4)
- # clojure-sweden (1)
- # clojure-uk (32)
- # clojurescript (93)
- # core-logic (2)
- # cursive (21)
- # data-science (2)
- # datomic (46)
- # defnpodcast (1)
- # duct (5)
- # emacs (21)
- # events (1)
- # fulcro (17)
- # graphql (13)
- # job (1)
- # jobs (2)
- # leiningen (11)
- # lumo (3)
- # off-topic (119)
- # om (4)
- # onyx (2)
- # planck (6)
- # portkey (12)
- # re-frame (5)
- # reagent (3)
- # ring (5)
- # shadow-cljs (27)
- # spacemacs (19)
- # specter (6)
- # unrepl (9)
@ghsgd2 it's not saying it's not valid
just that the algorithm used is considered insecure
don't see it on mine (or I already accepted that some time ago)
@andrea.crotti It stopped asking for confirmation today after accepting it. Let's Encrypt is well-known and often used so thought it has proper algorithms. Thank you!
yeah sure I also use it
Have
(deftest foo-test
(testing ...)
(testing ...))
How to run specific (testing...)
test case in CIDER?Hi, I have trouble adding an Elisp function (which used to worked with older Emacs versions) to newer Emacs:
;; C-M-space should remove multiple whitespace lines into a single blank
;; character
(defun multi-line-just-one-space (&optional n)
"Multi-line version of just-one-space: Delete all
spaces, tabs and newlines around point,
leaving one space (or N spaces)."
(interactive "*p")
(let ((orig-pos (point)))
(skip-chars-backward " \t\n")
(constrain-to-field nil orig-pos)
(dotimes (i (or n 1))
(if (= (following-char) ?\s)
(forward-char 1)
(insert ?\s)))
(delete-region
(point)
(progn
(skip-chars-forward " \t\n")
(constrain-to-field nil orig-pos t)))))
(global-set-key (kbd "C-M-SPC") 'multi-line-just-one-space)
Can anybody suggest changes to make it work? I have tried (global-set-key (kbd "C-M-SPC") (lambda () (interactive) (multi-line-just-one-space)))
to no avail
What C-h k
shows for C-M-SPC key presses at your computer?
@ghsgd2 It says the following:
C-M-SPC runs the command multi-line-just-one-space (found in
global-map), which is an interactive Lisp function in
'~/projects/checkout/dotemacs/init-user.el'.
It is bound to C-M-SPC.
(multi-line-just-one-space &optional N)
Multi-line version of just-one-space: Delete all
spaces, tabs and newlines around point,
leaving one space (or N spaces).
Oh my! I restarted Emacs and it’s working. Whereas It gave an error message earlier after I just evaled the init-user.el
buffer
I have 2 cursors in Emacs after M-x cljr-extract-function
. How to revert back to 1 cursor?
C-g
helped
although you might just love it :) it is a separate package. you can work magic with it
@ag Something like this?
(defun cider-fully-qualified-symbol-at-point (args)
(interactive "P")
(message (cider-interactive-eval (concat "`(" (cider-symbol-at-point t) ")") )))