emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: M-x cfw:open-org-calendar not working - Solved
@ 2016-04-27 19:43 Paul Harper
  0 siblings, 0 replies; only message in thread
From: Paul Harper @ 2016-04-27 19:43 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-27 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27 19:43 M-x cfw:open-org-calendar not working - Solved Paul Harper

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).