This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-17
Channels
- # aws (16)
- # beginners (82)
- # boot (29)
- # cider (43)
- # cljs-dev (90)
- # cljsrn (14)
- # clojure (79)
- # clojure-dev (12)
- # clojure-greece (4)
- # clojure-italy (12)
- # clojure-russia (81)
- # clojure-shanghai (1)
- # clojure-spec (39)
- # clojure-uk (28)
- # clojurescript (159)
- # consulting (1)
- # cursive (16)
- # data-science (6)
- # datomic (18)
- # devops (3)
- # emacs (22)
- # figwheel (1)
- # graphql (15)
- # hoplon (3)
- # jobs (1)
- # jobs-discuss (8)
- # leiningen (1)
- # luminus (6)
- # lumo (1)
- # off-topic (18)
- # om (6)
- # onyx (38)
- # pedestal (30)
- # perun (3)
- # re-frame (38)
- # reagent (8)
- # ring-swagger (2)
- # rum (2)
- # sql (2)
- # unrepl (14)
- # untangled (1)
- # vim (8)
I feel like something changed in recent emacs. I now get into the “Lisp Expression:” thing all the time and have no idea what’s triggering it. Anyone know what the command is called or how I can see a history of called commands?
it’s triggered every 5 keystrokes or so. so annoying 😣
@martinklepsch - That rang a bell, and I found the relevant conversation in the archives: https://clojurians-log.clojureverse.org/cider/2016-03-22.html
i'm not seeing it now but when two lisps interact, people use read
to read the stuff from the other. in emacs, read
with nil passed to it means prompt the user. and something was coming back nil and causing this
https://github.com/clojure-emacs/inf-clojure/commit/4e96e936a760c48d55f60b395a5ef65a69dd13cc
ah, infact using inf-clojure. That’s all very interesting thanks @dpsutton
Yep, sorry @martinklepsch, I think @bozhidar will release soon with the patch
FWIW you can /remind in Slack :-)
Just tried the remind feature, neat!
@richiardiandrea Regarding your question about defcustom
, try
(defcustom my-replace-or-append-option '(replace . "foo")
"The documentation for my option.
The value is a cons cell where the car is the symbol `replace' or
the symbol `append', and the cdr is a string."
:group 'my-options
:type '(cons (choice (const :tag "Replace" replace)
(const :tag "Append" append))
string))
and you should get Hide My Replace Or Append Option:
Choice: [Value Menu] Replace
String: foo
[ State ]: STANDARD.
The documentation for my option. Hide
The value is a cons cell where the car is the symbol 'replace' or
the symbol 'append', and the cdr is a string.
@radon thank you ! Ended up doing that exactly! https://github.com/abicky/nodejs-repl.el/pull/11/commits/e892b031b5fac17221068c0beae488ba1200410e#diff-b7762d54d05c335e066bbf116c15ab8eR148
@richiardiandrea Looking at your code, I think you want to remove the .
after (cons string
, and remove the quotes in front of replace
and prepend
. Otherwise it’s a bit wonky in the Customize interface.
will do thank you
what do you do when you want to backfill the string functions in 24.4
to old emacs? just if
on the version?
richiardiandrea: have a look at this http://emacsredux.com/blog/2013/09/05/version-checks/
will do!
thanks a lot