emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Help: Agenda not working anymore
Date: Fri, 16 Jul 2010 11:03:58 -0700	[thread overview]
Message-ID: <0vfwzje229.fsf@gmail.com> (raw)
In-Reply-To: 87hbjzmj7i.wl%dmaus@ictsoc.de

David Maus <dmaus@ictsoc.de> 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

  reply	other threads:[~2010-07-16 18:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 16:29 Help: Agenda not working anymore Markus Heller
2010-07-12 17:05 ` Markus Heller
2010-07-12 18:18   ` Markus Heller
2010-07-12 18:34     ` Markus Heller
2010-07-16 17:26       ` David Maus
2010-07-16 18:03         ` Markus Heller [this message]
2010-07-12 17:13 ` Erik Iverson
2010-07-12 17:16   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0vfwzje229.fsf@gmail.com \
    --to=hellerm2@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).