From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: magit, changelogs and commit formatting Date: Fri, 11 Sep 2015 23:38:52 +0800 Message-ID: <87wpvxq837.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441985988 12101 80.91.229.3 (11 Sep 2015 15:39:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2015 15:39:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 17:39:40 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZaQQL-0003ni-Pe for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Sep 2015 17:39:37 +0200 Original-Received: from localhost ([::1]:57026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQQL-00013X-9b for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Sep 2015 11:39:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQQA-00013P-2a for help-gnu-emacs@gnu.org; Fri, 11 Sep 2015 11:39:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaQQ6-0004xC-Ok for help-gnu-emacs@gnu.org; Fri, 11 Sep 2015 11:39:25 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQQ6-0004wM-II for help-gnu-emacs@gnu.org; Fri, 11 Sep 2015 11:39:22 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZaQPx-0003Ns-Vt for help-gnu-emacs@gnu.org; Fri, 11 Sep 2015 17:39:14 +0200 Original-Received: from 123.118.189.87 ([123.118.189.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2015 17:39:13 +0200 Original-Received: from eric by 123.118.189.87 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2015 17:39:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.118.189.87 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:XTD41fEhkabZX11jldvHl3tpxJQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107150 Archived-At: I know we're supposed to move to automatically-generated changelogs Real Soon Now, but in the meantime... I'm having a bit of confusion about the best way to format git patches for Emacs packages. I've pushed a few almost-but-not-quite patches that other people have had to fix afterwards (I'm talking about commit message formatting), and that's embarrassing. What I've done in the past is start the commit from Magit, then hit "C" in the patch buffer, which inserts a fairly intelligent log template into the commit message buffer, and then I work with that. But of course the ChangeLog is supposed to be part of the commit, which means these messages have to be created before I even get to the commit buffer, which so far has meant a lot of manually adding function names and parentheses and making sure there are two spaces between the date and my name/address. Is there a different magic function I'm missing? Can some greybeard quickly share a workflow? How does everyone else do this? Any hints appreciated, Eric