From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Generate custom org-agenda Date: Sun, 10 Apr 2016 12:27:08 +0200 Message-ID: <2016-04-10T12-19-40@devnull.Karl-Voit.at> Reply-To: Karl Voit Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apCaN-0006jw-Ir for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 06:27:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apCaK-00010S-Df for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 06:27:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:50583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apCaK-00010E-6W for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 06:27:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1apCaI-0002xD-OV for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 12:27:14 +0200 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2016 12:27:14 +0200 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2016 12:27:14 +0200 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@gnu.org Hi! org-agenda-list generates my default agenda. I can generate it via Elisp via org-agenda-list. What about a different agenda I already defined with org-agenda-custom-commands? Am I able to generate it via Elisp as well? The agenda dispatcher generates my custom agenda of choice via «n». Is it possible to get this «n»-agenda via something like (org-agenda-list "n") or similar? If possible: I don't want to define the org-agenda-custom-commands multiple times: one for the interactive org-agenda-custom-commands and one for the Elisp-call for «n» ... Thanks! Background: I'm trying to come up with a few lines of Elisp to generate a (non-default) agenda, take a screenshot (via imagemagick), and place its result in a specific PNG file. -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github