emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extending org-batch-agenda-csv to include location property


From: JG
Subject: Extending org-batch-agenda-csv to include location property
Date: Sun, 19 Sep 2021 11:50:09 -0700
User-agent: mu4e 1.7.0; emacs 28.0.50

Hi, I've been researching a way to extend the org-batch-agenda-csv
command to include a location property from the properties drawer. From
what I see in the source code, the fields it creates are all hard-coded:

https://github.com/tkf/org-mode/blob/master/lisp/org-agenda.el#L2984-L2985

and I don't see a straight-forward way to include things that are in the
properties drawer, namely the location property.

In doing some broader research, I came across the org-agenda-property
package which extracts information in the property drawer, by default
including the location property, and appends it to the full view of the
agenda. It appears this extraction occurs in the package in these lines:

https://github.com/Malabarba/org-agenda-property/blob/master/org-agenda-property.el#L165-L170

If someone could point me in the right direction about extending the
org-batch-agenda-csv function to include the location property from the
property drawer, perhaps by somehow incorporating the procedure in the
org-agenda-property package, I would appreciate it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]