From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: Enhancing (?) `emacs-version' Date: Wed, 10 Feb 2016 21:27:38 +0100 Message-ID: <87vb5w71l1.fsf@mbork.pl> References: <87wpqc75ju.fsf@mbork.pl> <83egck9xmk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455136078 27486 80.91.229.3 (10 Feb 2016 20:27:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 20:27:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 10 21:27:54 2016 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 1aTbMe-0008CJ-Io for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 21:27:52 +0100 Original-Received: from localhost ([::1]:42846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTbMd-0003x1-Rk for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 15:27:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTbMY-0003uH-Uo for emacs-devel@gnu.org; Wed, 10 Feb 2016 15:27:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTbMX-0000n4-Su for emacs-devel@gnu.org; Wed, 10 Feb 2016 15:27:46 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:40427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTbMU-0000kb-AG; Wed, 10 Feb 2016 15:27:42 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 5D5D49D2002; Wed, 10 Feb 2016 21:27:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pXumXvu5haGN; Wed, 10 Feb 2016 21:27:39 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id E33E39D2001; Wed, 10 Feb 2016 21:27:38 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 In-reply-to: <83egck9xmk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 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:199723 Archived-At: On 2016-02-10, at 20:24, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Date: Wed, 10 Feb 2016 20:01:57 +0100 >> >> would it be hard and/or reasonable to make `emacs-version' display the >> sha of the git commit used to build this version for development >> versions of Emacs? I guess it would make sense for bug reporting. > > We already have the variable emacs-repository-version, and > report-emacs-bug already includes it in the report. Thanks, I had no idea that this exists! What does it state for non-development versions (official, prebuilt pretests or binaries, for instance)? > If that's not good enough, please tell the details of the use case you > had in mind. I guess it is (almost) good enough. I will probably advise emacs-version to include that info, though. Would it be helpful for the devs if I do? Not all bug-related messages are created with report-emacs-bug. Use case: a message to the bug-gnu-emacs list, stating that this-and-this bug can be reproduced on that-and-that Emacs version. It might be helpful for me if emacs-version included that info automatically. > Thanks. Thanks, and best regards, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University