emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Harper <harper.paul.j@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: M-x cfw:open-org-calendar not working - Solved
Date: Wed, 27 Apr 2016 22:43:45 +0300	[thread overview]
Message-ID: <CAG1manzGNiFAT9yRapkiaH6EoG0MmstSEt5WS9obPw2xE+-vRw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1812 bytes --]

Can't remember where I got this from. But this config got Calfw and
Org-gcal working with Gmail.

#+BEGIN_SRC emacs-lisp
(require 'calfw-cal)
(require 'calfw-ical)
(require 'calfw-howm)
(require 'calfw-org)

(defun my-open-calendar ()
  (interactive)
  (cfw:open-calendar-buffer
   :contents-sources
   (list
    (cfw:org-create-source "Green")  ; orgmode source
   )))

;; Org-Gcal
(require 'org-gcal)
(setq org-gcal-client-id "mysecretclientid.googleusercontent.com"
      org-gcal-client-secret "myreallysecret"
      org-gcal-file-alist '(("myemail@gmail.com" .
"~/Dropbox/org/calendars/schedule.org")
                          ))

#+END_SRC

I hope it helps somebody out.

On 27 April 2016 at 06:41, Paul Harper <harper.paul.j@gmail.com> wrote:

>
> I am following this article "Taming Google Calendar With Org-Mode" to
> try to get sync going with my Google
> Calendar. http://jameswilliams.be/blog/2016/01/11/Taming-Your-GCal.html
>
> I've installed Calfw and Org-Gcal with  the package manager. But when I
> M-x cfw:open-org-calendar it does not find the command. Mx cf <tab> only
> finds cfengine.
>
> What is the best way for me to troubleshoot this? My setup is identical
> to the article except for:
>
> (add-to-list 'load-path "/home/username/.emacs.d/elpa/calfw-20160302.1858")
> (require 'calfw)
> (require 'calfw-org)
>
> Regards
>
>
> Paul
> --
> Sent with my mu4e
>



-- 
Regards,


Paul

about.me/pauljamesharper

GnuPG Fingerprint: B3C2 6A80 BB3E 8D4D 126E  4FBE 5F62 4195 17D3 CB75


“Wisdom consists in being able to distinguish among dangers and make a
choice of the least harmful.” — Niccolo Machiavelli, The Prince

“The user’s going to pick dancing pigs over security every time.” — Bruce
Schneier

[-- Attachment #2: Type: text/html, Size: 3839 bytes --]

                 reply	other threads:[~2016-04-27 19:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAG1manzGNiFAT9yRapkiaH6EoG0MmstSEt5WS9obPw2xE+-vRw@mail.gmail.com \
    --to=harper.paul.j@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).