From: Peter Simons <simons@cryp.to>
To: git@vger.kernel.org
Subject: Emacs git-mode feature request: support fill-paragraph correctly
Date: Mon, 26 Jan 2009 12:57:39 +0100 [thread overview]
Message-ID: <87tz7mth3g.fsf@write-only.cryp.to> (raw)
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
next reply other threads:[~2009-01-26 11:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 11:57 Peter Simons [this message]
2009-01-26 12:15 ` Emacs git-mode feature request: support fill-paragraph correctly 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tz7mth3g.fsf@write-only.cryp.to \
--to=simons@cryp.to \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).