This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-07
Channels
- # aleph (1)
- # beginners (152)
- # cider (26)
- # clara (2)
- # cljs-dev (13)
- # cljsrn (5)
- # clojure (198)
- # clojure-greece (15)
- # clojure-italy (39)
- # clojure-sanfrancisco (3)
- # clojure-spec (28)
- # clojure-uk (16)
- # clojurescript (52)
- # community-development (15)
- # core-async (26)
- # cursive (42)
- # data-science (28)
- # datomic (19)
- # devops (7)
- # duct (11)
- # emacs (24)
- # fulcro (22)
- # garden (4)
- # leiningen (12)
- # luminus (1)
- # mount (5)
- # off-topic (106)
- # om (5)
- # onyx (10)
- # parinfer (37)
- # re-frame (17)
- # reagent (47)
- # shadow-cljs (36)
- # yada (2)
If the string is taken from a buffer I think you can get it without properties.
buffer-substring-no-properties
Are you trying to determine screen position based on string length? There might be more direct ways to do that too.
I'm doing some hacky outline/indentation, where the indentation level is dependent on the # of whitespaces before the first non-whitespace character
Maybe origami or one of the other folding modes has code you can draw from?
I know they didn’t do exactly what you wanted but there could be utility libraries in there.
the problem is: when I use string-match
, I have to pass the underlying string to match-strinkg NUM
I just found
(how-many REGEXP &optional RSTART REND INTERACTIVE)
Print and return number of matches for REGEXP following point.
I feel like 95% of my elisp time is spent debugging, and 95% of my debugging time is spent staring at the wrong line number
does this look obviously wrong to anyone? having issues getting some ignored files for greping
((nil . ((cider-lein-global-options . "with-profile dev")
(grep-find-ignored-directories . ("SCCS" "RCS" "CVS" "MCVS" ".src" ".svn" ".git"
".hg" ".bzr" "_MTN" "_darcs" "{arch}" "jib/target"
"jib/dev-resources" "jib/resources" "jib-gae"
"labcorp-client" "mdtoolbox-client" "cordova" "cutter")))))
in my dir-locals.elUhm, It looks ok
Do you use projectile?
I also would check using ielm
that var value for your buffer