Org-mode: Output Weekly agenda using -batch and -eval | بلاگ

Org-mode: Output Weekly agenda using -batch and -eval

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

Vote count: 0

I am trying to display my org agenda on the background of my desktop even when Emacs is closed or minimized. I have made some progress using this command:

emacs -batch -l ~/.emacs -eval '(org-batch-agenda "t")' 2> /dev/null

It outputs:

  Global list of TODO items of type: ALL
Available with `N r': (0)[ALL]
  remind:     TODO Garbage
  remind:     TODO Garbage and Recycling
  remind:     TODO Refill Prescription
  remind:     TODO Vitamins
  remind:     TODO Water Indoor Plants
  remind:     TODO Wake up!
  remind:     TODO Go to Sleep!

My .emacs contains the following relevant lines:

;; org-agenda
(global-set-key "C-cl" 'org-store-link)
(global-set-key "C-ca" 'org-agenda)
(global-set-key "C-cc" 'org-capture)
(global-set-key "C-cb" 'org-iswitchb) 

(setq org-agenda-files (list "~/Code/remind.org"
                             "~/Code/todo.org"
                         ))
;; show org-agenda each time Emacs is opened
(add-hook 'after-init-hook 'org-agenda-list)

My question is this. How do I customize this output to not display the following?

  Global list of TODO items of type: ALL
Available with `N r': (0)[ALL]
asked 58 secs ago
BasicObject

...
نویسنده : استخدام کار بازدید : 7 تاريخ : سه شنبه 24 بهمن 1396 ساعت: 10:43