Next: , Previous: , Up: Interaction with other tools   [Contents]

A.2 Creating org-mode links

It can be useful to include links to e-mail messages or even search queries in your org-mode files. mu4e supports this with the org-mu4e module; you can set it up by adding it to your configuration:

(require 'org-mu4e)

this expects org-mode 8.x. If you have an older version, you can try:

(require 'org-old-mu4e)

After this, you can use the normal org-mode mechanisms to store links: M-x org-store-link stores a link to a particular message when you are in Message view. When you are in Headers view, M-x org-store-link links to the query if org-mu4e-link-query-in-headers-mode is non-nil, and to the particular message otherwise.

You can insert this link later with M-x org-insert-link. From org-mode, you can go to the query or message the link points to with either M-x org-agenda-open-link in agenda buffers, or M-x org-open-at-point elsewhere - both typically bound to C-c C-o.