Skip to content
Adam Spiers edited this page Sep 2, 2013 · 37 revisions

Commit mode and emacsclient

Magit recently switched from magit-log-edit-mode to git-commit-mode to edit commit messages. This caused a few problems (e.g. see this thread), and these issues are being investigated and addressed:

Commit popup

The command used to initiate a commit (c) is now a popup like other major commands. This was done for consistency with the rest of Magit and because it is no longer possible to turn on --amend while editing the message.

Commit mechanism blocks other operation

This will be fixed. But we won't restore toggling between --amend/new commit while editing the message. Doing that makes very little sense.

Commit popup key bindings

Unfortunately some bad key bindings were chosen in the key popup. -a was used to mean --amend but for consistency with git -a should mean --all. We are fixing this in two steps to avoid tears when someone presses -a and means --amend and not --all.

  • Original mistake: -a => --amend, -A => --all
  • Current: -r => --amend, -A => --all, -a unbound
  • Goal: -r => --amend, -a => --all, -A unbound

Also see

Marmalade package

If you are using the development version of Emacs you have to also use the development version of Magit by either using Melpa or installing Magit from git. This is due to an incompatible change in delete-directory in Emacs-bzr.

Clone this wiki locally