From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Re: Store link upon sending a message Date: Wed, 05 Jan 2011 08:24:52 +0100 Message-ID: References: <87wrq29qvi.fsf@dasa3.iem.pw.edu.pl> <87k4ik1rrx.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=52051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaNju-0002tb-Dn for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 02:24:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaNjt-0006gq-4g for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 02:24:58 -0500 Received: from london.zeitform.net ([146.140.213.100]:53018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaNjs-0006g6-Vx for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 02:24:57 -0500 In-Reply-To: <87k4ik1rrx.fsf@altern.org> (Bastien's message of "Tue, 04 Jan 2011 18:51:30 +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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, Bastien wrote: > Ulf Stegemann writes: > >> (defun ulf-message-send-and-org-gnus-store-link (&optional arg) > > This is something I've been trying to achieve for very long! Great you > found a solution. A minor suggestion: the function should make sure > the buffer is not killed after the message is sent. > > I added (message-kill-buffer-on-exit nil) like this: good point, thanks for adding it. > I also added an entry in org-hacks.org. Okay, thanks! Ulf