From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: OS X (configure --with-ns) typing unresponsive with Org and Viper Date: Sat, 14 May 2016 10:26:36 -0700 Organization: UCLA Computer Science Department Message-ID: <57375FCC.10907@cs.ucla.edu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010408090806090108030001" X-Trace: ger.gmane.org 1463246848 9012 80.91.229.3 (14 May 2016 17:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 May 2016 17:27:28 +0000 (UTC) To: Michael Brand , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 14 19:27:13 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 1b1dLB-0003Vf-SE for ged-emacs-devel@m.gmane.org; Sat, 14 May 2016 19:27:02 +0200 Original-Received: from localhost ([::1]:38293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1dLB-00034n-50 for ged-emacs-devel@m.gmane.org; Sat, 14 May 2016 13:27:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1dKx-00031C-EA for emacs-devel@gnu.org; Sat, 14 May 2016 13:26:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1dKt-0000oR-3X for emacs-devel@gnu.org; Sat, 14 May 2016 13:26:46 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1dKs-0000oN-T2 for emacs-devel@gnu.org; Sat, 14 May 2016 13:26:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 93BE61612A3; Sat, 14 May 2016 10:26:41 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Hd_j9tcfaBju; Sat, 14 May 2016 10:26:40 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 665061612A4; Sat, 14 May 2016 10:26:40 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wRgKakAbUd9L; Sat, 14 May 2016 10:26:40 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 454EB1612A3; Sat, 14 May 2016 10:26:40 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203842 Archived-At: This is a multi-part message in MIME format. --------------010408090806090108030001 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Michael Brand wrote: > In autogen.sh "git rev-parse --git-common-dir 2>/dev/null" > =3D> "--git-common-dir" which looks wrong. My git version is 2.4.9 > (Apple Git-60). >=20 > What am I doing wrong? Nothing, Apple is just mired in the past. Git 2.4 was released when, 2015= ? I installed the attached patch into Emacs to try to cater better to Git lag= gards. Please give the patch a try. (This is Emacs. We *love* old software! :-) --------------010408090806090108030001 Content-Type: text/x-diff; name="0001-Port-autogen.sh-to-Git-2.4.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-Port-autogen.sh-to-Git-2.4.patch" =46rom 9105be11e61ea355e1168ac911c13fe7553de04d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 14 May 2016 10:24:22 -0700 Subject: [PATCH] Port autogen.sh to Git 2.4 Problem reported by Michael Brand in: http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00367.html * autogen.sh (git_config): Don't assume that git rev-parse groks --git-common-dir. --- autogen.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 3809942..b1bd86b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -277,8 +277,10 @@ git_config () # Get location of Git's common configuration directory. For older Git # versions this is just '.git'. Newer Git versions support worktrees. =20 -test -e .git && git_common_dir=3D`git rev-parse --git-common-dir 2>/dev/= null` || - git_common_dir=3D.git +{ test -e .git && + git_common_dir=3D`git rev-parse --no-flags --git-common-dir 2>/dev/nul= l` && + test -n "$git_common_dir" +} || git_common_dir=3D.git hooks=3D$git_common_dir/hooks =20 # Check hashes when transferring objects among repositories. --=20 2.7.4 --------------010408090806090108030001--