git-commit-mode: Add menu.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
don't require saveplace

If the user hasn't setup saveplace in their config, requiring saveplace
causes them to get a useless .emacs-places in the home directory. To
avoid triggering a compilation warning, we check if `save-place' is
bound.

f5b36db4 had changed from calling `toggle-save-place' to setting
`save-place' but still checked if `toggle-save-place' was fbound,
830b538b then required saveplace to quiet the compiler.
git-rebase-mode : Fix auto-mode-alist

 Add an end-of-string (\') marker to avoid spurious matches
`gitconfig-indent-line': compare `char-after' with `[' using `equal'

Calling `newline-and-indent' with point being @ `point-max' resulted in
a `wrong-type-argument' error due to `gitconfig-indent-line' trying to
compare `char-after's return value (which is nil @ eob) to `[' using
`=', which expects both of its arguments to be numbers or markers.

Signed-off-by: Pieter Praet <pieter@praet.org>
`git-commit-save-message': only save commit msg if it contains actual text

Avoid filling up `log-edit-comment-ring' with empty commit messages
by checking whether the commit message contains any actual text
(i.e. word chars that aren't part of a comment) before saving it.

Signed-off-by: Pieter Praet <pieter@praet.org>
`git-commit-save-message': only save commit msg if it's unique

Avoid filling up `log-edit-comment-ring' with duplicate commit messages
(and potentially clobbering useful history in the process) when cycling
through it using `git-commit-{prev,next}-message'.

Signed-off-by: Pieter Praet <pieter@praet.org>
tell newcomment.el # is only comment at line start

Otherwise we get things like this:

A typical commit message referencing issue #xxx that is long enough to
                                           #need filling,

This is not related to fontifying of comments which already applies only
to lines beginning with #. It's also not related to the syntax-table;
middle of line #s still have comment syntax, but apparently this has no
effect.

Fixes #67.
Merge pull request #63 from ruediger/menu

git-commit-mode: Add menu.
Merge pull request #65 from npostavs/no-saveplace

don't require saveplace
Merge pull request #66 from PureAbstract/fix-rebase-mode-auto-mode-alist

git-rebase-mode : Fix auto-mode-alist
Merge pull request #69 from praet/config-indent-err

`gitconfig-indent-line': compare `char-after' with `[' using `equal'
Merge pull request #70 from praet/commit-save-msg

Commit message history fixes
Merge pull request #71 from npostavs/start-line-comment2

tell newcomment.el # is only comment at line start (v2)
Makefile: handle all libs and make more like Magit's
Makefile: let user override EMACS and EFLAGS