[Orgmode] Re: Store link upon sending a message

2011-01-05 Thread Ulf Stegemann
Hi Bastien, Bastien bastien.gue...@wikimedia.fr wrote: Ulf Stegemann ulf-n...@zeitform.de writes: (defun ulf-message-send-and-org-gnus-store-link (optional arg) This is something I've been trying to achieve for very long! Great you found a solution. A minor suggestion: the function should

Re: [Orgmode] Re: Store link upon sending a message

2011-01-04 Thread Bastien
Hi Ulf, Ulf Stegemann ulf-n...@zeitform.de writes: (defun ulf-message-send-and-org-gnus-store-link (optional arg) This is something I've been trying to achieve for very long! Great you found a solution. A minor suggestion: the function should make sure the buffer is not killed after the

[Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Ulf Stegemann
I came back to the matter of storing an org link to a copy of a message upon sending that message. The function below does just that and proves to be quite useful together with a sensible key binding (if you use Gnus and Gcc that is). --8--cut

Re: [Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Eric S Fraga
Ulf Stegemann ulf-n...@zeitform.de writes: I came back to the matter of storing an org link to a copy of a message upon sending that message. The function below does just that and proves to be quite useful together with a sensible key binding (if you use Gnus and Gcc that is). Very nice!

[Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Ulf Stegemann
Eric S. Fraga ucec...@ucl.ac.uk wrote: Ulf Stegemann ulf-n...@zeitform.de writes: I came back to the matter of storing an org link to a copy of a message upon sending that message. The function below does just that and proves to be quite useful together with a sensible key binding (if you

Re: [Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Eric S Fraga
Ulf Stegemann ulf-n...@zeitform.de writes: Eric S. Fraga ucec...@ucl.ac.uk wrote: Ulf Stegemann ulf-n...@zeitform.de writes: I came back to the matter of storing an org link to a copy of a message upon sending that message. The function below does just that and proves to be quite useful

[Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Ulf Stegemann
Ulf Stegemann ulf-n...@zeitform.de wrote: Eric S. Fraga ucec...@ucl.ac.uk wrote: Ulf Stegemann ulf-n...@zeitform.de writes: I came back to the matter of storing an org link to a copy of a message upon sending that message. The function below does just that and proves to be quite useful

Re: [Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Eric S Fraga
Ulf Stegemann ulf-n...@zeitform.de writes: [...] If the hook approach does not work you could also advise `gnus-inews-do-gcc', the function that actually creates the message copies ... ... or you could replace `gnus-inews-do-gcc', e.g. replace the call to `message-send-and-exit' in

[Orgmode] Re: Store link upon sending a message

2010-11-12 Thread Ulf Stegemann
Eric S. Fraga ucec...@ucl.ac.uk wrote: Thanks. I realised after sending my earlier message that this is going to be quite complicated. There's no point in storing a link when the message is actually sent (after all, that will be sometime later). I would want to store the link when I send

[Orgmode] Re: Store link upon sending a message

2010-10-01 Thread Łukasz Stelmach
Ulf Stegemann ulf-n...@zeitform.de writes: It often happens to me that I send a message (Gnus) and need to keep a reference of the mail just sent as link in an org file. [...] It would of course be much nicer if the org link could be stored automagically upon sending the message (or more

[Orgmode] Re: Store link upon sending a message

2010-10-01 Thread Ulf Stegemann
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl wrote: Ulf Stegemann ulf-n...@zeitform.de writes: [snipped 15 lines] AFAIR, message-id is used for org links rather than the articla number. ah, right, that's at least what raw gnus-article links look like. I remember vaguely that this was