From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Claus Newsgroups: gmane.emacs.devel Subject: Re: vc-git bug with top-level repositories Date: Fri, 29 Aug 2008 22:12:18 +0200 Message-ID: References: <1219912261.8925.63.camel@ubuntu804desktop.localdomain> <1219951148.9130.32.camel@surlej> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220040840 21908 80.91.229.12 (29 Aug 2008 20:14:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 20:14:00 +0000 (UTC) Cc: Emacs Devel To: mathias@mnet-mail.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 22:14:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZAMs-0007yV-Fi for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 22:14:50 +0200 Original-Received: from localhost ([127.0.0.1]:46133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZALt-0007Hw-Ht for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 16:13:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZAKV-0006rd-Ef for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:12:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZAKS-0006pl-Ep for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:12:22 -0400 Original-Received: from [199.232.76.173] (port=36594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZAKS-0006pi-AP for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:12:20 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.168]:44951) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZAKS-0004bJ-31 for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:12:20 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so1249211wfc.24 for ; Fri, 29 Aug 2008 13:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MJPcM62xjK9hM/Br40tQ1kU24Fu6dTaV53perAfaLIU=; b=h8KylazmMrhpmfuMcU8t+ptZoMlbNhfL76uorbnp/Jgq1ke2594/AkHjMKyxTus4OH pBvgrJ6Uws1uc7ZRykzMQ1YO4n0HqeIAH64Nl7yM+JkDSFU9QbicCQEgr+yUavSzSDUp dHq+v/lYcjMlWjj+wH+kE6EXfrGaundRsOpUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VYX4RFACTaWnEW56KBFh98sO+AkQv0smdptIS1SgIsgic/LzYL5K99G6TMim623Aci DBRR/QMPVB2kMOkGdmLO5hCezSl2SFKuD7TjSKQhK+eNjoSqvfxJ6ScGmupXXK7cQT5E iGu2tmGWUPU457XbcuqBrk6x9UpISPjyTSeuM= Original-Received: by 10.143.41.5 with SMTP id t5mr1102593wfj.216.1220040738256; Fri, 29 Aug 2008 13:12:18 -0700 (PDT) Original-Received: by 10.142.186.17 with HTTP; Fri, 29 Aug 2008 13:12:18 -0700 (PDT) In-Reply-To: <1219951148.9130.32.camel@surlej> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103202 Archived-At: Hi Mathias, On Thu, Aug 28, 2008 at 9:19 PM, Mathias Megyei wrote: >[...] > Couldn't we tell Emacs by setting a variable which VCS we are using? > Because we don't plan to use any other VCS than Git I could add the > necessary code to the company wide site-start.el file. > I could even set a variable with the path to the Git repository. > You can at least limit the backends Emacs is looking for by setting "vc-handled-backends". I did this in my .emacs as soon as I learned that Emacs otherwise scans for 6(?) possible backends each time you open a file! (setq vc-handled-backends '(SVN Git)) ...since I have GIT and Subversion installed on my machine. HTH, Claus