From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Load Custom Agenda at emacs launch Date: Thu, 16 Aug 2012 18:45:12 -0400 Message-ID: <17211.1345157112@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T28oX-0003km-Np for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 18:45:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T28oV-0001GN-7y for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 18:45:17 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:39564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T28oV-0001GB-3L for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 18:45:15 -0400 In-Reply-To: Message from Ken Mankoff of "Thu, 16 Aug 2012 14:59:51 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Mankoff Cc: emacs-orgmode@gnu.org Ken Mankoff wrote: > Hi, > > I find the first thing I do after launching emacs is to load my custom > agenda, bound to C-c a c. > > Is there a way I can launch this from the command-line? I know I can > run 'emacs -eval "(foo)"', but I haven't been able to determine the > function that loads my custom agenda. Does such a function exist, or > is there a way to specific the keystrokes from the command line? > Untested: emacs --eval '(org-agenda nil "c" nil)' or add (org-agenda nil "c" nil) at the bottom of your .emacs file. Nick