emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Store link upon sending a message
Date: Fri, 01 Oct 2010 11:58:09 +0200	[thread overview]
Message-ID: <87wrq29qvi.fsf@dasa3.iem.pw.edu.pl> (raw)
In-Reply-To: zf.upnk4m2i8gb.fsf@zeitform.de

Ulf Stegemann <ulf-news@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 precisely upon creating
> the copy of the message).

In Gnus, just like in other Emacs applications, there is a lot of hooks
and I am quite sure there is one we could use. I am going to investigate
the problem soon as I also need the feature you descibed.

> As I'm not very familiar with the Gnus code I'll probably have to ask at
> the Gnus towers if it's possible to get hold of the group and article
> number

AFAIR, message-id is used for org links rather than the articla
number.

> of the last Gcc message created.  But maybe someone around here
> has a partly or completely different idea how to achieve the described
> behaviour?

Which simplifies the problem quite a lot because we need to be able to
see the buffer just before sending or copying it to Gcc folder. All the
information is there.

-- 
Miłego dnia,
Łukasz Stelmach

  reply	other threads:[~2010-10-01  9:58 UTC|newest]

Thread overview: 14+ 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 [this message]
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
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
  -- strict thread matches above, loose matches on Subject: below --
2010-10-01  9:01 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=87wrq29qvi.fsf@dasa3.iem.pw.edu.pl \
    --to=lukasz.stelmach@iem.pw.edu.pl \
    --cc=emacs-orgmode@gnu.org \
    /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).