[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Store link upon sending a message
From: |
Eric S Fraga |
Subject: |
Re: [Orgmode] Re: Store link upon sending a message |
Date: |
Fri, 12 Nov 2010 16:03:22 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Ulf Stegemann <address@hidden> 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
> `ulf-message-send-and-org-gnus-store-link' with something like
> `gnus-inews-do-gcc-orig' and save it as e.g.
> `my-gnus-gcc-and-org-store-link'. Then you could do something like
>
> (fset 'gnus-inews-do-gcc-orig (symbol-function 'gnus-inews-do-gcc))
> (fset 'gnus-inews-do-gcc 'my-gnus-gcc-and-org-store-link)
>
> ... but that's all untested ;)
two very good suggestions. Thanks! I'll try to play with these over
the weekend if I get a chance.
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.42.g0fd5ec)