git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Emacs git-mode feature request: support fill-paragraph correctly
@ 2009-01-26 11:57 Peter Simons
  2009-01-26 12:15 ` Bruce Stephens
  2009-01-27 11:03 ` Alexandre Julliard
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Simons @ 2009-01-26 11:57 UTC (permalink / raw)
  To: git

Hi,

when I choose to commit in Emacs' git mode, I'm prompted to enter a
commit message in a buffer that looks something like this:

   Author: Joe Doe <joe.doe@example.org>
   --- log message follows this line ---
   foo.txt: lots of important changes

Now, when I hit M-q (fill-paragraph), Emacs doesn't recognize that
the "--- log message ..." line ought to be considered a paragraph
separator. As a result, the re-filled buffer is messed up:

   Author: Joe Doe <joe.doe@example.org> --- log message follows
   this line --- foo.txt: lots of important changes

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?

Take care,
Peter

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-29 10:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 11:57 Emacs git-mode feature request: support fill-paragraph correctly Peter Simons
2009-01-26 12:15 ` Bruce Stephens
2009-01-26 17:46   ` Peter Simons
2009-01-26 19:11     ` Bruce Stephens
2009-01-27 11:03 ` Alexandre Julliard
2009-01-27 14:07   ` Peter Simons
2009-01-28 21:32     ` Junio C Hamano
2009-01-29 10:42       ` Alexandre Julliard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).