Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh log + support for before and after refresh middleware opts #1219

Merged
merged 5 commits into from Jul 20, 2015

Conversation

cichli
Copy link
Member

@cichli cichli commented Jul 19, 2015

Depends on clojure-emacs/cider-nrepl#233. Current UI looks like this:

screenshot 2015-07-19 18 40 50

Feedback welcome!

@bbatsov
Copy link
Member

bbatsov commented Jul 19, 2015

The code looks great, but this definitely deserves some documentation in the README. We wouldn't want people to be totally unaware about such great functionality, right?

(defconst cider-refresh-log-buffer "*cider-refresh-log*")

(defcustom cider-refresh-before-fn nil
"Function for `cider-refresh' to call before reloading.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Clojure function ..." I had to read this twice to understand it wasn't an emacs hook. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good spot, updated.

@bbatsov
Copy link
Member

bbatsov commented Jul 19, 2015

Forget my remark about the changelog. I'm way too tired today...

@cichli
Copy link
Member Author

cichli commented Jul 19, 2015

The code looks great, but this definitely deserves a changelog entry and some documentation in the README.

Looks like cider-refresh isn't mentioned anywhere in the README at all right now - not even the keybindings! Putting something together now.

bbatsov added a commit that referenced this pull request Jul 20, 2015
Refresh log + support for `before` and `after` refresh middleware opts
@bbatsov bbatsov merged commit c70c277 into clojure-emacs:master Jul 20, 2015
@bbatsov
Copy link
Member

bbatsov commented Jul 20, 2015

👍

@cichli cichli deleted the refresh-before-after branch July 29, 2015 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants