annotate lisp/mail/rmailkwd.el @ 96057:d3e733e75a9d

Fix typos in previous.
author Glenn Morris <rgm@gnu.org>
date Wed, 18 Jun 2008 02:49:47 +0000
parents ef65fa4dca3b
children a9dc0e7c3f2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 37612
diff changeset
1 ;;; rmailkwd.el --- part of the "RMAIL" mail reader for Emacs
658
7cbd4fcd8b0f *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 195
diff changeset
2
64754
fafd692d1e40 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64085
diff changeset
3 ;; Copyright (C) 1985, 1988, 1994, 2001, 2002, 2003, 2004,
79712
de499b20517a Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78232
diff changeset
4 ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
845
213978acbc1e entered into RCS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 814
diff changeset
5
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 658
diff changeset
6 ;; Maintainer: FSF
814
38b2499cb3e9 *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 807
diff changeset
7 ;; Keywords: mail
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 658
diff changeset
8
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
10
94674
ef65fa4dca3b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
94674
ef65fa4dca3b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
13 ;; the Free Software Foundation, either version 3 of the License, or
ef65fa4dca3b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
14 ;; (at your option) any later version.
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
15
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
19 ;; GNU General Public License for more details.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
20
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
94674
ef65fa4dca3b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
23
38412
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 37612
diff changeset
24 ;;; Commentary:
253f761ad37b Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents: 37612
diff changeset
25
807
4f28bd14272c *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 658
diff changeset
26 ;;; Code:
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
27
65208
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
28 (defvar rmail-buffer)
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
29 (defvar rmail-current-message)
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
30 (defvar rmail-last-label)
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
31 (defvar rmail-last-multi-labels)
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
32 (defvar rmail-summary-vector)
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
33 (defvar rmail-total-messages)
a4542b9b5f1c (rmail-buffer, rmail-current-message, rmail-last-label, rmail-last-multi-labels,
Juanma Barranquero <lekktu@gmail.com>
parents: 64754
diff changeset
34
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
35 ;; Global to all RMAIL buffers. It exists primarily for the sake of
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
36 ;; completion. It is better to use strings with the label functions
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
37 ;; and let them worry about making the label.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
38
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
39 (defvar rmail-label-obarray (make-vector 47 0))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
40
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
41 ;; Named list of symbols representing valid message attributes in RMAIL.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
42
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
43 (defconst rmail-attributes
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
44 (cons 'rmail-keywords
11508
f04aa4cd5182 (rmail-attributes): Recognize "resent" attribute.
Karl Heuer <kwzh@gnu.org>
parents: 7300
diff changeset
45 (mapcar (function (lambda (s) (intern s rmail-label-obarray)))
f04aa4cd5182 (rmail-attributes): Recognize "resent" attribute.
Karl Heuer <kwzh@gnu.org>
parents: 7300
diff changeset
46 '("deleted" "answered" "filed" "forwarded" "unseen" "edited"
f04aa4cd5182 (rmail-attributes): Recognize "resent" attribute.
Karl Heuer <kwzh@gnu.org>
parents: 7300
diff changeset
47 "resent"))))
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
48
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
49 (defconst rmail-deleted-label (intern "deleted" rmail-label-obarray))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
50
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
51 ;; Named list of symbols representing valid message keywords in RMAIL.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
52
16289
38aee5b6ac73 (rmail-keywords): Don't initialize.
Richard M. Stallman <rms@gnu.org>
parents: 14169
diff changeset
53 (defvar rmail-keywords)
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
54
16345
22d0a2f6a374 (rmail-read-label, rmail-add-label, rmail-kill-label)
Richard M. Stallman <rms@gnu.org>
parents: 16289
diff changeset
55 ;;;###autoload
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
56 (defun rmail-add-label (string)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
57 "Add LABEL to labels associated with current RMAIL message.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
58 Completion is performed over known labels when reading."
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
59 (interactive (list (rmail-read-label "Add label")))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
60 (rmail-set-label string t))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
61
16345
22d0a2f6a374 (rmail-read-label, rmail-add-label, rmail-kill-label)
Richard M. Stallman <rms@gnu.org>
parents: 16289
diff changeset
62 ;;;###autoload
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
63 (defun rmail-kill-label (string)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
64 "Remove LABEL from labels associated with current RMAIL message.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
65 Completion is performed over known labels when reading."
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
66 (interactive (list (rmail-read-label "Remove label")))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
67 (rmail-set-label string nil))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
68
16345
22d0a2f6a374 (rmail-read-label, rmail-add-label, rmail-kill-label)
Richard M. Stallman <rms@gnu.org>
parents: 16289
diff changeset
69 ;;;###autoload
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
70 (defun rmail-read-label (prompt)
37612
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
71 (with-current-buffer rmail-buffer
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
72 (if (not rmail-keywords) (rmail-parse-file-keywords))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
73 (let ((result
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
74 (completing-read (concat prompt
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
75 (if rmail-last-label
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
76 (concat " (default "
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
77 (symbol-name rmail-last-label)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
78 "): ")
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
79 ": "))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
80 rmail-label-obarray
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
81 nil
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
82 nil)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
83 (if (string= result "")
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
84 rmail-last-label
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
85 (setq rmail-last-label (rmail-make-label result t))))))
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
86
86503
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
87 (declare-function rmail-maybe-set-message-counters "rmail" ())
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
88 (declare-function rmail-display-labels "rmail" ())
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
89 (declare-function rmail-msgbeg "rmail" (n))
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
90 (declare-function rmail-set-message-deleted-p "rmail" (n state))
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
91 (declare-function rmail-message-labels-p "rmail" (msg labels))
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
92 (declare-function rmail-show-message "rmail" (&optional n no-summary))
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
93 (declare-function mail-comma-list-regexp "mail-utils" (labels))
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
94 (declare-function mail-parse-comma-list "mail-utils.el" ())
2c08ad76fc1f * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78232
diff changeset
95
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
96 (defun rmail-set-label (l state &optional n)
37612
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
97 (with-current-buffer rmail-buffer
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
98 (rmail-maybe-set-message-counters)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
99 (if (not n) (setq n rmail-current-message))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
100 (aset rmail-summary-vector (1- n) nil)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
101 (let* ((attribute (rmail-attribute-p l))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
102 (keyword (and (not attribute)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
103 (or (rmail-keyword-p l)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
104 (rmail-install-keyword l))))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
105 (label (or attribute keyword)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
106 (if label
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
107 (let ((omax (- (buffer-size) (point-max)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
108 (omin (- (buffer-size) (point-min)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
109 (buffer-read-only nil)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
110 (case-fold-search t))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
111 (unwind-protect
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
112 (save-excursion
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
113 (widen)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
114 (goto-char (rmail-msgbeg n))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
115 (forward-line 1)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
116 (if (not (looking-at "[01],"))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
117 nil
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
118 (let ((start (1+ (point)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
119 (bound))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
120 (narrow-to-region (point) (progn (end-of-line) (point)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
121 (setq bound (point-max))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
122 (search-backward ",," nil t)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
123 (if attribute
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
124 (setq bound (1+ (point)))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
125 (setq start (1+ (point))))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
126 (goto-char start)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
127 ; (while (re-search-forward "[ \t]*,[ \t]*" nil t)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
128 ; (replace-match ","))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
129 ; (goto-char start)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
130 (if (re-search-forward
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
131 (concat ", " (rmail-quote-label-name label) ",")
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
132 bound
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
133 'move)
37612
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
134 (if (not state) (replace-match ","))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
135 (if state (insert " " (symbol-name label) ",")))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
136 (if (eq label rmail-deleted-label)
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
137 (rmail-set-message-deleted-p n state)))))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
138 (narrow-to-region (- (buffer-size) omin) (- (buffer-size) omax))
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
139 (if (= n rmail-current-message) (rmail-display-labels))))))))
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
140
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
141 ;; Commented functions aren't used by RMAIL but might be nice for user
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
142 ;; packages that do stuff with RMAIL. Note that rmail-message-labels-p
195
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
143 ;; is in rmail.el now.
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
144
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
145 ;(defun rmail-message-label-p (label &optional n)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
146 ; "Returns symbol if LABEL (attribute or keyword) on NTH or current message."
6621
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
147 ; (rmail-message-labels-p (or n rmail-current-message) (regexp-quote label)))
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
148
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
149 ;(defun rmail-parse-message-labels (&optional n)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
150 ; "Returns labels associated with NTH or current RMAIL message.
6621
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
151 ;The result is a list of two lists of strings. The first is the
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
152 ;message attributes and the second is the message keywords."
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
153 ; (let (atts keys)
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
154 ; (save-restriction
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
155 ; (widen)
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
156 ; (goto-char (rmail-msgbeg (or n rmail-current-message)))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
157 ; (forward-line 1)
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
158 ; (or (looking-at "[01],") (error "Malformed label line"))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
159 ; (forward-char 2)
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
160 ; (while (looking-at "[ \t]*\\([^ \t\n,]+\\),")
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
161 ; (setq atts (cons (buffer-substring (match-beginning 1) (match-end 1))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
162 ; atts))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
163 ; (goto-char (match-end 0)))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
164 ; (or (looking-at ",") (error "Malformed label line"))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
165 ; (forward-char 1)
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
166 ; (while (looking-at "[ \t]*\\([^ \t\n,]+\\),")
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
167 ; (setq keys (cons (buffer-substring (match-beginning 1) (match-end 1))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
168 ; keys))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
169 ; (goto-char (match-end 0)))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
170 ; (or (looking-at "[ \t]*$") (error "Malformed label line"))
82404c81aac8 (rmail-message-label-p, rmail-parse-message-labels):
Karl Heuer <kwzh@gnu.org>
parents: 845
diff changeset
171 ; (list (nreverse atts) (nreverse keys)))))
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
172
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
173 (defun rmail-attribute-p (s)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
174 (let ((symbol (rmail-make-label s)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
175 (if (memq symbol (cdr rmail-attributes)) symbol)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
176
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
177 (defun rmail-keyword-p (s)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
178 (let ((symbol (rmail-make-label s)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
179 (if (memq symbol (cdr (rmail-keywords))) symbol)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
180
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
181 (defun rmail-make-label (s &optional forcep)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
182 (cond ((symbolp s) s)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
183 (forcep (intern (downcase s) rmail-label-obarray))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
184 (t (intern-soft (downcase s) rmail-label-obarray))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
185
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
186 (defun rmail-force-make-label (s)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
187 (intern (downcase s) rmail-label-obarray))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
188
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
189 (defun rmail-quote-label-name (label)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
190 (regexp-quote (symbol-name (rmail-make-label label t))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
191
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
192 ;; Motion on messages with keywords.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
193
16345
22d0a2f6a374 (rmail-read-label, rmail-add-label, rmail-kill-label)
Richard M. Stallman <rms@gnu.org>
parents: 16289
diff changeset
194 ;;;###autoload
195
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
195 (defun rmail-previous-labeled-message (n labels)
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
196 "Show previous message with one of the labels LABELS.
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
197 LABELS should be a comma-separated list of label names.
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
198 If LABELS is empty, the last set of labels specified is used.
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
199 With prefix argument N moves backward N messages with these labels."
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
200 (interactive "p\nsMove to previous msg with labels: ")
195
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
201 (rmail-next-labeled-message (- n) labels))
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
202
16345
22d0a2f6a374 (rmail-read-label, rmail-add-label, rmail-kill-label)
Richard M. Stallman <rms@gnu.org>
parents: 16289
diff changeset
203 ;;;###autoload
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
204 (defun rmail-next-labeled-message (n labels)
195
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
205 "Show next message with one of the labels LABELS.
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
206 LABELS should be a comma-separated list of label names.
15510c65f799 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 36
diff changeset
207 If LABELS is empty, the last set of labels specified is used.
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
208 With prefix argument N moves forward N messages with these labels."
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
209 (interactive "p\nsMove to next msg with labels: ")
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
210 (if (string= labels "")
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
211 (setq labels rmail-last-multi-labels))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
212 (or labels
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
213 (error "No labels to find have been specified previously"))
37612
15fa3a1c6e88 (rmail-read-label): Be sure to work in the
Gerd Moellmann <gerd@gnu.org>
parents: 16345
diff changeset
214 (set-buffer rmail-buffer)
36
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
215 (setq rmail-last-multi-labels labels)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
216 (rmail-maybe-set-message-counters)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
217 (let ((lastwin rmail-current-message)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
218 (current rmail-current-message)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
219 (regexp (concat ", ?\\("
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
220 (mail-comma-list-regexp labels)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
221 "\\),")))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
222 (save-restriction
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
223 (widen)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
224 (while (and (> n 0) (< current rmail-total-messages))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
225 (setq current (1+ current))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
226 (if (rmail-message-labels-p current regexp)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
227 (setq lastwin current n (1- n))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
228 (while (and (< n 0) (> current 1))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
229 (setq current (1- current))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
230 (if (rmail-message-labels-p current regexp)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
231 (setq lastwin current n (1+ n)))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
232 (rmail-show-message lastwin)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
233 (if (< n 0)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
234 (message "No previous message with labels %s" labels))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
235 (if (> n 0)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
236 (message "No following message with labels %s" labels))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
237
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
238 ;;; Manipulate the file's Labels option.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
239
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
240 ;; Return a list of symbols for all
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
241 ;; the keywords (labels) recorded in this file's Labels option.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
242 (defun rmail-keywords ()
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
243 (or rmail-keywords (rmail-parse-file-keywords)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
244
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
245 ;; Set rmail-keywords to a list of symbols for all
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
246 ;; the keywords (labels) recorded in this file's Labels option.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
247 (defun rmail-parse-file-keywords ()
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
248 (save-restriction
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
249 (save-excursion
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
250 (widen)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
251 (goto-char 1)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
252 (setq rmail-keywords
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
253 (if (search-forward "\nLabels:" (rmail-msgbeg 1) t)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
254 (progn
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
255 (narrow-to-region (point) (progn (end-of-line) (point)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
256 (goto-char (point-min))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
257 (cons 'rmail-keywords
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
258 (mapcar 'rmail-force-make-label
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
259 (mail-parse-comma-list)))))))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
260
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
261 ;; Add WORD to the list in the file's Labels option.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
262 ;; Any keyword used for the first time needs this done.
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
263 (defun rmail-install-keyword (word)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
264 (let ((keyword (rmail-make-label word t))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
265 (keywords (rmail-keywords)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
266 (if (not (or (rmail-attribute-p keyword)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
267 (rmail-keyword-p keyword)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
268 (let ((omin (- (buffer-size) (point-min)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
269 (omax (- (buffer-size) (point-max))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
270 (unwind-protect
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
271 (save-excursion
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
272 (widen)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
273 (goto-char 1)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
274 (let ((case-fold-search t)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
275 (buffer-read-only nil))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
276 (or (search-forward "\nLabels:" nil t)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
277 (progn
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
278 (end-of-line)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
279 (insert "\nLabels:")))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
280 (delete-region (point) (progn (end-of-line) (point)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
281 (setcdr keywords (cons keyword (cdr keywords)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
282 (while (setq keywords (cdr keywords))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
283 (insert (symbol-name (car keywords)) ","))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
284 (delete-char -1)))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
285 (narrow-to-region (- (buffer-size) omin)
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
286 (- (buffer-size) omax)))))
9697c13298e5 Initial revision
Joseph Arceneaux <jla@gnu.org>
parents:
diff changeset
287 keyword))
658
7cbd4fcd8b0f *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 195
diff changeset
288
93975
1e3a407766b9 Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 87649
diff changeset
289 ;; arch-tag: b26b3392-99ca-4e1d-933a-dab59b04e9a8
658
7cbd4fcd8b0f *** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 195
diff changeset
290 ;;; rmailkwd.el ends here