From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Writing ChangeLog-style commit messages with Magit Date: Sun, 23 Feb 2020 09:29:04 -0500 Message-ID: References: <87lfp28kek.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="130779"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Federico Tedin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 23 15:30:02 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5sGg-000XwO-Ax for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Feb 2020 15:30:02 +0100 Original-Received: from localhost ([::1]:53518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5sGf-0007Uw-DC for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Feb 2020 09:30:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49101) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5sG4-0006tM-3g for emacs-devel@gnu.org; Sun, 23 Feb 2020 09:29:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5sG2-0006pP-0h for emacs-devel@gnu.org; Sun, 23 Feb 2020 09:29:22 -0500 Original-Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:40789) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5sG1-0006nE-Pu for emacs-devel@gnu.org; Sun, 23 Feb 2020 09:29:21 -0500 Original-Received: by mail-ot1-x343.google.com with SMTP id i6so6405698otr.7 for ; Sun, 23 Feb 2020 06:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ENhJ4h338qP4kNVACvcsXAgmWHcHzQyOE3+fqTXnViQ=; b=C2KbjjRYOUQnRCEhsWmDMefpsHpJb3X6Na0jWDE0+/eTWWXLhuA8tTy/uUgPh7o5nu YBobqzRWcA8Ig1+lTxvb6DlF0KzB+XPQYF1ANHug2MN9RNHzlzn1/JWpeyX5G5xWZeFi rzblGPTAqpXu1iYYkjtLs4q2aF78jkHCmiSdBk7wBTfpeZN1B6mm60DINug1qOBWhrNL agh/kuyvWGo1kB+kIfBmNsppHOjRCufWqwq46VNGKjKzBfqZ5F60B2cSAVi+Mo6TJT8f 8g/Qmh6PVgYx+qm3DcfmA+C7zkQN5G3PHJ/rmgQDUuvJbWMY0XTETJa6kklzMhsdfuos 9MAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ENhJ4h338qP4kNVACvcsXAgmWHcHzQyOE3+fqTXnViQ=; b=J0LNkCPh+GNMdi7ZfJvXOqsdJIa/G2eHtx7DBxzTdVBrp8SkH8HzMKyH+7yO6mTUdW fN2wRg1/khdYTT1JVfeI12v8KEyFSj5FjdAfxdKDOaRsYBlI/F0dFYaVtvlOoQ6vEWjt WVG22LKk0qT1DVcCzsqqF306BAVPC/Hq7Kl7V5+mvZT4m9pBejhipzJd7mEgy7/lLchb vM5HrCNmKCvCYLnY13rXatkeoslAtA5mDg03YX4IBeTAFppc0wI3tC6szvxgN5/ENMBo r4rB5ic56SALOyoTKA/P6d1XElJ6BGLQUHT+ZSOWUCDVhacw4QuF2f9rbEozc1K18zNp tOYw== X-Gm-Message-State: APjAAAW0B1IGpaPNHDrgF4HOpD8NLHyQd0uydBlHdtkbCzqSR+6nkXFc Md9ERvzLwoBPHH6yHccEdRM6PHpEO7ZsIj4+Uo8= X-Google-Smtp-Source: APXvYqz1oobldwgiD5Tk+QMAl4EQIcRJ1YMWc6oUHHiMML6kcFHj3eMQ3i/nASlsrSFNsz7CIY9ymztp2t60zallYFw= X-Received: by 2002:a05:6830:98:: with SMTP id a24mr34837839oto.115.1582468160474; Sun, 23 Feb 2020 06:29:20 -0800 (PST) In-Reply-To: <87lfp28kek.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::343 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245041 Archived-At: On Sun, 16 Feb 2020 at 13:19, Federico Tedin wrote: > - Use "C" while on the diff buffer like described here by Jonas: > https://emacs.stackexchange.com/questions/13753/insert-changelog-entries-in-commit-message > - Write and structure the commit message manually (adding change > descriptions per file/symbol) > > So far I've been writing the commit messages manually (just found out > about "C-x 4 a"), so I wanted to know if anyone has a workflow similar > to the first one in the list, or maybe something more automated. In Emacs 27, there is a somewhat more automated workflow available from VC as C-c C-w. I have some not-quite-finalized code for using this functionality from magit at https://github.com/magit/magit/pull/3928. There is also a link there to another slightly different approach: https://github.com/dickmao/magit-patch-changelog (I haven't really looked at it closely enough to say what the differences are though)