emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: nicholas.dokos@hp.com
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Ted Roden: Re: message: links
Date: Tue, 6 May 2008 09:20:58 +0200	[thread overview]
Message-ID: <6CF40BD8-903A-4B2D-A2E1-FFF7038EAC9A@science.uva.nl> (raw)
In-Reply-To: <3087.1210028235@alphaville.zko.hp.com>


[-- Attachment #1.1: Type: text/plain, Size: 2550 bytes --]

Hi Nick,

thanks for forwarding, and thanks for answering to Ted's question.  I  
really appreciate if people do this as much as possible and in this  
way save me work.

As additional info:

A recent version of Org will also contain the module org-mac-message.el
(written by no other than John Wiegley) which will implement following  
message links just like Ted did.  In addition to this, it will allow  
you to create a link to the currently active message in Mail.app.  I  
use this to create links to emails with remember templates.  I have an  
"e" template defined like this.

("Emailtask" ?e "* TODO %?\n  %(org-mac-message-get-link)" "~/org/ 
gtd.org" "Tasks" nil)

It will create a remember buffer that already contains a link to that  
message.

- Carsten

On May 6, 2008, at 12:57 AM, Nick Dokos wrote:
> Ted seems to have meant to copy the list, but since he didn't, I am  
> taking
> the liberty of forwarding his message.
>
> Nick
>
> ------- Forwarded Message
> Message-Id: <4982BA80-5FF6-4601-A894-84D97445B07A@gmail.com>
> From: Ted Roden <ted.lists@gmail.com>
> To: nicholas.dokos@hp.com
> In-Reply-To: <23074.1210022131@alphaville.zko.hp.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> Content-Transfer-Encoding: 7bit
> Mime-Version: 1.0 (Apple Message framework v919.2)
> Subject: Re: [Orgmode] message: links
> Date: Mon, 5 May 2008 17:57:48 -0400
> References: <FE839CE7-B07A-4C96-98EA-C62B492D62E2@gmail.com>  <23074.1210022131@alphaville.zko.hp.com 
> >
> X-Mailer: Apple Mail (2.919.2)
>
>
>> I think you should read the "Adding hyperlink types" appendix in the
>> Org
>> manual.
>
> Awesome, thanks for pointing that out. The documentation available
> inside emacs was for an old installation of org-mode and it doesn't
> appear to have that section. I was able to find that section on the
> site though.
>
> In case anyone else wants it, I just added the following code to
> my  .emacs file and it works like a charm now. Keep in mind, this will
> probably only work on a mac (I'm using the "open" command).
>
> (require 'org)
> (org-add-link-type "message" 'org-message-open)
>
> (defun org-message-open (path)
>   "Open message:// links in the registered mail reader on a mac."
>   (shell-command (concat "open message:" path)))
>
>
> ------- End of Forwarded Message
>
>
>
> _______________________________________________
> 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


[-- Attachment #1.2: Type: text/html, Size: 3608 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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-05-06  7:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 22:57 Ted Roden: Re: message: links Nick Dokos
2008-05-06  7:20 ` Carsten Dominik [this message]

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=6CF40BD8-903A-4B2D-A2E1-FFF7038EAC9A@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).