Re: Emacs git-mode feature request: support fill-paragraph correctly
- From
- Bruce Stephens <bruce.stephens@isode.com>
- Date
- Jan 26, 2009, 12:15 UTC
- Message-ID
- <808woyz2k7.fsf@tiny.isode.net>
- In-Reply-To
- <87tz7mth3g.fsf@write-only.cryp.to>
Peter Simons <simons@cryp.to> writes:
[...]
> Other modes, such as message-mode, do support that kind of thing > correctly, so apparently it is possible to configure what the editor > considers as a paragraph. Is there some Emacs wizard out there who'd > be kind enough to improve git-mode accordingly?
I suspect this doesn't directly relate to git-mode. What mode does emacs say you're in at this point? I'm guessing the buffer name is COMMIT_EDITMSG and the mode is fundamental-mode?
In that case you could stick this in your .emacs if you wanted to use message-mode:
(setq auto-mode-alist (cons '("COMMIT_EDITMSG" . message-mode) auto-mode-alist))