This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-23
Channels
- # announcements (2)
- # beginners (246)
- # boot-dev (1)
- # braveandtrue (3)
- # calva (13)
- # cider (26)
- # cljs-dev (6)
- # clojure (75)
- # clojure-finland (4)
- # clojure-germany (39)
- # clojure-italy (1)
- # clojure-mexico (1)
- # clojure-nl (14)
- # clojure-spec (61)
- # clojure-uk (104)
- # clojurescript (125)
- # cursive (20)
- # datomic (1)
- # emacs (2)
- # figwheel-main (91)
- # fulcro (29)
- # graphql (9)
- # jobs (3)
- # jobs-discuss (9)
- # juxt (13)
- # liberator (2)
- # luminus (1)
- # off-topic (15)
- # parinfer (8)
- # re-frame (70)
- # reagent (35)
- # reitit (24)
- # remote-jobs (5)
- # ring-swagger (3)
- # shadow-cljs (127)
- # spacemacs (34)
- # yada (6)
@bryan778 from what I've read in the little research I did before giving in to smartparens.. is that you need to be on the dev branch for spacemacs for it to work at all.
I just switched to spacemacs, so have been poking around at a few things.. still really new to it though.. as well as to emacs in general. After writing my own emacs config and understanding a few things.. finally went to spacemacs and it's been much less frustrating than the first time I tried it. Have had to tweak a few things though... but not too shabby overall
@bryan778 Yes, you need to switch to the develop branch. Then just add the parinfer layer. Worked fine for me.
When I do SPC m s x
, I get Wrong type argument: commandp, cider-refresh
. Anyone have a clue of what might be going on?
@spfeiffer thank you, will give that a shot. For some reason, from reading github, got the impression the parinfer layer had gotten killed.
@ryan.russell011 I'm in a similar boat. I'm a vim guy who coveted some emacs features, and spacemacs really fills that gap well. I tried looking at smartparens and got really confused by the available commands. Parinfer has been great in Cursive, but I think I like Cider a little better for REPL work.
And I can TAB
on files to see their changes. At that point is there a way to pick-n-choose what I want to keep and what I want to undo?
I basically see something like this
-(defn my-funk [] (println "funky town"))
+(defn my-funk [] (println "Groovy"))
if you have unstaged changes, and you magit-delete-thing
them, they’ll go back to what they were as of your most recent commit
it’s asking you whether you want to delete hunk
because once you delete that hunk, it’s gone.
only for the hunk. though i’m not looking at your screen, so i can’t tell what you’re trying to do.
i think there’s no shame in sanity-copying the file to another directory for safe keeping, until you’re more comfortable with git
I have a file with multiple changes. When I do SPC g s
I can see the file. I can also TAB
it and see the changes in that file
I was just wondering whether or not I can pick n choose what changes I want to keep and changes I want to revert.
@UB0S1GF47 Git groups changes in a file into what it calls hunks. Sometimes a hunk can contain more changed like that you want to work with (un/stage, delete). You can tell git to split hunks, although using select in Magit gives you much more control.
To delete one or more changed lines in a file, select the lines using v
in vim mode or C-SPC
in Emacs mode. Then run the action you want. x
to discard the selected line(s)
im on the dev branch, on ubuntu, when i open spacemacs and open a file, it inserts what ever was in my copy/paste bin randomly into the file.
has anyone experienced this before? i cant imagine what i have done to bring this on, it doesnt seem to happen happen all the time. is there a way to track down behavior like this?
@U0DJ4T5U1 Yes, pasting when opening in the file has happened before from the Spacemacs homepage. Add this line to the dot Spacemacs/user-config
section of .spacemacs
to prevent it. Or just open the file with RET
instead of the mouse.
(define-key spacemacs-buffer-mode-map [down-mouse-1] nil)