From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: emacs-diffs emails can get long subject if log starts with "*" Date: Mon, 24 Nov 2014 12:12:42 -0500 Message-ID: References: <87389azvuk.fsf@igel.home> <1573504.ME31ScXqvn@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416849181 15527 80.91.229.3 (24 Nov 2014 17:13:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2014 17:13:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 24 18:12:51 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XsxBx-00070M-P3 for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2014 18:12:49 +0100 Original-Received: from localhost ([::1]:53694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsxBx-0002h1-9B for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2014 12:12:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsxBu-0002gq-6x for emacs-devel@gnu.org; Mon, 24 Nov 2014 12:12:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsxBt-000673-6n for emacs-devel@gnu.org; Mon, 24 Nov 2014 12:12:46 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsxBt-00066y-3N for emacs-devel@gnu.org; Mon, 24 Nov 2014 12:12:45 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XsxBq-0007fo-PH; Mon, 24 Nov 2014 12:12:42 -0500 X-Spook: government USDOJ NATO White House CIDA Jiang Zemin X-Ran: )9z'cLeNM(4R;p1he;tfw}+Ar.z]H[:qE_OsZ&@?o9-#F/"_/af'I(Tzr1-To3d83SQ;fc X-Hue: white X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178184 Archived-At: R=C3=BCdiger Sonderfeld wrote: >> Also seems dumb to me to ignore line-breaks, and insist on paragrpah >> breaks, but whatever. > > That's why the recommendation for git is to limit the first line to 50=20 > characters.=20 "First line summarizes the commit" is fine by me. What I find dumb is the requirement for that first line to be followed by a blank line, not a new line. Because who needs to write 50 characters like this? For example, just now I wanted to use a commit log which was about 1.5 lines long in total, but had a natural break (for a comma) at the end of the first line. Rather than rewrite it as "1 + blank + 1.5 lines", I simply dropped the last half line. If a newline marked the end of the summary/title/whatever, then log --oneline (and emacs-diffs subjects) would look fine, with no action needed. But obviously it isn't going to change, so we need to learn new habits, and write little tools to enforce said habits.