Ken Mankoff <mank...@gmail.com> 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