Re: [O] M-x cfw:open-org-calendar not working

2016-04-27 Thread Paul James Harper
Adam

Thanks. I got it working. But I'll note that method for troubleshooting
in future.

Regards,

Paul
On 2016-04-28 01:16:55, Adam Porter wrote:
> I would try opening the el files and eval-buffer in each one, then see
> if the commands are available.




Re: [O] M-x cfw:open-org-calendar not working

2016-04-27 Thread Adam Porter
I would try opening the el files and eval-buffer in each one, then see
if the commands are available.




Re: [O] M-x cfw:open-org-calendar not working - Solved

2016-04-27 Thread Paul Harper
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 '(("myem...@gmail.com" .
"~/Dropbox/org/calendars/schedule.org")
  ))

#+END_SRC

I hope it helps somebody out.

On 27 April 2016 at 06:41, Paul Harper  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  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