From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vijay Lakshminarayanan Newsgroups: gmane.emacs.help Subject: Re: Having vc mode recognize file under git version control Date: Wed, 10 Aug 2011 22:23:14 +0530 Message-ID: <87vcu5ky2t.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1312997569 2400 80.91.229.12 (10 Aug 2011 17:32:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2011 17:32:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Laird Nelson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 10 19:32:45 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QrCe5-0005rL-8D for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Aug 2011 19:32:45 +0200 Original-Received: from localhost ([::1]:48813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrC2B-0002Dq-8o for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Aug 2011 12:53:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrC22-0001uM-RE for help-gnu-emacs@gnu.org; Wed, 10 Aug 2011 12:53:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrC1y-0004nM-A0 for help-gnu-emacs@gnu.org; Wed, 10 Aug 2011 12:53:26 -0400 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]:59752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrC1y-0004n8-3X for help-gnu-emacs@gnu.org; Wed, 10 Aug 2011 12:53:22 -0400 Original-Received: by pzk36 with SMTP id 36so2522221pzk.17 for ; Wed, 10 Aug 2011 09:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=wiwb1afFC+yiTGY74DlXbliQU7T9pFg3HpYog/7Mv68=; b=LQ6yc+3b2zg2qsI9eOIbFOx6pTXh9yXSUXcZNIWwSS0ILKHRhFux4djtvtmVmLdVBW dauMJxwcL+IRjxElHPzfosihOTz5LuSU6GzXIMsi3uBtG6zF3Wgd1kTbKvOYMSvlvcyM BzG/8jKC50p41cjMiUQc2Ie+Ex8h9Q/bCr1LU= Original-Received: by 10.143.20.12 with SMTP id x12mr3960787wfi.105.1312995200301; Wed, 10 Aug 2011 09:53:20 -0700 (PDT) Original-Received: from BALROG ([59.92.44.63]) by mx.google.com with ESMTPS id s3sm980133pbg.29.2011.08.10.09.53.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 09:53:19 -0700 (PDT) In-Reply-To: (Laird Nelson's message of "Tue, 9 Aug 2011 19:59:01 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.44 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81925 Archived-At: Laird Nelson writes: Hi Laird > I have a git repository that I created with git init.=A0 (Warning: I am > a git newbie.) > > I have committed several files in this directory. > > When I open them in Emacs and attempt to use the keystrokes that I am > used to with vc-mode with Subversion, Emacs tells me that effectively > these files are not under version control. > > "Git" is listed as one of the vc-handled-backends. > > How do I hypnotize emacs into realizing that yes, in fact these files > *are* under version control, namely git? > > Emacs version: GNU Emacs 23.3.1 (x86_64-apple-darwin, NS > apple-appkit-1038.35) of 2011-03-09 on black.porkrind.org > > Git version: > > $ git version > git version 1.7.5.1 > > Would git's being absent from Emacs' path be responsible for this?=A0 > I'm on Mac OSX Snow Leopard. Yes, that is the reason Emacs isn't picking up git and enabling vc on the page. > Best, > Laird > > --=20 Cheers ~vijay Gnus should be more complicated.