From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Invalid custom agenda command type timeline Date: Thu, 13 Sep 2012 10:23:40 +0200 Message-ID: <80pq5q49gz.fsf@somewhere.org> References: <80oblbv2bn.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, "Sebastien Vauban" wrote: > I'd like to get the timeline view as an agenda custom command, because I'd > like reports to be automated for a particular Org file (eventually with its > contents exported to HTML, for example). > > Though, such trials fail ("Invalid custom agenda command type timeline"): > > #+begin_src emacs-lisp > (add-to-list 'org-agenda-custom-commands > '("A" > timeline "" > ;; ... specify on which file > )) > #+end_src > > I guess it's because the concept of "current buffer" is not expressable as is? This last sentence is wrong, as `occur-tree' is well a custom agenda command, and works on the current buffer (at call time). So, is there a more fundamental reason why timeline does not exist? Will this ever be changed? Best regards, Seb -- Sebastien Vauban