From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Harper Subject: Re: M-x cfw:open-org-calendar not working - Solved Date: Wed, 27 Apr 2016 22:43:45 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140027adcacbe05317ca1c2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avVNX-0003HF-JV for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 15:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avVNW-00041l-57 for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 15:44:07 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:36349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avVNV-00041W-Oq for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 15:44:06 -0400 Received: by mail-lf0-x235.google.com with SMTP id u64so61628717lff.3 for ; Wed, 27 Apr 2016 12:44:05 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --001a1140027adcacbe05317ca1c2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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 > --=20 Regards, Paul about.me/pauljamesharper GnuPG Fingerprint: B3C2 6A80 BB3E 8D4D 126E 4FBE 5F62 4195 17D3 CB75 =E2=80=9CWisdom consists in being able to distinguish among dangers and mak= e a choice of the least harmful.=E2=80=9D =E2=80=94 Niccolo Machiavelli, The Pr= ince =E2=80=9CThe user=E2=80=99s going to pick dancing pigs over security every = time.=E2=80=9D =E2=80=94 Bruce Schneier --001a1140027adcacbe05317ca1c2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Can't remember where I got = this from. But this config got Calfw and Org-gcal working with Gmail.
=

#+BEGIN_SRC emacs-lisp
(re= quire 'calfw-cal)
(require 'calfw-i= cal)
(require 'calfw-howm)
(require 'calfw-org)

(defun my-open-calendar ()
=C2=A0 (interactive)
=C2=A0 (cfw:open-calendar-buffer
=C2=A0 = =C2=A0:contents-sources
=C2=A0 =C2=A0(list<= /div>
=C2=A0 =C2=A0 (cfw:org-create-source "= Green") =C2=A0; orgmode source
=C2=A0 = =C2=A0))) =C2=A0

;; Org-Gcal
(require 'org-gc= al)
(setq org-gcal-client-id "mysecretclientid.googleu= sercontent.com"
=C2=A0 =C2=A0 =C2= =A0 org-gcal-client-secret "myreallysecret"
=C2=A0 =C2=A0 =C2=A0 org-gcal-file-alist '(("myemail@gmail.com" . =C2=A0
"~/Dropbox/org/calendars/schedule.org")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 ))
=C2=A0
#+END_SRC

I hope it helps somebody out.=C2=A0

On 27 April 2016 at 06:41, Paul Harper = <harper.pau= l.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=C2=A0 the package manager. But w= hen I
M-x cfw:open-org-calendar it does not find the command. Mx cf <tab> o= nly
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-201603= 02.1858")
(require 'calfw)
(require 'calfw-org)

Regards


Paul
--
Sent with my mu4e



--
Regards,

=

Paul

about.me/pauljamesharper
GnuPG Fingerprint: B3C2 6A80 BB3E 8D4D 126E=C2=A0 4FBE 5F62 419= 5 17D3 CB75


=E2=80=9CWisdom consists in being a= ble to distinguish among dangers and make a choice of the least harmful.=E2= =80=9D =E2=80=94 Niccolo Machiavelli, The Prince

=E2=80=9CThe user= =E2=80=99s going to pick dancing pigs over security every time.=E2=80=9D = =E2=80=94 Bruce Schneier


--001a1140027adcacbe05317ca1c2--