girzel / gnorb

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

`gnorb-gnus-outgoing-do-todo` does not save a link to the outgoing message #3

Closed brabalan closed 10 years ago

brabalan commented 10 years ago

When I use gnorb-gnus-outgoing-do-todo, it correctly creates the todo with the message id in the properties, however it does not create a link to the message itself.

More precisely, my capture setup for this is

("w" "Wait for reply" entry (file "refile-orgx.org")
           "* WAITING reply from %:to about %:subject\n%?Sent on %:date-timestamp-inactive, link: %a")

and when the task is created, neither the "Sent on" nor the "link" data is populated (the recipient and the subject are populated, though).

girzel commented 10 years ago

Are you using Gnus itself to archive your messages? Ie, is gnus-message-archive-group set to something, and do your emails have a Gcc/Fcc header? A hard limitation here is that Org can only make a link to the outgoing message if Gnus is archiving it directly. If you're using imap and Gmail, for instance, you just send the message, and next time you sync it "comes back to you" in your Sent Mail folder. In that case, it's not really possible to make a real link to the message, because it's impossible to know where it will appear.

In those cases, Gnorb helps fake it by saving values for %:to, %:subject, %:toname %:toaddress and %:date. But that's all you've got to work with. It shoudn't matter too much, since the message id is tracked and you'll still get notified on a response.

Anyhow, it sounds like you're not using Gnus for archiving -- is that correct?

brabalan commented 10 years ago

I have set up Gnus to archive my message:

(setq gnus-message-archive-group "nnimap+zimbra:Sent")

and my emails have a Gcc header to that group. Every sent email is immediately and locally added to that group.

girzel commented 10 years ago

That'll be a bug! I'll set myself up a test server with archiving, and get back to you. Thanks!

On 06/25/14 23:22 PM, Alan Schmitt wrote:

I have set up Gnus to archive my message:

(setq gnus-message-archive-group "nnimap+zimbra:Sent")

and my emails have a Gcc header to that group. Every sent email is immediately and locally added to that group.

Reply to this email directly or view it on GitHub.*

girzel commented 10 years ago

Give it a pull and see if that works better.

brabalan commented 10 years ago

I now get the link, but I have another error as msg-id is void (the commit removed the place where it was bound, I left a comment in the commit code).

girzel commented 10 years ago

Whoops, dunno why I didn't hit that. Should be working again, thanks

On 06/26/14 23:25 PM, Alan Schmitt wrote:

I now get the link, but I have another error as msg-id is void (the commit removed the place where it was bound, I left a comment in the commit code).

Reply to this email directly or view it on GitHub.*

brabalan commented 10 years ago

It's working great now, thanks.