This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-09
Channels
- # adventofcode (187)
- # aws (1)
- # aws-lambda (1)
- # beginners (162)
- # boot (64)
- # cljs-dev (6)
- # cljsjs (2)
- # cljsrn (32)
- # clojure (357)
- # clojure-greece (1)
- # clojure-korea (4)
- # clojure-russia (63)
- # clojure-sanfrancisco (3)
- # clojure-spec (91)
- # clojure-uk (63)
- # clojurescript (74)
- # clojurex (10)
- # code-reviews (55)
- # core-async (4)
- # core-typed (1)
- # cursive (17)
- # datascript (36)
- # datomic (43)
- # devcards (4)
- # dirac (3)
- # emacs (59)
- # hoplon (286)
- # jobs-discuss (399)
- # luminus (4)
- # mount (9)
- # off-topic (30)
- # onyx (53)
- # protorepl (3)
- # re-frame (88)
- # reagent (4)
- # spacemacs (1)
- # specter (14)
- # untangled (1)
- # vim (42)
Hi, when I do C-u C-x C-e the result is put into the buffer next to what I just evaluated. If I do C-x C-e the result is in the mini-buffer and will disappear from the buffer on the next action. Is there a key combo to insert the result into the buffer after doing C-x C-e?
Ah yes, I meant for clojure code. Although if there is a common way to refer to the last output in the minibuffer then that might work for both
those are helpful, but both seem to do the evaluation again. My use case is more for "crap, I lost the output of that long running operation"
Well sometimes I do C-x C-e when I wanted to do C-u C-x C-e, so I want to be able to have the output somewhere after running something
For me it works to use C-u C-x C-e and if I do C-x C-e instead I now know that I can lookup and paste the result from the Messages buffer. That works for me
I use this when adding a (comment ..) section in a clojure file and trying out some things in there to see how code works.
can someone answer a really stupid question for me please? 🙂 is there a standard elisp package / lib providing the function “first” that I ought to know about? I know I can just use “car” or define my own. but a couple of packages I have seem almost to expect that it be there. tia
something like dash.el but which contains things like first, last, butlast, etc
/usr/local/share/emacs/26.0.50/lisp/emacs-lisp/cl.elc (defalias first) /usr/local/share/emacs/26.0.50/lisp/emacs-lisp/cl-lib.el (defun cl-first)
@dpsutton thanks so much!
i didn’t really know how to formulate the question for google “elisp first function” gets misinterpreted
pretty sure now that you mention it that i’ve seen (require ‘cl) before
man, really thanks, lol. this was really irritating me 🙂
you’ve contributed to the net happiness in the universe
well, i didn't hold the door open for someone coming into the coffee shop so this just makes the universe net even again
well, you have restored balance to the force
@dpsutton don’t suppose you have function* ?
i’m trying to run 4clojure mode and getting errors for a bunch of missing defs
thanks again. yeah, 4clojure mode depends explicitly on json and request but apparently assumes cl and cl-macs
i may file an issue after i ascertain that i’m not the bozo