From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz?= Stelmach Subject: Re: Store link upon sending a message Date: Fri, 01 Oct 2010 11:58:09 +0200 Message-ID: <87wrq29qvi.fsf@dasa3.iem.pw.edu.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=45015 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1cNm-0004OC-GP for emacs-orgmode@gnu.org; Fri, 01 Oct 2010 05:58:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1cNk-0004Qt-IL for emacs-orgmode@gnu.org; Fri, 01 Oct 2010 05:58:26 -0400 Received: from lo.gmane.org ([80.91.229.12]:60089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1cNk-0004QU-Co for emacs-orgmode@gnu.org; Fri, 01 Oct 2010 05:58:24 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1cNg-0001BM-44 for emacs-orgmode@gnu.org; Fri, 01 Oct 2010 11:58:20 +0200 Received: from dasa3.iem.pw.edu.pl ([194.29.147.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 11:58:20 +0200 Received: from lukasz.stelmach by dasa3.iem.pw.edu.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 11:58:20 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Ulf Stegemann 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