emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Help: Agenda not working anymore


From: Markus Heller
Subject: [Orgmode] Re: Help: Agenda not working anymore
Date: Fri, 16 Jul 2010 11:03:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt)

David Maus <address@hidden> 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.... address@hidden
> Email..... address@hidden
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]