Fork me on GitHub
#emacs
<
2018-01-23
>
stardiviner07:01:33

Maybe you can try counsel-org-goto. It just only work in single Org-mode file.

vemv12:01:33

wondering if magit (which I haven’t adopted/tried as my needs are relatively simple) or something else can provide this: view current buffer as per branch xxx. e.g. I’m in branch yyy, want to temporarily view the buffer as I switched to the branch to xxx like https://github.com/pidu/git-timemachine but travelling in a different dimension 🙂

andrea.crotti15:01:45

well I just do M-! git checkout other-branch file @vemv

andrea.crotti15:01:16

and then I discard the changes with magit when I'm done

andrea.crotti15:01:37

there is also magit-checkout-file though

andrea.crotti15:01:40

even if it's probably the same

andrea.crotti15:01:49

just more auto completion

vemv15:01:01

> well I just do M-! git checkout other-branch file does that change the repo’s branch (which I don’t want)?

vemv15:01:19

can try magit-checkout-file, thanks! @andrea.crotti

richiardiandrea16:01:51

I have a strange failure in my inf-clojure tests ..the (thing-at-point 'symbol) call returns differently in the tests and in the actual code buffer with the mode applied on? Is there anything modifying the behavior of it at runtime?

richiardiandrea16:01:03

I am enabling the mode in my test buffer but probably it is not enough