Add links in github code views that open files in the given line.
Shell JavaScript Emacs Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
browser
os
.gitignore
README.org
org-protocol-github-lines.el
org-protocol-github-lines.png

README.org

org-protocol-github-lines

The purpose of this plugin is to make it easier to switch from your browser to emacs when looking at code reviews blogpost and demo

Requirements

org-mode org-protocol

Manual and usage

In github pull request views, add an emacs button that makes emacs open that file/line. blogpost and demo

Recently it got support for bitbucket repos also. No interface in firefox/chrome yet. To use it in conkeror, `m-x clone-repo` to clone (both bb or gh)

Code

Browser

In browser/org-protocol-github-lines.user.js theres the plugin that will insert the links on code comments that will link to emacs.

OS

os/xdg-open Predefine org-protocol to open emacsclient

Emacs

org-protocol-github-lines.el contains the code to open the actual file

Conkeror

The js file for conkeror provides a command `m-x clone-repo` which sends the signal to the emacs server to clone the “repo-at-buffer”. It works with both github and bitbucket.

Authors & contribs