This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-26
Channels
- # aws (1)
- # beginners (50)
- # boot (32)
- # chestnut (2)
- # cider (14)
- # clara (23)
- # cljs-dev (131)
- # cljsrn (44)
- # clojure (133)
- # clojure-belgium (3)
- # clojure-denmark (4)
- # clojure-dev (6)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-russia (95)
- # clojure-spec (59)
- # clojure-uk (14)
- # clojurescript (157)
- # cursive (26)
- # data-science (1)
- # datomic (160)
- # devops (5)
- # dirac (80)
- # emacs (2)
- # graphql (2)
- # jobs (2)
- # lein-figwheel (1)
- # lumo (9)
- # off-topic (151)
- # onyx (2)
- # parinfer (2)
- # pedestal (5)
- # perun (2)
- # re-frame (60)
- # reagent (3)
- # remote-jobs (1)
- # test-check (3)
- # uncomplicate (11)
- # yada (1)
Does anyone know how I can customize cider's repl buffer width? Couldn't find anything through customize-group
what does buffer width mean? certainly you can resize the buffer itself in emacs. and the only thing that has a notion of width in the repl that i'm aware of is the pretty printing
cider-repl-pretty-print-width
on my CIDER 0.15 at work although i'm not sure how stale this is here. we're a c# shop at work
@dpsutton Right now the repl buffer is the same width as the .clj buffer I'm jacking in from. I'd like the increase the ratio in favor of the code buffer.
enlarge-window-horizontally
if i'm understanding you correctly. You want to know how to resize windows in emacs
There's the native stuff in https://www.emacswiki.org/emacs/WindowResize and I also have my own emacs resizing window library on melpa https://github.com/dpsutton/resize-window
@dpsutton Right, I was just wondering if there was a way to customize it once so I don't have to resize each time I spin up a REPL. Thanks!
@ronen see this blog post, half way down, not cider specific, but you can take inspiration from it to tweak it for your need: http://bastibe.de/2012-10-14-emacs-customizations.html
that seems generic to emacs windows in general. In CIDER, there's nrepl-create-client-buffer-function
which gets defined somewhere in the jack-in proceess and then later called. No grep on windows through emacs at work so at lunch i'll track this down. I'm guessing it can be tailored to exactly what @ronen wants to do