emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
Cc: Emacs-orgmode@gnu.org
Subject: Re: keeping track of sent emails in org?
Date: Mon, 27 Oct 2008 16:01:01 +0100	[thread overview]
Message-ID: <4905D7AD.2090700@gmx.de> (raw)
In-Reply-To: <4905CE30.7040904@gmx.de>

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
> 

  reply	other threads:[~2008-10-27 15:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-26 17:31 keeping track of sent emails in org? Bill White
2008-10-27 14:20 ` Sebastian Rose
2008-10-27 15:01   ` Sebastian Rose [this message]
2008-10-27 18:11     ` Eric Schulte
2008-10-27 21:17       ` Bill White
2008-10-27 21:31         ` Chris McMahan
2008-10-27 21:35         ` Carsten Dominik
2008-10-27 21:45           ` Richard Riley
2008-10-27 21:49           ` Bill White
2008-10-27 21:59             ` Carsten Dominik
2008-10-27 22:43               ` Bill White
2008-10-27 23:12           ` Michael Ekstrand
2008-10-28  1:35             ` Michael Ekstrand
2008-11-03 11:18               ` Carsten Dominik
2008-11-03 13:37                 ` Michael Ekstrand
2008-10-29  8:56         ` Carsten Dominik
2008-10-29 12:21           ` Sebastian Rose
2008-10-29 11:27             ` Pete Phillips
2008-10-29 12:37               ` Carsten Dominik
2008-10-29 13:07                 ` Georg C. F. Greve
2008-10-29 15:06                   ` Christopher Suckling
2008-10-29 17:41                 ` Ross Patterson
2008-10-29 14:08           ` Mykola Nikishov
2008-10-29 15:17           ` Bernt Hansen
2008-10-29 15:44             ` Carsten Dominik
2008-10-29 15:47               ` Bernt Hansen
2008-10-29 16:08               ` Bernt Hansen
2008-10-29 17:39                 ` Ross Patterson
2008-10-29 18:03                   ` Bernt Hansen
2008-10-29 18:08                     ` Ross Patterson
2008-10-27 21:06     ` Bill White
2008-10-28 17:58 ` Carsten Dominik
2008-10-28 18:46   ` Ross Patterson
2008-10-28 19:14     ` Carsten Dominik
2008-10-28 19:19       ` Ross Patterson
2008-10-29  8:17     ` Carsten Dominik
2008-10-28 20:14   ` Bill White
  -- strict thread matches above, loose matches on Subject: below --
2008-10-28 20:37 Sullivan, Gregory (US SSA)
2008-10-29  9:38 ` Pete Phillips

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=4905D7AD.2090700@gmx.de \
    --to=sebastian_rose@gmx.de \
    --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).