emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Calendar-like view of the org-agenda


From: SAKURAI Masashi
Subject: Re: [O] Calendar-like view of the org-agenda
Date: Sat, 09 Jul 2011 22:15:00 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

At Wed, 06 Jul 2011 11:23:00 +0100,
Eric S Fraga wrote:
> :
> what I would like, however, is that the detailed view that is accessible
> from hitting the space bar in the cfw view put me into an agenda view
> for that day.  that would then give me full access to org!  this should
> be quite simple: replace the detail view with a simple invocation of the
> default org-agenda view (what you get from C-c a a, say) for that
> particular date?

I will try this idea. It may be easy to implement.

> Footnotes: 
> [1]  I often use Google's calendar for this, having uploaded all my
> org details but I don't expect to use Google to update my org files.

One can display an org schedule and a google calendar one in the same
buffer. Here is a sample code.

==================================================
(require 'calfw-org)
(require 'calfw-ical)

(defun my-open-calendar ()
  (interactive)
  (cfw:open-calendar-buffer
   :view 'month
   :contents-sources
   (list 
    (cfw:org-create-source "Seagreen4") ; color
    (cfw:ical-create-source "ical" 
"https://www.google.com/calendar/ical/../basic.ics"; "#2952a3"))))
    ;; title, URL, color
==================================================

The commands `cfw:open-org-calendar' and `cfw:open-ical-calendar' are
simple API for quick use. Giving schedule source (cfw:source) objects
via the argument `:contents-sources', one can mix some calendar
schedules in one buffer.

I will write the document about calfw customization soon.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]