This looks very interesting - thanks!
Is the package available in MELPA or do I need to install it manually?

On Monday, 20 November 2017 20:42:16 UTC+1, Oliver Hine wrote:
>
> Hi everyone,
>
> I work a lot with re-frame because it's my favourite approach to building 
> UIs. However, it's a bit hard to navigate around in emacs because event 
> handlers and subscriptions are registered with keywords but CIDER doesn't 
> let you jump to the "definition" of a keyword like you can do with normal 
> vars.
>
> The solution I came up with is re-jump.el 
> <https://github.com/oliyh/re-jump.el> which lets you navigate around 
> re-frame registrations just like CIDER's jump-to-var. Here's an example:
>
> (ns app.model
>   (:require [re-frame.core :as re-frame]))
>   
> (re-frame/reg-event-db
>   ::foo
>   ...)
>
>
> (ns app.view
>   (:require [re-frame.core :as re-frame]
>             [app.model :as model]))
>   
> (defn bar []
>   (re-frame/dispatch [::model/foo]))
>
>
>
> With re-jump.el all you have to do is, with your cursor on a keyword like 
> ::model/foo in app.view, press M-> (this is M-. with the shift key) and 
> you will be taken to the registration in app.model!
>
> You can get it here: https://github.com/oliyh/re-jump.el
>
> I've been using it myself and it seems to work well. If you use it and 
> find any quirks or bugs please let me know.
>
> Cheers,
> Oliy
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to