magit/magit — Issue #355: Magit non-file buffers are not setting list-buffers-directory
Author: mcraveiro
Created: 2012-01-22 13:55:17+00:00
State: open

If I understood correctly, non-file buffers are expected to set list-buffers-directory in order to give hints as to their "current location". This is useful for instance for modes such as shell toggle [1] and uniquify [2]. However Magit does not seem to be setting this at present. I think it should always be set to the top-level directory of the git repo, but I'm not too sure.

[1] http://www-verimag.imag.fr/~moy/emacs/shell-toggle-patched.el
[2] http://www.gnu.org/software/emacs/manual/html_node/emacs/Uniquify.html