From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: Help: Agenda not working anymore Date: Fri, 16 Jul 2010 11:03:58 -0700 Message-ID: <0vfwzje229.fsf@gmail.com> References: <87hbjzmj7i.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=52459 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZpGc-0007Ur-JS for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 14:04:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZpGa-0005xm-RO for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 14:04:10 -0400 Received: from lo.gmane.org ([80.91.229.12]:50521) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZpGa-0005xa-M6 for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 14:04:08 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZpGZ-0005Vp-1i for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 20:04:07 +0200 Received: from 142.103.191.98 ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jul 2010 20:04:06 +0200 Received: from hellerm2 by 142.103.191.98 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jul 2010 20:04:06 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org David Maus writes: > Markus Heller wrote: > >>I've finally started to use git for my .org-files, and I'm still very >>new to git. But ever since I initialized the repository, emacs loads >>vc-git, which apparently is bundled with emacs. My suspicion was that >>all those ID locations are in fact related to vc-git, and upon disabling >>vc-git by putting > >>(setq vc-handled-backends nil) > > In case you are going to need vc you can use this hack to disable vc > for Org mode agenda files: > > (add-hook 'find-file-hook 'dmj/disable-vc-for-agenda-files-hook) > (defun dmj/disable-vc-for-agenda-files-hook () > "Disable vc-mode for Org agenda files." > (if (and (fboundp 'org-agenda-file-p) > (org-agenda-file-p (buffer-file-name))) > (remove-hook 'find-file-hook 'vc-find-file-hook) > (add-hook 'find-file-hook 'vc-find-file-hook))) Thanks David, for now, I don't need vc, but I'll keep your hack in mind. Cheers Markus > HTH, > -- David > > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... dmaus@ictsoc.de > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode