From: David Maus <dmaus@ictsoc.de>
To: Markus Heller <hellerm2@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Help: Agenda not working anymore
Date: Fri, 16 Jul 2010 19:26:25 +0200 [thread overview]
Message-ID: <87hbjzmj7i.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <i1fn6v$66b$1@dough.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 912 bytes --]
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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2010-07-16 17:27 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 [this message]
2010-07-16 18:03 ` Markus Heller
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=87hbjzmj7i.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
--cc=hellerm2@gmail.com \
/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).