emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture gnus also extract from the cc field.
@ 2021-03-12 17:49 Uwe Brauer
  2021-03-13  3:44 ` Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2021-03-12 17:49 UTC (permalink / raw)
  To: emacs-orgmode



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 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* org-capture gnus also extract from the cc field.
@ 2021-03-12 19:03 Uwe Brauer
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2021-03-12 19:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture gnus also extract from the cc field.
  2021-03-12 17:49 org-capture gnus also extract from the cc field Uwe Brauer
@ 2021-03-13  3:44 ` Kyle Meyer
  2021-03-13  7:15   ` Uwe Brauer
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2021-03-13  3:44 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture gnus also extract from the cc field.
  2021-03-13  3:44 ` Kyle Meyer
@ 2021-03-13  7:15   ` Uwe Brauer
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2021-03-13  7:15 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-13  7:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 17:49 org-capture gnus also extract from the cc field Uwe Brauer
2021-03-13  3:44 ` Kyle Meyer
2021-03-13  7:15   ` Uwe Brauer
  -- strict thread matches above, loose matches on Subject: below --
2021-03-12 19:03 Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).