el/dot-emacs.el: Basic configuration (and fixes) for Magit's repo list.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jul 2017 19:58:05 +0000 (20:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jul 2017 20:13:48 +0000 (21:13 +0100)
commitff6a7bee1d2f9953fa7e87247cc15d89b41d3de8
tree09b17c352b4a5e6dc694bfe533de4a01d1d4c3cc
parentd8070b21ac36d40086d59751f6f7ef9e7fb23bb7
el/dot-emacs.el: Basic configuration (and fixes) for Magit's repo list.

By default it should look in `~/src/' for repositories -- duh.  A
`~/.emacs-local' can override the list as appropriate.

Unfortunately, Magit's repo list is rather buggy.

  * The function `magit-rep-list' returns filenames rather than
    directory names, and Emacs (24, at least) then sets the wrong
    current directory when running inferior processes to find out about
    the repos.

  * The functions `magit-repolist-column-un{pulled-from,pushed-to}-
    {upstream,pushremote}' are just screwed because they expect `magit-
    get-{push,upstream}-branch' to magically turn `nil' into the current
    branch name, which isn't going to happen.

So, configure things, and hack around the bugs.
dot/emacs
el/dot-emacs.el