girzel / gnorb

Glue code between the Org, Gnus, and BBDB packages for Emacs.
32 stars 4 forks source link

gnorb-org-handle-mail and first paragraph #7

Closed brabalan closed 10 years ago

brabalan commented 10 years ago

If I've understood correctly the setting for gnorb-org-handle-mail, it should look at the first paragraph of text when called with no prefix. I just tried it with the following todo, and it did not follow the link.

***** NEXT Faire le retour de mission                     :@work:
      SCHEDULED: <2014-07-30 Wed>
      :PROPERTIES:
      :ID:       485B6A3D-3EB1-4ACC-B6F9-41BA98B67018
      :END:
      [2014-07-18 Fri 14:17]

[[gnus:archive#53C63A0D.1020303@lri.fr][Email from martine: Re: Demande de mission (Wed, 16 Jul 2014 10:38:37 +0200)]]

Am I reading the setting correctly?

girzel commented 10 years ago

That inactive datestamp almost certainly counts as the first "paragraph" (paragraphs start as soon as the drawers end). Try changing the value of `gnorb-org-mail-scan-strategies' to the following, and see if that does it.

'(((:type state :scope first-link) 2) (nil text) offer)

brabalan commented 10 years ago

Thanks, that worked. I guess I misunderstood the meaning of paragraph.