From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Everyone, please stop making my life more difficult Date: Fri, 12 Sep 2014 09:08:45 +0300 Message-ID: <834mwd8j6a.fsf@gnu.org> References: <20140912043652.4D6D8380604@snark.thyrsus.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1410502132 29023 80.91.229.3 (12 Sep 2014 06:08:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 06:08:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: esr@thyrsus.com (Eric S. Raymond) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 08:08:46 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 1XSK2I-0007Ir-20 for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2014 08:08:46 +0200 Original-Received: from localhost ([::1]:42765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSK2H-0003c2-Gx for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2014 02:08:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSK29-0003bt-1e for emacs-devel@gnu.org; Fri, 12 Sep 2014 02:08:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSK23-0006Dc-IH for emacs-devel@gnu.org; Fri, 12 Sep 2014 02:08:36 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:55026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSK23-0006DY-Ab for emacs-devel@gnu.org; Fri, 12 Sep 2014 02:08:31 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NBR00J00XX4HK00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 12 Sep 2014 09:08:29 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBR00J2AYE4HQ10@a-mtaout23.012.net.il>; Fri, 12 Sep 2014 09:08:29 +0300 (IDT) In-reply-to: <20140912043652.4D6D8380604@snark.thyrsus.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:174192 Archived-At: > From: esr@thyrsus.com (Eric S. Raymond) > Date: Fri, 12 Sep 2014 00:36:52 -0400 (EDT) > > While running my latest repository conversion, I found this comment > > revno: 116811.1.662 > fixes bug: http://debbugs.gnu.org/18384 > committer: Eli Zaretskii > branch nick: emacs-24 > timestamp: Tue 2014-09-02 18:16:42 +0300 > message: > Fix bug #18384 with incorrect reporting of row number by posn-col-row. > > lisp/subr.el (posn-col-row): Revert the change from commit > r99634.2.576 eliz@gnu.org-20101113210758-8ml5kibjtza5ysmb, which > was inadvertently merged from emacs-23 release branch in r102428 > monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and > introduced an off-by-one error in the reported row when there is a > header line. > > src/dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in > the reported row in the case of a window with a header line, by > improving on the fix committed in r106022 > eliz@gnu.org-20111008105850-ht4tvsayohvr1kjc. > > There are two things about this comment that make my life > unnecessarily more difficult. > > 1) People are continuing to embed bzr revision numbers like > r99634.2.576 and r102428 in comments. Do not do this. There's no easy way to refer to an old commit in an unequivocal way. > They're soon going to cease being meaningful, and every time > I have to run another conversion to clean these out it costs > me eight to ten hours. I thought you already have machinery in place to do that automatically. > 2) "eliz@gnu.org-20101113210758-8ml5kibjtza5ysmb" Um. What the *hell*? It's a bzr revision-id. You can use it in "bzr log" or any other bzr command that accepts a revision spec. > This is not the time to be inventing some random new magic-cookie > commit reference format that my tools don't know how to recognize. > That should have been 2010-11-13T21:07:58Z!eliz@gnu.org (I think). I was certain you already deal with this. If not, please tell what information you need to convert this automatically. > The correct format for a commit reference that will remain > intelligible across every VCS, forever, is this: > > ! > > Example: 2010-11-13T21:07:58Z!eliz@gnu.org How can I produce this automatically given the information I have about the revision, i.e. its number and, possibly, revision-id? Is it possible to write a command to do this?