From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Laird Nelson Newsgroups: gmane.emacs.help Subject: Re: Having vc mode recognize file under git version control Date: Wed, 10 Aug 2011 13:05:25 -0400 Message-ID: References: <87vcu5ky2t.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001517473438b4012604aa29af7a X-Trace: dough.gmane.org 1312995944 24441 80.91.229.12 (10 Aug 2011 17:05:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2011 17:05:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 10 19:05:37 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 1QrCDn-00009c-9v for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Aug 2011 19:05:35 +0200 Original-Received: from localhost ([::1]:59782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrCDl-0006fS-H5 for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Aug 2011 13:05:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrCDg-0006ep-Bp for help-gnu-emacs@gnu.org; Wed, 10 Aug 2011 13:05:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrCDf-0007OZ-5W for help-gnu-emacs@gnu.org; Wed, 10 Aug 2011 13:05:28 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:44529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrCDe-0007OS-Ae for help-gnu-emacs@gnu.org; Wed, 10 Aug 2011 13:05:26 -0400 Original-Received: by fxg9 with SMTP id 9so1315463fxg.0 for ; Wed, 10 Aug 2011 10:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cFI+5cIorjWTBlKC0H4nnU/dX+BgSPzc6SAxadQAdOs=; b=djiKlhpGGrHdJM66oKbOJ8gZir/1VRvxKNFWAJGwGVb6fbR7ZKsrGR3571JBJBvEzc 1Dj+ldR5gJ5YNSg6SXCsLP6r18Uwd6k7ji9ZQpKRq1sI4+WlKAnkAaY/iFMZbQXFauoC H3aXbjCsm7shSQPhhgYPMX2nNtjXE/ofNdyeA= Original-Received: by 10.223.54.206 with SMTP id r14mr6642705fag.13.1312995925032; Wed, 10 Aug 2011 10:05:25 -0700 (PDT) Original-Received: by 10.223.83.143 with HTTP; Wed, 10 Aug 2011 10:05:25 -0700 (PDT) In-Reply-To: <87vcu5ky2t.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 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:81924 Archived-At: --001517473438b4012604aa29af7a Content-Type: text/plain; charset=UTF-8 On Wed, Aug 10, 2011 at 12:53 PM, Vijay Lakshminarayanan wrote: > > Would git's being absent from Emacs' path be responsible for this? > Yes, that is the reason Emacs isn't picking up git and enabling vc on > the page. > Thanks; I figured it would only be looking for a .git directory or something similar, not making a determination of whether something is under version control based solely on the path. Don't get me wrong; I'm sure there is a good reason. It would have helped to see a message in the status bar. Thanks again for your help. Best, Laird --001517473438b4012604aa29af7a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Aug 10, 2011 at 12:53 PM, Vijay Lakshminarayanan = <laksvij@gmail.com> w= rote:
> Would git's being absent from Emacs' path be responsible for t= his?=C2=A0
Yes, that is the reason Emacs isn't picking up git and en= abling vc on
the page.

Thanks; I figured it would only be looki= ng for a .git directory or something similar, not making a determination of= whether something is under version control based solely on the path.=C2=A0= Don't get me wrong; I'm sure there is a good reason.=C2=A0 It woul= d have helped to see a message in the status bar.=C2=A0 Thanks again for yo= ur help.

Best,
Laird
--001517473438b4012604aa29af7a--