Hi This would be very useful for my workflow, actually I have ("mu" "Stat+Num: English" table-line (file+headline "/somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date " :prepend t) So a %:ccname %:ccaddress would be very very useful Any idea how to achieve that? Thanks Uwe Brauer
[-- Attachment #1: Type: text/plain, Size: 378 bytes --] Hi actually I have ("mu" "Stat+Num: English" table-line (file+headline "/somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date " :prepend t) For my workflow, it would be very useful to have a %:ccname %:ccaddress Any idea how to achieve that? Thanks Uwe Brauer [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
Uwe Brauer writes:
> Hi
>
> This would be very useful for my workflow, actually I have
>
> ("mu" "Stat+Num: English"
> table-line (file+headline "/somefile.org" "Exercise Group-E")
> "| %:fromname|%:fromaddress|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date " :prepend t)
>
> So a %:ccname %:ccaddress would be very very useful
>
> Any idea how to achieve that?
At the minimum, it looks like you'd have to adjust two places:
* org-gnus-store-link to extract the cc field and call
org-link-store-props with it
* org-link-store-props to process it
[-- Attachment #1: Type: text/plain, Size: 1067 bytes --] >>> "KM" == Kyle Meyer <kyle@kyleam.com> writes: > Uwe Brauer writes: >> Hi >> >> This would be very useful for my workflow, actually I have >> >> ("mu" "Stat+Num: English" >> table-line (file+headline "/somefile.org" "Exercise Group-E") >> "| %:fromname|%:fromaddress|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date " :prepend t) >> >> So a %:ccname %:ccaddress would be very very useful >> >> Any idea how to achieve that? > At the minimum, it looks like you'd have to adjust two places: > * org-gnus-store-link to extract the cc field and call > org-link-store-props with it > * org-link-store-props to process it Thanks, I found a simpler solution (defun my-extract-cc () (interactive) (gnus-fetch-original-field "cc")) ("mu" "Stat+Num:Exercises English" table-line (file+headline "~/somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress | %(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date | " :prepend t) No ideal but will do for the moment. [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]