[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Help: Agenda not working anymore
From: |
David Maus |
Subject: |
Re: [Orgmode] Re: Help: Agenda not working anymore |
Date: |
Fri, 16 Jul 2010 19:26:25 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
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)))
HTH,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
pgpaeTDe4QK0o.pgp
Description: PGP signature
Re: [Orgmode] Help: Agenda not working anymore, Erik Iverson, 2010/07/12