This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-19
Channels
- # admin-announcements (2)
- # aws-lambda (3)
- # beginners (66)
- # boot (61)
- # cider (1)
- # cljs-dev (17)
- # clojure (100)
- # clojure-austin (4)
- # clojure-brasil (1)
- # clojure-canada (8)
- # clojure-quebec (6)
- # clojure-russia (48)
- # clojure-sg (6)
- # clojure-spec (37)
- # clojure-uk (61)
- # clojure-ukraine (2)
- # clojurescript (80)
- # core-async (13)
- # cursive (20)
- # datascript (37)
- # datomic (2)
- # defnpodcast (4)
- # emacs (5)
- # funcool (3)
- # hoplon (11)
- # jobs (7)
- # juxt (26)
- # lein-figwheel (48)
- # leiningen (3)
- # luminus (3)
- # om (34)
- # om-next (5)
- # onyx (5)
- # protorepl (6)
- # re-frame (10)
- # reagent (9)
- # rethinkdb (16)
- # ring-swagger (5)
- # spacemacs (14)
- # specter (54)
- # untangled (36)
- # vim (75)
- # yada (1)
How do I delete a directory in Spacemacs? (It's an empty directory)
I've tried navigating to it with dired (SPC a d) and then entering it, and from here, I can apparently rename it (though it does not take effect) with R. I cannot, however, delete it with d or D.
What I mean by "entering" is loading into a buffer like so:
/Users/doe/dev/asdf/asdg/:
total used in directory 0 available 113259813
drwxr-xr-x 2 doe staff 68 Jul 19 10:29 .
drwxr-xr-x 22 doe staff 748 Jul 19 10:29 ..
Another question: when I indent code with =
, such as = a [
, the result is not quite how I want it. For example, a hiccup vector containing
[component-name arg1
arg2]
will end up
[component-name arg1
arg2]
, rather than the desired
[component-name arg1
arg2]
. I find this very frustrating, but it I guess it's because the indenting function does not realize that a hiccup vector has a function call in the first position. Do you think this is right? It sees the vector as a flat list, and indents it as such. I wonder if there's a way to change that, though?@reefersleep: In dired, if you mark the directory to delete with d
, all you need to do is press x
to execute the marked actions (in this case delete).
Oof. Making aware that that particular form is a Hiccup form would be pretty hard to do.
@zane I’m not aware how emacs detects indenting rules but shouldn’t it be possible to make this work like the indenting of forms in ()
like without any special formatting I can get the following
(test
test2
test3)
(test test2
test3)