From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Bennee Newsgroups: gmane.emacs.help Subject: Re: vc-git slows Emacs down quite a bit, trying to find a way to remove hooks Date: Tue, 27 Mar 2012 11:25:46 +0100 Message-ID: References: <87aa32re6i.fsf@Gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1332843968 4397 80.91.229.3 (27 Mar 2012 10:26:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2012 10:26:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: XeCycle Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 27 12:26:08 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1SCTbL-0004hm-WE for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Mar 2012 12:26:08 +0200 Original-Received: from localhost ([::1]:42029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCTbL-0000fg-0o for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Mar 2012 06:26:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCTbA-0000dd-Ui for help-gnu-emacs@gnu.org; Tue, 27 Mar 2012 06:26:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCTb3-0007Ui-L0 for help-gnu-emacs@gnu.org; Tue, 27 Mar 2012 06:25:56 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:47621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCTb3-0007UO-HA for help-gnu-emacs@gnu.org; Tue, 27 Mar 2012 06:25:49 -0400 Original-Received: by vcbfk14 with SMTP id fk14so6293194vcb.0 for ; Tue, 27 Mar 2012 03:25:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=5xKX0VPuEBEzm7q94gip3s0869TNyNf6zknfZ9FJ6OI=; b=cHr1/gVjW/Z0+4ONPYTMfHRswXjlynjI+nUyKk+wmAus/4xaGJ6wCTEb+jmQ14z2nV GB806cB4P5KD3EBAt8UYYQPeimgN1huAKT+7w09p44j9kMA1XebHgE9t8wKohQWB3Q0A jYfHdTcUGJHD0/hVot6P5m4xnxXCUDbMntCL/bq5ZoFpcXmFaLXUnKAN5HcIN6CvSZhf ouYVWMGK/k0hvJUCcKpP1eo1hk7zcEmr3pC4JlBWNT4/O+wHuOVdGWBcxboMsclyV8DG V0VQGuWRaMekHC/cjxMOklMQEz/Uks6sfGlhgcPYx2JZz+aqUnGaQ2usDdqDmyOqviOl XFHg== Original-Received: by 10.220.152.205 with SMTP id h13mr7330817vcw.12.1332843946397; Tue, 27 Mar 2012 03:25:46 -0700 (PDT) Original-Received: by 10.220.5.135 with HTTP; Tue, 27 Mar 2012 03:25:46 -0700 (PDT) In-Reply-To: <87aa32re6i.fsf@Gmail.com> X-Google-Sender-Auth: T0jUX2hlGT1IgoOojMUf9EdHW30 X-Gm-Message-State: ALoCoQldDcRH9S/iDAxpYoP/9reNdRibnvVEpzz3+J/CH5IqWeaf4M+HRxXbg1D92Szl9IJRFLzb X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 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:84110 Archived-At: On 27 March 2012 03:05, XeCycle wrote: > Wei Liu writes: > >> Hi all > > Hello. > >> I find that vc-git takes quite a lot of time to load, both in Emacs 23 >> and Emacs snapshot. On my dev machine it takes up to 21 seconds. :-( >> >> I don't want to disable vc-mode entirely, I just want to make sure >> that vc-git doesn' t get loaded when I don't need it. > > See variable vc-handled-backends. I'm using : (setq vc-handled-backends (remq 'Git vc-handled-backends)) But something keeps re-adding it and I can't find out what... -- Alex, homepage: http://www.bennee.com/~alex/ http://www.half-llama.co.uk