Mercurial > emacs
annotate lisp/org/org-rmail.el @ 101982:f22ae19dd025
* international/characters.el (?1, ?2, ?3, ?4, ?7, ?^):
Fix typos in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 12 Feb 2009 16:09:48 +0000 |
parents | 85596010327a |
children | bf06adf07c74 |
rev | line source |
---|---|
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
1 ;;; org-rmail.el --- Support for links to Rmail messages from within Org-mode |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
2 |
101394
99aed27d0256
(rmail-narrow-to-non-pruned-header): Remove declaration of deleted function.
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
3 ;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 |
99aed27d0256
(rmail-narrow-to-non-pruned-header): Remove declaration of deleted function.
Glenn Morris <rgm@gnu.org>
parents:
100908
diff
changeset
|
4 ;; Free Software Foundation, Inc. |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
5 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
6 ;; Author: Carsten Dominik <carsten at orgmode dot org> |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
7 ;; Keywords: outlines, hypermedia, calendar, wp |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
8 ;; Homepage: http://orgmode.org |
101757
6d71fc980cde
2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
Carsten Dominik <dominik@science.uva.nl>
parents:
101702
diff
changeset
|
9 ;; Version: 6.21b |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
10 ;; |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
11 ;; This file is part of GNU Emacs. |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
12 ;; |
94676
ba3167bc4143
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94441
diff
changeset
|
13 ;; GNU Emacs is free software: you can redistribute it and/or modify |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
14 ;; it under the terms of the GNU General Public License as published by |
94676
ba3167bc4143
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94441
diff
changeset
|
15 ;; the Free Software Foundation, either version 3 of the License, or |
ba3167bc4143
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94441
diff
changeset
|
16 ;; (at your option) any later version. |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
17 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
18 ;; GNU Emacs is distributed in the hope that it will be useful, |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
21 ;; GNU General Public License for more details. |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
22 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
23 ;; You should have received a copy of the GNU General Public License |
94676
ba3167bc4143
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94441
diff
changeset
|
24 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
25 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
26 ;; |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
27 ;;; Commentary: |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
28 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
29 ;; This file implements links to Rmail messages from within Org-mode. |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
30 ;; Org-mode loads this module by default - if this is not what you want, |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
31 ;; configure the variable `org-modules'. |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
32 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
33 ;;; Code: |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
34 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
35 (require 'org) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
36 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
37 ;; Declare external functions and variables |
101811
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
38 (declare-function rmail-show-message "rmail") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
39 (declare-function rmail-get-header "rmail" (name &optional msgnum)) |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
40 (declare-function rmail-what-message "rmail" ()) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
41 (defvar rmail-current-message) |
101811
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
42 (defvar rmail-buffer) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
43 (defvar rmail-view-buffer) |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
44 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
45 ;; Install the link type |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
46 (org-add-link-type "rmail" 'org-rmail-open) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
47 (add-hook 'org-store-link-functions 'org-rmail-store-link) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
48 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
49 ;; Implementation |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
50 (defun org-rmail-store-link () |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
51 "Store a link to an Rmail folder or message." |
101811
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
52 (when (memq major-mode '(rmail-mode rmail-summary-mode)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
53 (let (message-id from to subject desc link) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
54 (if (fboundp 'rmail-get-header) ; Emacs 23 |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
55 (setq message-id (rmail-get-header "message-id") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
56 from (rmail-get-header "from") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
57 to (rmail-get-header "to") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
58 subject (rmail-get-header "subject")) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
59 (save-window-excursion ; Emacs 22 |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
60 (save-restriction |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
61 (when (eq major-mode 'rmail-summary-mode) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
62 (rmail-show-message rmail-current-message)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
63 (with-no-warnings ; don't warn when compiling Emacs 23 |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
64 (rmail-narrow-to-non-pruned-header)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
65 (setq message-id (mail-fetch-field "message-id") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
66 from (mail-fetch-field "from") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
67 to (mail-fetch-field "to") |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
68 subject (mail-fetch-field "subject")) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
69 (rmail-show-message rmail-current-message)))) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
70 (org-store-link-props |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
71 :type "rmail" :from from :to to |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
72 :subject subject :message-id message-id) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
73 (setq message-id (org-remove-angle-brackets message-id)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
74 (setq desc (org-email-link-description)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
75 (setq link (org-make-link "rmail:" |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
76 (with-current-buffer rmail-buffer |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
77 buffer-file-name) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
78 "#" message-id)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
79 (org-add-link-props :link link :description desc) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
80 link))) |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
81 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
82 (defun org-rmail-open (path) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
83 "Follow an Rmail message link to the specified PATH." |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
84 (let (folder article) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
85 (if (not (string-match "\\`\\([^#]+\\)\\(#\\(.*\\)\\)?" path)) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
86 (error "Error in Rmail link")) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
87 (setq folder (match-string 1 path) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
88 article (match-string 3 path)) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
89 (org-rmail-follow-link folder article))) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
90 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
91 (defun org-rmail-follow-link (folder article) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
92 "Follow an Rmail link to FOLDER and ARTICLE." |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
93 (require 'rmail) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
94 (setq article (org-add-angle-brackets article)) |
101811
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
95 (let (message-number buff) |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
96 (save-excursion |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
97 (save-window-excursion |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
98 (rmail (if (string= folder "RMAIL") rmail-file-name folder)) |
101811
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
99 (setq buff (current-buffer) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
100 message-number |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
101 (with-current-buffer |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
102 (if (and (fboundp 'rmail-buffers-swapped-p) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
103 (rmail-buffers-swapped-p)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
104 rmail-view-buffer |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
105 (current-buffer)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
106 (save-restriction |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
107 (widen) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
108 (goto-char (point-max)) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
109 (if (re-search-backward |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
110 (concat "^Message-ID:\\s-+" (regexp-quote |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
111 (or article ""))) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
112 nil t) |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
113 ;; This is an rmail "debugging" function. :( |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
114 (with-current-buffer buff |
85596010327a
(rmail-show-message): Update declaration.
Glenn Morris <rgm@gnu.org>
parents:
101757
diff
changeset
|
115 (rmail-what-message)))))))) |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
116 (if message-number |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
117 (progn |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
118 (rmail (if (string= folder "RMAIL") rmail-file-name folder)) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
119 (rmail-show-message message-number) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
120 message-number) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
121 (error "Message not found")))) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
122 |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
123 (provide 'org-rmail) |
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
124 |
94441 | 125 ;; arch-tag: c6cf4a8b-6639-4b7f-821f-bdf10746b173 |
96044
c1ef445563bb
2008-06-17 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
94676
diff
changeset
|
126 |
94414
d86cb59eea9f
2008-04-27 Carsten Dominik <dominik@science.uva.nl>
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
127 ;;; org-rmail.el ends here |