From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Ulf Stegemann <ulf-news@zeitform.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Store link upon sending a message
Date: Fri, 12 Nov 2010 16:20:15 +0000 [thread overview]
Message-ID: <87zkte4ips.fsf@ucl.ac.uk> (raw)
In-Reply-To: <zf.upntyjmy18m.fsf@zeitform.de> (Ulf Stegemann's message of "Fri, 12 Nov 2010 17:07:21 +0100")
Ulf Stegemann <ulf-news@zeitform.de> writes:
> Eric S. Fraga <ucecesf@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 the message to the delay queue
>> (so that I can do something with the link, of course) so there really
>> need to be two versions of your function.
>>
>> Should be doable. I'll think about it some more.
>
> ah, now I seem to understand. With your scenario I'd probably remove the
> call to `message-send-and-exit' from
> `ulf-message-send-and-org-gnus-store-link' and advise both
> `message-send-and-exit' and `gnus-delay-article' to run the modified
> function before execution. This would leave you with a stored link
> right after a `C-c C-c' and `C-c C-j'. But in case of the latter, the
> org link will be bogus until the message has actually been sent. Could
> that be a way to go for you?
Very much so. Brilliant. It doesn't matter (much) that the link be
bogus until the message is sent; in my usage scenario, it's about audit
trails so I can't imagine needing to follow an org link right away.
I'll try this out.
Thanks,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.42.g0fd5ec)
next prev parent reply other threads:[~2010-11-12 16:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-01 9:11 Store link upon sending a message Ulf Stegemann
2010-10-01 9:58 ` Łukasz Stelmach
2010-10-01 10:56 ` Ulf Stegemann
2010-11-12 13:03 ` Ulf Stegemann
2010-11-12 13:58 ` Eric S Fraga
2010-11-12 14:55 ` Ulf Stegemann
2010-11-12 15:52 ` Eric S Fraga
2010-11-12 16:07 ` Ulf Stegemann
2010-11-12 16:20 ` Eric S Fraga [this message]
2010-11-12 15:54 ` Ulf Stegemann
2010-11-12 16:03 ` Eric S Fraga
2011-01-04 17:51 ` Bastien
2011-01-05 7:24 ` Ulf Stegemann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zkte4ips.fsf@ucl.ac.uk \
--to=ucecesf@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=ulf-news@zeitform.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).