{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/1088","labels_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1088/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1088/comments","events_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1088/events","html_url":"https://github.com/clojure-emacs/cider/issues/1088","id":71283413,"number":1088,"title":"Using `load-file` to emulate source-tracking eval will not work with piggieback 0.2.1","user":{"login":"cichli","id":1759291,"avatar_url":"https://avatars.githubusercontent.com/u/1759291?v=3","gravatar_id":"","url":"https://api.github.com/users/cichli","html_url":"https://github.com/cichli","followers_url":"https://api.github.com/users/cichli/followers","following_url":"https://api.github.com/users/cichli/following{/other_user}","gists_url":"https://api.github.com/users/cichli/gists{/gist_id}","starred_url":"https://api.github.com/users/cichli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cichli/subscriptions","organizations_url":"https://api.github.com/users/cichli/orgs","repos_url":"https://api.github.com/users/cichli/repos","events_url":"https://api.github.com/users/cichli/events{/privacy}","received_events_url":"https://api.github.com/users/cichli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clojure-emacs/cider/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/clojure-emacs/cider/labels/ClojureScript","name":"ClojureScript","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-27T13:24:16Z","updated_at":"2015-05-19T06:33:46Z","closed_at":null,"body":"See cemerick/piggieback@46e30fdb3166026221f58567d164eb774b741b0f. The `file` slot is now ignored, and instead the contents of `file-path` are always loaded from disk. This means that the interactive eval commands that rely on `load-file` will not do the expected thing at all when using piggieback 0.2.1.\r\n\r\nI guess, ideally, the [source-tracking eval patch](http://dev.clojure.org/jira/browse/NREPL-59) (or something equivalent) will be merged to nREPL, and then the equivalent changes made in piggieback also - but I think this will potentially require upstream changes in ClojureScript itself. The string `<cljs repl>` is passed as the file name in a lot of places in `cljs.repl`, so piggieback would need some way of dynamically binding this.\r\n\r\nPaging @cemerick... any thoughts on this?"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/comments/103364252","html_url":"https://github.com/clojure-emacs/cider/issues/1088#issuecomment-103364252","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1088","id":103364252,"user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T06:33:46Z","updated_at":"2015-05-19T06:33:46Z","body":"Not to mention it will remove all the confusing `load-file` message people now see in their `nrepl-messages` logs and have trouble comprehending. "}}