From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: commit-msg hook Date: Sat, 11 Apr 2015 18:13:31 +0300 Message-ID: <55293A1B.7030500@yandex.ru> References: <83y4m0tgac.fsf@gnu.org> <55288A2D.5030809@cs.ucla.edu> <83d23bruui.fsf@gnu.org> <83a8yff0pl.fsf@gnu.org> <838udzf0ix.fsf@gnu.org> <552916C9.9070900@yandex.ru> <834momg2lq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1428765243 8763 80.91.229.3 (11 Apr 2015 15:14:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2015 15:14:03 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 11 17:13:58 2015 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 1Ygx6c-0007fW-O0 for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 17:13:58 +0200 Original-Received: from localhost ([::1]:42986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygx6b-00009f-Th for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 11:13:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygx6L-00009Y-5Q for emacs-devel@gnu.org; Sat, 11 Apr 2015 11:13:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygx6H-0002Bi-OK for emacs-devel@gnu.org; Sat, 11 Apr 2015 11:13:41 -0400 Original-Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:36810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygx6H-00027P-Gn; Sat, 11 Apr 2015 11:13:37 -0400 Original-Received: by wgsk9 with SMTP id k9so42517731wgs.3; Sat, 11 Apr 2015 08:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=VzUkCsh+ZRp73ZuMGD61IP2HDh5EpVGbPuOnRc5/5mM=; b=P3y/ResNngpbXKHDvsnO+m2FJrTr2vPqrrRwoxnQuYPqqKoH1Wou/cbJ5t9yFNaHOB Kdu85PVnkFIA3UTmqiLd7fbT/gGYeylg+JkmPEgMeE7AG/8tZrwtL2tQxoDWlRcsenvU AGZMFCZOcXxWxj7r34EIaBbuQWJu2g5tLmzk/oTBXAXOa3yDUCkEhS+B6FFtSjV/Rexe O0xVlxOO1KlggSV+yNf8MJBV0fWvygY1ucQmEZd1gDcGXiIRE4d9W+vrC32HPw0zcWMa I01fw+0dcz8uUItcKKh9x3LbgwQBBLsMQycuX9of1lSOTAAfIr2w6pGMSx7AzZJNlxOz I7wg== X-Received: by 10.180.104.66 with SMTP id gc2mr6555251wib.34.1428765216213; Sat, 11 Apr 2015 08:13:36 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id dm6sm3139977wib.22.2015.04.11.08.13.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Apr 2015 08:13:35 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 In-Reply-To: <834momg2lq.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22f 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:185292 Archived-At: On 04/11/2015 05:29 PM, Eli Zaretskii wrote: >> There's no guarantee that there is an Emacs executable in PATH, nor that >> src/emacs is compiled and working. > > On Emacs developer's machine? Blasphemy! I do have older Emacs versions built, but they're not installed globally. > (We only need _some_ Emacs, not the latest one.) The one that would be in PATH is the master build, but if it breaks, I'd still like to be able to commit... I think. Overall, I think porting the whole commit-msg script from awk (scary!) to Elisp would be nice, but it will create this new complication. At the very least, it will involve a new configuration step, to somehow tell Git which Emacs build to use.