From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Store link upon sending a message Date: Fri, 12 Nov 2010 13:58:34 +0000 Message-ID: <87oc9u7iet.fsf@ucl.ac.uk> References: <87wrq29qvi.fsf@dasa3.iem.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=59194 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGu9P-0002Lo-JQ for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 08:58:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGu9O-0003XX-86 for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 08:58:47 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:33133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGu9O-0003X4-1y for emacs-orgmode@gnu.org; Fri, 12 Nov 2010 08:58:46 -0500 In-Reply-To: (Ulf Stegemann's message of "Fri, 12 Nov 2010 14:03:41 +0100") 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: Ulf Stegemann Cc: emacs-orgmode@gnu.org Ulf Stegemann 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! Works very well. Thanks. Instead of binding this to a command sequence, is there any hook we can attach the function to so that it's invoked for every message I send (I'm somewhat of a gnus noob unfortunately although I'm learning...)? I ask because I alternative between =C-c C-c= and =C-c C-j= for sending emails and I would need to provide two alternatives to incorporate your function. Thanks again, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.42.g0fd5ec)