From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: keeping track of sent emails in org? Date: Mon, 27 Oct 2008 16:01:01 +0100 Message-ID: <4905D7AD.2090700@gmx.de> References: <871vy3tg9x.fsf@wolfram.com> <4905CE30.7040904@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuTaJ-0004no-Sa for emacs-orgmode@gnu.org; Mon, 27 Oct 2008 11:00:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuTaI-0004mB-99 for Emacs-orgmode@gnu.org; Mon, 27 Oct 2008 11:00:47 -0400 Received: from [199.232.76.173] (port=47358 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuTaI-0004m8-5m for Emacs-orgmode@gnu.org; Mon, 27 Oct 2008 11:00:46 -0400 Received: from mail.gmx.net ([213.165.64.20]:38260) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KuTaH-0002r5-Nt for Emacs-orgmode@gnu.org; Mon, 27 Oct 2008 11:00:46 -0400 In-Reply-To: <4905CE30.7040904@gmx.de> 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 Cc: Emacs-orgmode@gnu.org Hi Bill, to add links to autgoing mails automatically, adding a link to such a mail once should be enough, to add the right funciton to your 'mail-send-hook' (?? don't no which hook really...) since it's just a question of the link format. If no one has done this until now, please share it here. I use gnus, but I still BCC myself to 'store' my outgoing mail :-) As for me, I'd prefer a way to keep my outgoing mails directly in gnus. Something like this should work: (setq org-remember-templates '(("sent-mails" ?m "* Mail sent %u\n %a\n" "organizer.org" "Sent"))) (defun my-store-link() "Docs for my-store-link" (org-remember ?m)) ;; the `m' is the short cut for the template. (add-hook 'your-hook-here 'my-store-link) I don't know how to suppress the interactive part of it (C-c C-c to store it away), but sometimes you might add a short note anyway. Regards, Sebastian Sebastian Rose wrote: > Hi Bill, > > > links are one of the great features of Org-mode. Basically, links are > added in two ways: > > a) Remember templates (automatic): > You're reading an email in Gnus or another emacs mail reader, and > want to add a note somewhere. To do this, you set up (once) a > so called 'remember template'. See > http://orgmode.org/manual/Remember.html#Remember how to do this. > Org automatically adds a link to the mail/file/whatever, which > brings you back to that mail/file/whatever, as you click on it. > > b) Semi-automatic: > You want to add a link to an email/file/whatever to existing notes. > To do this, visit the email/file/whatever and press 'C-c l' > (org-store-link) to store a link to that location for later use. > Back in your Org-file, you press 'C-c C-l' (org-insert-link), > which provides you with a list of all stored links during your > emacs session. You select the last one by pressing 'UP' once, and > you're done. > See http://orgmode.org/manual/Handling-links.html#Handling-links > > c) By hand: > Also, you may add links to locations by hand. The syntax for links > is described here: > http://orgmode.org/manual/Hyperlinks.html#Hyperlinks > > > > Best regards, > > Sebastian > > > > > > Bill White wrote: >> Hi all - >> >> I'm looking into porting my planner/muse/gnus infrastructure to org. >> One indispensible bit of code in my current system writes a gnus message >> link in the current day's planner file every time I send a message from >> gnus. It uses Sacha Chua's sacha/planner-gnus-track-sent method here: >> >> http://sachachua.com/notebook/wiki/2006.08.10.php#anchor-3 >> http://article.gmane.org/gmane.emacs.wiki.general/6017 >> >> Has someone already written something like this for org? Perhaps a >> remember-like mechanism that writes a link to, say, Email.org? Perhaps >> messages could be filed under date headlines: >> >> * Sunday, October 26, 2008 >> ** message 1 recipient:subject >> [link] (or contents?) >> ** message 2 recipient:subject >> [link] (or contents?) >> >> or somesuch. >> >> Thanks for any thoughts about this - >> >> bw > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >