annotate lisp/mail/mbox-trunk-annotations/rmailsum.el.annotation @ 97895:f0990323fce1

(linum-mode): `window-size-change-functions' can now be buffer-local. (linum-update-window): Use result of `move-overlay'.
author Martin Rudalics <rudalics@gmx.at>
date Sun, 31 Aug 2008 08:46:30 +0000
parents 513ae63d6175
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
97531
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1 1.9 (eric 17-Mar-93): ;;; rmailsum.el --- make summary buffers for the mail reader
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
2 1.8 (eric 17-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
3 1.136 (ttn 06-Aug-05): ;; Copyright (C) 1985, 1993, 1994, 1995, 1996, 2000, 2001, 2002, 2003,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
4 1.149 (miles 08-Jan-08): ;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
5 1.2 (eric 30-May-92):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
6 1.3 (eric 16-Jul-92): ;; Maintainer: FSF
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
7 1.4 (eric 17-Jul-92): ;; Keywords: mail
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
8 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
9 1.1 (jimb 30-Nov-90): ;; This file is part of GNU Emacs.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
10 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
11 1.151 (gm 06-May-08): ;; GNU Emacs is free software: you can redistribute it and/or modify
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
12 1.1 (jimb 30-Nov-90): ;; it under the terms of the GNU General Public License as published by
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
13 1.151 (gm 06-May-08): ;; the Free Software Foundation, either version 3 of the License, or
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
14 1.151 (gm 06-May-08): ;; (at your option) any later version.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
15 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
16 1.1 (jimb 30-Nov-90): ;; GNU Emacs is distributed in the hope that it will be useful,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
17 1.1 (jimb 30-Nov-90): ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
18 1.1 (jimb 30-Nov-90): ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
19 1.1 (jimb 30-Nov-90): ;; GNU General Public License for more details.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
20 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
21 1.1 (jimb 30-Nov-90): ;; You should have received a copy of the GNU General Public License
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
22 1.151 (gm 06-May-08): ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
23 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
24 1.8 (eric 17-Mar-93): ;;; Commentary:
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
25 1.8 (eric 17-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
26 1.6 (rms 09-Mar-93): ;; Extended by Bob Weiner of Motorola
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
27 1.6 (rms 09-Mar-93): ;; Provided all commands from rmail-mode in rmail-summary-mode and made key
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
28 1.6 (rms 09-Mar-93): ;; bindings in both modes wholly compatible.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
29 1.8 (eric 17-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
30 1.8 (eric 17-Mar-93): ;;; Code:
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
31 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
32 1.138 (lektu 29-Aug-05): (defvar msgnum)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
33 1.138 (lektu 29-Aug-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
34 1.70 (rms 21-Aug-95): ;; For rmail-select-summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
35 1.70 (rms 21-Aug-95): (require 'rmail)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
36 1.70 (rms 21-Aug-95):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
37 1.82 (rms 04-Apr-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
38 1.96 (rms 03-May-97): (defcustom rmail-summary-scroll-between-messages t
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
39 1.96 (rms 03-May-97): "*Non-nil means Rmail summary scroll commands move between messages."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
40 1.96 (rms 03-May-97): :type 'boolean
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
41 1.96 (rms 03-May-97): :group 'rmail-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
42 1.82 (rms 04-Apr-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
43 1.91 (rms 04-Oct-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
44 1.96 (rms 03-May-97): (defcustom rmail-summary-line-count-flag t
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
45 1.127 (jpw 06-Feb-03): "*Non-nil means Rmail summary should show the number of lines in each message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
46 1.96 (rms 03-May-97): :type 'boolean
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
47 1.96 (rms 03-May-97): :group 'rmail-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
48 1.91 (rms 04-Oct-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
49 1.55 (rms 07-Oct-94): (defvar rmail-summary-font-lock-keywords
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
50 1.122 (eliz 21-Oct-01): '(("^.....D.*" . font-lock-string-face) ; Deleted.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
51 1.122 (eliz 21-Oct-01): ("^.....-.*" . font-lock-type-face) ; Unread.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
52 1.55 (rms 07-Oct-94): ;; Neither of the below will be highlighted if either of the above are:
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
53 1.122 (eliz 21-Oct-01): ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
54 1.130 (rms 30-Sep-03): ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) ; Labels.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
55 1.55 (rms 07-Oct-94): "Additional expressions to highlight in Rmail Summary mode.")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
56 1.55 (rms 07-Oct-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
57 1.134 (rms 03-Jul-05): (defvar rmail-summary-redo
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
58 1.134 (rms 03-Jul-05): "(FUNCTION . ARGS) to regenerate this Rmail summary buffer.")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
59 1.134 (rms 03-Jul-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
60 1.134 (rms 03-Jul-05): (defvar rmail-summary-overlay nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
61 1.134 (rms 03-Jul-05): (put 'rmail-summary-overlay 'permanent-local t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
62 1.134 (rms 03-Jul-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
63 1.134 (rms 03-Jul-05): (defvar rmail-summary-mode-map nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
64 1.134 (rms 03-Jul-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
65 1.6 (rms 09-Mar-93): ;; Entry points for making a summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
66 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
67 1.6 (rms 09-Mar-93): ;; Regenerate the contents of the summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
68 1.6 (rms 09-Mar-93): ;; using the same selection criterion as last time.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
69 1.6 (rms 09-Mar-93): ;; M-x revert-buffer in a summary buffer calls this function.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
70 1.6 (rms 09-Mar-93): (defun rmail-update-summary (&rest ignore)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
71 1.6 (rms 09-Mar-93): (apply (car rmail-summary-redo) (cdr rmail-summary-redo)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
72 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
73 1.90 (rms 27-Sep-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
74 1.1 (jimb 30-Nov-90): (defun rmail-summary ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
75 1.1 (jimb 30-Nov-90): "Display a summary of all messages, one line per message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
76 1.1 (jimb 30-Nov-90): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
77 1.6 (rms 09-Mar-93): (rmail-new-summary "All" '(rmail-summary) nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
78 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
79 1.90 (rms 27-Sep-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
80 1.1 (jimb 30-Nov-90): (defun rmail-summary-by-labels (labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
81 1.1 (jimb 30-Nov-90): "Display a summary of all messages with one or more LABELS.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
82 1.1 (jimb 30-Nov-90): LABELS should be a string containing the desired labels, separated by commas."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
83 1.1 (jimb 30-Nov-90): (interactive "sLabels to summarize by: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
84 1.1 (jimb 30-Nov-90): (if (string= labels "")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
85 1.1 (jimb 30-Nov-90): (setq labels (or rmail-last-multi-labels
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
86 1.1 (jimb 30-Nov-90): (error "No label specified"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
87 1.1 (jimb 30-Nov-90): (setq rmail-last-multi-labels labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
88 1.1 (jimb 30-Nov-90): (rmail-new-summary (concat "labels " labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
89 1.6 (rms 09-Mar-93): (list 'rmail-summary-by-labels labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
90 1.1 (jimb 30-Nov-90): 'rmail-message-labels-p
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
91 1.1 (jimb 30-Nov-90): (concat ", \\(" (mail-comma-list-regexp labels) "\\),")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
92 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
93 1.90 (rms 27-Sep-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
94 1.1 (jimb 30-Nov-90): (defun rmail-summary-by-recipients (recipients &optional primary-only)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
95 1.1 (jimb 30-Nov-90): "Display a summary of all messages with the given RECIPIENTS.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
96 1.1 (jimb 30-Nov-90): Normally checks the To, From and Cc fields of headers;
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
97 1.1 (jimb 30-Nov-90): but if PRIMARY-ONLY is non-nil (prefix arg given),
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
98 1.1 (jimb 30-Nov-90): only look in the To and From fields.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
99 1.6 (rms 09-Mar-93): RECIPIENTS is a string of regexps separated by commas."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
100 1.1 (jimb 30-Nov-90): (interactive "sRecipients to summarize by: \nP")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
101 1.1 (jimb 30-Nov-90): (rmail-new-summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
102 1.1 (jimb 30-Nov-90): (concat "recipients " recipients)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
103 1.6 (rms 09-Mar-93): (list 'rmail-summary-by-recipients recipients primary-only)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
104 1.1 (jimb 30-Nov-90): 'rmail-message-recipients-p
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
105 1.1 (jimb 30-Nov-90): (mail-comma-list-regexp recipients) primary-only))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
106 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
107 1.90 (rms 27-Sep-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
108 1.1 (jimb 30-Nov-90): (defun rmail-summary-by-regexp (regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
109 1.1 (jimb 30-Nov-90): "Display a summary of all messages according to regexp REGEXP.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
110 1.1 (jimb 30-Nov-90): If the regular expression is found in the header of the message
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
111 1.1 (jimb 30-Nov-90): \(including in the date and other lines, as well as the subject line),
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
112 1.1 (jimb 30-Nov-90): Emacs will list the header line in the RMAIL-summary."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
113 1.1 (jimb 30-Nov-90): (interactive "sRegexp to summarize by: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
114 1.1 (jimb 30-Nov-90): (if (string= regexp "")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
115 1.1 (jimb 30-Nov-90): (setq regexp (or rmail-last-regexp
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
116 1.120 (pj 15-Jul-01): (error "No regexp specified"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
117 1.1 (jimb 30-Nov-90): (setq rmail-last-regexp regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
118 1.1 (jimb 30-Nov-90): (rmail-new-summary (concat "regexp " regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
119 1.6 (rms 09-Mar-93): (list 'rmail-summary-by-regexp regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
120 1.1 (jimb 30-Nov-90): 'rmail-message-regexp-p
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
121 1.1 (jimb 30-Nov-90): regexp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
122 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
123 1.6 (rms 09-Mar-93): ;; rmail-summary-by-topic
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
124 1.6 (rms 09-Mar-93): ;; 1989 R.A. Schnitzler
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
125 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
126 1.90 (rms 27-Sep-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
127 1.6 (rms 09-Mar-93): (defun rmail-summary-by-topic (subject &optional whole-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
128 1.6 (rms 09-Mar-93): "Display a summary of all messages with the given SUBJECT.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
129 1.6 (rms 09-Mar-93): Normally checks the Subject field of headers;
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
130 1.126 (lektu 04-Feb-03): but if WHOLE-MESSAGE is non-nil (prefix arg given),
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
131 1.6 (rms 09-Mar-93): look in the whole message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
132 1.6 (rms 09-Mar-93): SUBJECT is a string of regexps separated by commas."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
133 1.140 (as 08-Jan-06): (interactive
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
134 1.140 (as 08-Jan-06): (let* ((subject (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
135 1.140 (as 08-Jan-06): (rmail-current-subject)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
136 1.140 (as 08-Jan-06): (subject-re (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
137 1.140 (as 08-Jan-06): (rmail-current-subject-regexp)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
138 1.140 (as 08-Jan-06): (prompt (concat "Topics to summarize by (regexp"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
139 1.140 (as 08-Jan-06): (if subject ", default current subject" "")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
140 1.140 (as 08-Jan-06): "): ")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
141 1.140 (as 08-Jan-06): (list (read-string prompt nil nil subject) current-prefix-arg)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
142 1.6 (rms 09-Mar-93): (rmail-new-summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
143 1.6 (rms 09-Mar-93): (concat "about " subject)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
144 1.6 (rms 09-Mar-93): (list 'rmail-summary-by-topic subject whole-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
145 1.6 (rms 09-Mar-93): 'rmail-message-subject-p
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
146 1.6 (rms 09-Mar-93): (mail-comma-list-regexp subject) whole-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
147 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
148 1.6 (rms 09-Mar-93): (defun rmail-message-subject-p (msg subject &optional whole-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
149 1.6 (rms 09-Mar-93): (save-restriction
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
150 1.6 (rms 09-Mar-93): (goto-char (rmail-msgbeg msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
151 1.105 (rms 01-Nov-98): (search-forward "\n*** EOOH ***\n" (rmail-msgend msg) 'move)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
152 1.6 (rms 09-Mar-93): (narrow-to-region
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
153 1.6 (rms 09-Mar-93): (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
154 1.12 (rms 31-May-93): (progn (search-forward (if whole-message "\^_" "\n\n")) (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
155 1.6 (rms 09-Mar-93): (goto-char (point-min))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
156 1.6 (rms 09-Mar-93): (if whole-message (re-search-forward subject nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
157 1.119 (gerd 31-May-01): (string-match subject (let ((subj (mail-fetch-field "Subject")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
158 1.119 (gerd 31-May-01): (if subj
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
159 1.119 (gerd 31-May-01): (funcall rmail-summary-line-decoder subj)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
160 1.119 (gerd 31-May-01): ""))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
161 1.13 (rms 03-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
162 1.90 (rms 27-Sep-96): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
163 1.13 (rms 03-Jun-93): (defun rmail-summary-by-senders (senders)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
164 1.13 (rms 03-Jun-93): "Display a summary of all messages with the given SENDERS.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
165 1.13 (rms 03-Jun-93): SENDERS is a string of names separated by commas."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
166 1.13 (rms 03-Jun-93): (interactive "sSenders to summarize by: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
167 1.13 (rms 03-Jun-93): (rmail-new-summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
168 1.13 (rms 03-Jun-93): (concat "senders " senders)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
169 1.24 (rms 08-Jan-94): (list 'rmail-summary-by-senders senders)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
170 1.13 (rms 03-Jun-93): 'rmail-message-senders-p
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
171 1.13 (rms 03-Jun-93): (mail-comma-list-regexp senders)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
172 1.13 (rms 03-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
173 1.13 (rms 03-Jun-93): (defun rmail-message-senders-p (msg senders)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
174 1.13 (rms 03-Jun-93): (save-restriction
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
175 1.13 (rms 03-Jun-93): (goto-char (rmail-msgbeg msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
176 1.13 (rms 03-Jun-93): (search-forward "\n*** EOOH ***\n")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
177 1.13 (rms 03-Jun-93): (narrow-to-region (point) (progn (search-forward "\n\n") (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
178 1.13 (rms 03-Jun-93): (string-match senders (or (mail-fetch-field "From") ""))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
179 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
180 1.6 (rms 09-Mar-93): ;; General making of a summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
181 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
182 1.6 (rms 09-Mar-93): (defvar rmail-summary-symbol-number 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
183 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
184 1.134 (rms 03-Jul-05): (defvar rmail-new-summary-line-count)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
185 1.134 (rms 03-Jul-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
186 1.6 (rms 09-Mar-93): (defun rmail-new-summary (description redo-form function &rest args)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
187 1.1 (jimb 30-Nov-90): "Create a summary of selected messages.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
188 1.1 (jimb 30-Nov-90): DESCRIPTION makes part of the mode line of the summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
189 1.1 (jimb 30-Nov-90): For each message, FUNCTION is applied to the message number and ARGS...
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
190 1.1 (jimb 30-Nov-90): and if the result is non-nil, that message is included.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
191 1.1 (jimb 30-Nov-90): nil for FUNCTION means all messages."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
192 1.1 (jimb 30-Nov-90): (message "Computing summary lines...")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
193 1.6 (rms 09-Mar-93): (let (sumbuf mesg was-in-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
194 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
195 1.6 (rms 09-Mar-93): ;; Go to the Rmail buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
196 1.6 (rms 09-Mar-93): (if (eq major-mode 'rmail-summary-mode)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
197 1.118 (gerd 08-May-01): (setq was-in-summary t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
198 1.118 (gerd 08-May-01): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
199 1.6 (rms 09-Mar-93): ;; Find its summary buffer, or make one.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
200 1.11 (rms 28-May-93): (setq sumbuf
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
201 1.11 (rms 28-May-93): (if (and rmail-summary-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
202 1.11 (rms 28-May-93): (buffer-name rmail-summary-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
203 1.11 (rms 28-May-93): rmail-summary-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
204 1.11 (rms 28-May-93): (generate-new-buffer (concat (buffer-name) "-summary"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
205 1.6 (rms 09-Mar-93): (setq mesg rmail-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
206 1.6 (rms 09-Mar-93): ;; Filter the messages; make or get their summary lines.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
207 1.6 (rms 09-Mar-93): (let ((summary-msgs ())
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
208 1.134 (rms 03-Jul-05): (rmail-new-summary-line-count 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
209 1.6 (rms 09-Mar-93): (let ((msgnum 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
210 1.36 (kwzh 09-Apr-94): (buffer-read-only nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
211 1.36 (kwzh 09-Apr-94): (old-min (point-min-marker))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
212 1.36 (kwzh 09-Apr-94): (old-max (point-max-marker)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
213 1.36 (kwzh 09-Apr-94): ;; Can't use save-restriction here; that doesn't work if we
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
214 1.36 (kwzh 09-Apr-94): ;; plan to modify text outside the original restriction.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
215 1.36 (kwzh 09-Apr-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
216 1.36 (kwzh 09-Apr-94): (widen)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
217 1.36 (kwzh 09-Apr-94): (goto-char (point-min))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
218 1.36 (kwzh 09-Apr-94): (while (>= rmail-total-messages msgnum)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
219 1.36 (kwzh 09-Apr-94): (if (or (null function)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
220 1.36 (kwzh 09-Apr-94): (apply function (cons msgnum args)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
221 1.36 (kwzh 09-Apr-94): (setq summary-msgs
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
222 1.36 (kwzh 09-Apr-94): (cons (cons msgnum (rmail-make-summary-line msgnum))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
223 1.36 (kwzh 09-Apr-94): summary-msgs)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
224 1.36 (kwzh 09-Apr-94): (setq msgnum (1+ msgnum)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
225 1.36 (kwzh 09-Apr-94): (setq summary-msgs (nreverse summary-msgs)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
226 1.36 (kwzh 09-Apr-94): (narrow-to-region old-min old-max))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
227 1.11 (rms 28-May-93): ;; Temporarily, while summary buffer is unfinished,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
228 1.11 (rms 28-May-93): ;; we "don't have" a summary.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
229 1.11 (rms 28-May-93): (setq rmail-summary-buffer nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
230 1.118 (gerd 08-May-01): (if rmail-enable-mime
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
231 1.118 (gerd 08-May-01): (with-current-buffer rmail-view-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
232 1.118 (gerd 08-May-01): (setq rmail-summary-buffer nil)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
233 1.11 (rms 28-May-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
234 1.11 (rms 28-May-93): (let ((rbuf (current-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
235 1.94 (handa 26-Feb-97): (vbuf rmail-view-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
236 1.11 (rms 28-May-93): (total rmail-total-messages))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
237 1.11 (rms 28-May-93): (set-buffer sumbuf)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
238 1.11 (rms 28-May-93): ;; Set up the summary buffer's contents.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
239 1.11 (rms 28-May-93): (let ((buffer-read-only nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
240 1.11 (rms 28-May-93): (erase-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
241 1.11 (rms 28-May-93): (while summary-msgs
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
242 1.11 (rms 28-May-93): (princ (cdr (car summary-msgs)) sumbuf)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
243 1.11 (rms 28-May-93): (setq summary-msgs (cdr summary-msgs)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
244 1.11 (rms 28-May-93): (goto-char (point-min)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
245 1.11 (rms 28-May-93): ;; Set up the rest of its state and local variables.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
246 1.11 (rms 28-May-93): (setq buffer-read-only t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
247 1.11 (rms 28-May-93): (rmail-summary-mode)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
248 1.11 (rms 28-May-93): (make-local-variable 'minor-mode-alist)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
249 1.83 (rms 12-Jun-96): (setq minor-mode-alist (list (list t (concat ": " description))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
250 1.11 (rms 28-May-93): (setq rmail-buffer rbuf
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
251 1.94 (handa 26-Feb-97): rmail-view-buffer vbuf
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
252 1.11 (rms 28-May-93): rmail-summary-redo redo-form
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
253 1.11 (rms 28-May-93): rmail-total-messages total))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
254 1.11 (rms 28-May-93): (setq rmail-summary-buffer sumbuf))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
255 1.6 (rms 09-Mar-93): ;; Now display the summary buffer and go to the right place in it.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
256 1.6 (rms 09-Mar-93): (or was-in-summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
257 1.70 (rms 21-Aug-95): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
258 1.70 (rms 21-Aug-95): (if (and (one-window-p)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
259 1.70 (rms 21-Aug-95): pop-up-windows (not pop-up-frames))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
260 1.70 (rms 21-Aug-95): ;; If there is just one window, put the summary on the top.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
261 1.70 (rms 21-Aug-95): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
262 1.70 (rms 21-Aug-95): (split-window (selected-window) rmail-summary-window-size)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
263 1.70 (rms 21-Aug-95): (select-window (next-window (frame-first-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
264 1.70 (rms 21-Aug-95): (pop-to-buffer sumbuf)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
265 1.70 (rms 21-Aug-95): ;; If pop-to-buffer did not use that window, delete that
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
266 1.70 (rms 21-Aug-95): ;; window. (This can happen if it uses another frame.)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
267 1.70 (rms 21-Aug-95): (if (not (eq sumbuf (window-buffer (frame-first-window))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
268 1.70 (rms 21-Aug-95): (delete-other-windows)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
269 1.70 (rms 21-Aug-95): (pop-to-buffer sumbuf))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
270 1.70 (rms 21-Aug-95): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
271 1.70 (rms 21-Aug-95): ;; This is how rmail makes the summary buffer reappear.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
272 1.70 (rms 21-Aug-95): ;; We do this here to make the window the proper size.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
273 1.70 (rms 21-Aug-95): (rmail-select-summary nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
274 1.70 (rms 21-Aug-95): (set-buffer rmail-summary-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
275 1.6 (rms 09-Mar-93): (rmail-summary-goto-msg mesg t t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
276 1.69 (rms 17-Aug-95): (rmail-summary-construct-io-menu)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
277 1.6 (rms 09-Mar-93): (message "Computing summary lines...done")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
278 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
279 1.6 (rms 09-Mar-93): ;; Low levels of generating a summary.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
280 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
281 1.1 (jimb 30-Nov-90): (defun rmail-make-summary-line (msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
282 1.1 (jimb 30-Nov-90): (let ((line (or (aref rmail-summary-vector (1- msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
283 1.1 (jimb 30-Nov-90): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
284 1.134 (rms 03-Jul-05): (setq rmail-new-summary-line-count
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
285 1.134 (rms 03-Jul-05): (1+ rmail-new-summary-line-count))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
286 1.134 (rms 03-Jul-05): (if (zerop (% rmail-new-summary-line-count 10))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
287 1.1 (jimb 30-Nov-90): (message "Computing summary lines...%d"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
288 1.134 (rms 03-Jul-05): rmail-new-summary-line-count))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
289 1.147 (miles 03-Aug-07): (rmail-make-summary-line-1 msg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
290 1.147 (miles 03-Aug-07): delpos)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
291 1.1 (jimb 30-Nov-90): ;; Fix up the part of the summary that says "deleted" or "unseen".
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
292 1.147 (miles 03-Aug-07): (string-match "[0-9]+" line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
293 1.147 (miles 03-Aug-07): (aset line (match-end 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
294 1.147 (miles 03-Aug-07): (if (rmail-message-deleted-p msg) ?D
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
295 1.1 (jimb 30-Nov-90): (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
296 1.147 (miles 03-Aug-07): ?- ?\s)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
297 1.1 (jimb 30-Nov-90): line))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
298 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
299 1.94 (handa 26-Feb-97): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
300 1.96 (rms 03-May-97): (defcustom rmail-summary-line-decoder (function identity)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
301 1.94 (handa 26-Feb-97): "*Function to decode summary-line.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
302 1.94 (handa 26-Feb-97):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
303 1.96 (rms 03-May-97): By default, `identity' is set."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
304 1.96 (rms 03-May-97): :type 'function
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
305 1.96 (rms 03-May-97): :group 'rmail-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
306 1.94 (handa 26-Feb-97):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
307 1.1 (jimb 30-Nov-90): (defun rmail-make-summary-line-1 (msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
308 1.1 (jimb 30-Nov-90): (goto-char (rmail-msgbeg msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
309 1.1 (jimb 30-Nov-90): (let* ((lim (save-excursion (forward-line 2) (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
310 1.1 (jimb 30-Nov-90): pos
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
311 1.1 (jimb 30-Nov-90): (labels
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
312 1.1 (jimb 30-Nov-90): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
313 1.1 (jimb 30-Nov-90): (forward-char 3)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
314 1.1 (jimb 30-Nov-90): (concat
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
315 1.1 (jimb 30-Nov-90): ; (if (save-excursion (re-search-forward ",answered," lim t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
316 1.1 (jimb 30-Nov-90): ; "*" "")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
317 1.1 (jimb 30-Nov-90): ; (if (save-excursion (re-search-forward ",filed," lim t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
318 1.1 (jimb 30-Nov-90): ; "!" "")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
319 1.1 (jimb 30-Nov-90): (if (progn (search-forward ",,") (eolp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
320 1.1 (jimb 30-Nov-90): ""
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
321 1.1 (jimb 30-Nov-90): (concat "{"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
322 1.1 (jimb 30-Nov-90): (buffer-substring (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
323 1.130 (rms 30-Sep-03): (progn (end-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
324 1.130 (rms 30-Sep-03): (backward-char)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
325 1.130 (rms 30-Sep-03): (if (looking-at ",")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
326 1.130 (rms 30-Sep-03): (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
327 1.130 (rms 30-Sep-03): (1+ (point)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
328 1.130 (rms 30-Sep-03): " } ")))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
329 1.1 (jimb 30-Nov-90): (line
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
330 1.1 (jimb 30-Nov-90): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
331 1.1 (jimb 30-Nov-90): (forward-line 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
332 1.1 (jimb 30-Nov-90): (if (looking-at "Summary-line: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
333 1.1 (jimb 30-Nov-90): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
334 1.1 (jimb 30-Nov-90): (goto-char (match-end 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
335 1.141 (rms 26-Jan-06): (buffer-substring (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
336 1.141 (rms 26-Jan-06): (progn (forward-line 1) (point))))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
337 1.1 (jimb 30-Nov-90): ;; Obsolete status lines lacking a # should be flushed.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
338 1.1 (jimb 30-Nov-90): (and line
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
339 1.1 (jimb 30-Nov-90): (not (string-match "#" line))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
340 1.1 (jimb 30-Nov-90): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
341 1.1 (jimb 30-Nov-90): (delete-region (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
342 1.1 (jimb 30-Nov-90): (progn (forward-line -1) (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
343 1.1 (jimb 30-Nov-90): (setq line nil)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
344 1.1 (jimb 30-Nov-90): ;; If we didn't get a valid status line from the message,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
345 1.1 (jimb 30-Nov-90): ;; make a new one and put it in the message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
346 1.1 (jimb 30-Nov-90): (or line
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
347 1.1 (jimb 30-Nov-90): (let* ((case-fold-search t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
348 1.1 (jimb 30-Nov-90): (next (rmail-msgend msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
349 1.1 (jimb 30-Nov-90): (beg (if (progn (goto-char (rmail-msgbeg msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
350 1.1 (jimb 30-Nov-90): (search-forward "\n*** EOOH ***\n" next t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
351 1.1 (jimb 30-Nov-90): (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
352 1.1 (jimb 30-Nov-90): (forward-line 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
353 1.1 (jimb 30-Nov-90): (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
354 1.1 (jimb 30-Nov-90): (end (progn (search-forward "\n\n" nil t) (point))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
355 1.1 (jimb 30-Nov-90): (save-restriction
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
356 1.1 (jimb 30-Nov-90): (narrow-to-region beg end)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
357 1.1 (jimb 30-Nov-90): (goto-char beg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
358 1.1 (jimb 30-Nov-90): (setq line (rmail-make-basic-summary-line)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
359 1.1 (jimb 30-Nov-90): (goto-char (rmail-msgbeg msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
360 1.1 (jimb 30-Nov-90): (forward-line 2)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
361 1.1 (jimb 30-Nov-90): (insert "Summary-line: " line)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
362 1.1 (jimb 30-Nov-90): (setq pos (string-match "#" line))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
363 1.1 (jimb 30-Nov-90): (aset rmail-summary-vector (1- msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
364 1.94 (handa 26-Feb-97): (funcall rmail-summary-line-decoder
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
365 1.121 (gerd 05-Oct-01): (concat (format "%5d " msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
366 1.94 (handa 26-Feb-97): (substring line 0 pos)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
367 1.94 (handa 26-Feb-97): labels
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
368 1.94 (handa 26-Feb-97): (substring line (1+ pos)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
369 1.94 (handa 26-Feb-97): ))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
370 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
371 1.112 (gerd 03-Apr-00): ;;;###autoload
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
372 1.112 (gerd 03-Apr-00): (defcustom rmail-user-mail-address-regexp nil
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
373 1.112 (gerd 03-Apr-00): "*Regexp matching user mail addresses.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
374 1.112 (gerd 03-Apr-00): If non-nil, this variable is used to identify the correspondent
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
375 1.112 (gerd 03-Apr-00): when receiving new mail. If it matches the address of the sender,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
376 1.112 (gerd 03-Apr-00): the recipient is taken as correspondent of a mail.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
377 1.112 (gerd 03-Apr-00): If nil \(default value\), your `user-login-name' and `user-mail-address'
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
378 1.112 (gerd 03-Apr-00): are used to exclude yourself as correspondent.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
379 1.112 (gerd 03-Apr-00):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
380 1.112 (gerd 03-Apr-00): Usually you don't have to set this variable, except if you collect mails
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
381 1.112 (gerd 03-Apr-00): sent by you under different user names.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
382 1.125 (lektu 02-Jul-02): Then it should be a regexp matching your mail addresses.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
383 1.112 (gerd 03-Apr-00):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
384 1.112 (gerd 03-Apr-00): Setting this variable has an effect only before reading a mail."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
385 1.112 (gerd 03-Apr-00): :type '(choice (const :tag "None" nil) regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
386 1.112 (gerd 03-Apr-00): :group 'rmail-retrieve
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
387 1.112 (gerd 03-Apr-00): :version "21.1")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
388 1.112 (gerd 03-Apr-00):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
389 1.1 (jimb 30-Nov-90): (defun rmail-make-basic-summary-line ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
390 1.1 (jimb 30-Nov-90): (goto-char (point-min))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
391 1.1 (jimb 30-Nov-90): (concat (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
392 1.1 (jimb 30-Nov-90): (if (not (re-search-forward "^Date:" nil t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
393 1.1 (jimb 30-Nov-90): " "
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
394 1.1 (jimb 30-Nov-90): (cond ((re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
395 1.1 (jimb 30-Nov-90): (save-excursion (end-of-line) (point)) t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
396 1.1 (jimb 30-Nov-90): (format "%2d-%3s"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
397 1.132 (lektu 16-May-05): (string-to-number (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
398 1.132 (lektu 16-May-05): (match-beginning 2)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
399 1.132 (lektu 16-May-05): (match-end 2)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
400 1.1 (jimb 30-Nov-90): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
401 1.1 (jimb 30-Nov-90): (match-beginning 4) (match-end 4))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
402 1.1 (jimb 30-Nov-90): ((re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
403 1.1 (jimb 30-Nov-90): (save-excursion (end-of-line) (point)) t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
404 1.1 (jimb 30-Nov-90): (format "%2d-%3s"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
405 1.132 (lektu 16-May-05): (string-to-number (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
406 1.132 (lektu 16-May-05): (match-beginning 4)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
407 1.132 (lektu 16-May-05): (match-end 4)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
408 1.1 (jimb 30-Nov-90): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
409 1.1 (jimb 30-Nov-90): (match-beginning 2) (match-end 2))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
410 1.86 (miles 02-Jul-96): ((re-search-forward "\\(19\\|20\\)\\([0-9][0-9]\\)-\\([01][0-9]\\)-\\([0-3][0-9]\\)"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
411 1.86 (miles 02-Jul-96): (save-excursion (end-of-line) (point)) t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
412 1.86 (miles 02-Jul-96): (format "%2s%2s%2s"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
413 1.86 (miles 02-Jul-96): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
414 1.86 (miles 02-Jul-96): (match-beginning 2) (match-end 2))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
415 1.86 (miles 02-Jul-96): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
416 1.86 (miles 02-Jul-96): (match-beginning 3) (match-end 3))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
417 1.86 (miles 02-Jul-96): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
418 1.86 (miles 02-Jul-96): (match-beginning 4) (match-end 4))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
419 1.1 (jimb 30-Nov-90): (t "??????"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
420 1.1 (jimb 30-Nov-90): " "
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
421 1.1 (jimb 30-Nov-90): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
422 1.128 (rms 09-Apr-03): (let* ((from (and (re-search-forward "^From:[ \t]*" nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
423 1.128 (rms 09-Apr-03): (mail-strip-quoted-names
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
424 1.128 (rms 09-Apr-03): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
425 1.128 (rms 09-Apr-03): (1- (point))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
426 1.128 (rms 09-Apr-03): ;; Get all the lines of the From field
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
427 1.128 (rms 09-Apr-03): ;; so that we get a whole comment if there is one,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
428 1.128 (rms 09-Apr-03): ;; so that mail-strip-quoted-names can discard it.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
429 1.128 (rms 09-Apr-03): (let ((opoint (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
430 1.128 (rms 09-Apr-03): (while (progn (forward-line 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
431 1.128 (rms 09-Apr-03): (looking-at "[ \t]")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
432 1.128 (rms 09-Apr-03): ;; Back up over newline, then trailing spaces or tabs
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
433 1.128 (rms 09-Apr-03): (forward-char -1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
434 1.128 (rms 09-Apr-03): (skip-chars-backward " \t")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
435 1.128 (rms 09-Apr-03): (point))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
436 1.128 (rms 09-Apr-03): len mch lo)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
437 1.128 (rms 09-Apr-03): (if (or (null from)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
438 1.128 (rms 09-Apr-03): (string-match
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
439 1.128 (rms 09-Apr-03): (or rmail-user-mail-address-regexp
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
440 1.128 (rms 09-Apr-03): (concat "^\\("
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
441 1.128 (rms 09-Apr-03): (regexp-quote (user-login-name))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
442 1.128 (rms 09-Apr-03): "\\($\\|@\\)\\|"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
443 1.128 (rms 09-Apr-03): (regexp-quote
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
444 1.128 (rms 09-Apr-03): ;; Don't lose if run from init file
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
445 1.128 (rms 09-Apr-03): ;; where user-mail-address is not
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
446 1.128 (rms 09-Apr-03): ;; set yet.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
447 1.128 (rms 09-Apr-03): (or user-mail-address
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
448 1.128 (rms 09-Apr-03): (concat (user-login-name) "@"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
449 1.128 (rms 09-Apr-03): (or mail-host-address
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
450 1.128 (rms 09-Apr-03): (system-name)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
451 1.128 (rms 09-Apr-03): "\\>\\)"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
452 1.128 (rms 09-Apr-03): from))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
453 1.128 (rms 09-Apr-03): ;; No From field, or it's this user.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
454 1.128 (rms 09-Apr-03): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
455 1.128 (rms 09-Apr-03): (goto-char (point-min))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
456 1.128 (rms 09-Apr-03): (if (not (re-search-forward "^To:[ \t]*" nil t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
457 1.128 (rms 09-Apr-03): nil
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
458 1.128 (rms 09-Apr-03): (setq from
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
459 1.128 (rms 09-Apr-03): (concat "to: "
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
460 1.128 (rms 09-Apr-03): (mail-strip-quoted-names
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
461 1.128 (rms 09-Apr-03): (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
462 1.128 (rms 09-Apr-03): (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
463 1.128 (rms 09-Apr-03): (progn (end-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
464 1.128 (rms 09-Apr-03): (skip-chars-backward " \t")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
465 1.128 (rms 09-Apr-03): (point)))))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
466 1.128 (rms 09-Apr-03): (if (null from)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
467 1.128 (rms 09-Apr-03): " "
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
468 1.1 (jimb 30-Nov-90): (setq len (length from))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
469 1.1 (jimb 30-Nov-90): (setq mch (string-match "[@%]" from))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
470 1.1 (jimb 30-Nov-90): (format "%25s"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
471 1.1 (jimb 30-Nov-90): (if (or (not mch) (<= len 25))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
472 1.1 (jimb 30-Nov-90): (substring from (max 0 (- len 25)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
473 1.1 (jimb 30-Nov-90): (substring from
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
474 1.40 (rms 06-May-94): (setq lo (cond ((< (- mch 14) 0) 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
475 1.40 (rms 06-May-94): ((< len (+ mch 11))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
476 1.1 (jimb 30-Nov-90): (- len 25))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
477 1.40 (rms 06-May-94): (t (- mch 14))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
478 1.1 (jimb 30-Nov-90): (min len (+ lo 25))))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
479 1.92 (rms 04-Oct-96): (if rmail-summary-line-count-flag
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
480 1.91 (rms 04-Oct-96): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
481 1.91 (rms 04-Oct-96): (save-restriction
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
482 1.91 (rms 04-Oct-96): (widen)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
483 1.91 (rms 04-Oct-96): (let ((beg (rmail-msgbeg msgnum))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
484 1.91 (rms 04-Oct-96): (end (rmail-msgend msgnum))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
485 1.91 (rms 04-Oct-96): lines)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
486 1.91 (rms 04-Oct-96): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
487 1.91 (rms 04-Oct-96): (goto-char beg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
488 1.91 (rms 04-Oct-96): ;; Count only lines in the reformatted header,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
489 1.91 (rms 04-Oct-96): ;; if we have reformatted it.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
490 1.91 (rms 04-Oct-96): (search-forward "\n*** EOOH ***\n" end t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
491 1.91 (rms 04-Oct-96): (setq lines (count-lines (point) end)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
492 1.91 (rms 04-Oct-96): (format (cond
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
493 1.91 (rms 04-Oct-96): ((<= lines 9) " [%d]")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
494 1.91 (rms 04-Oct-96): ((<= lines 99) " [%d]")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
495 1.91 (rms 04-Oct-96): ((<= lines 999) " [%3d]")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
496 1.91 (rms 04-Oct-96): (t "[%d]"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
497 1.91 (rms 04-Oct-96): lines))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
498 1.91 (rms 04-Oct-96): " ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
499 1.79 (erik 26-Feb-96): " #" ;The # is part of the format.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
500 1.1 (jimb 30-Nov-90): (if (re-search-forward "^Subject:" nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
501 1.1 (jimb 30-Nov-90): (progn (skip-chars-forward " \t")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
502 1.1 (jimb 30-Nov-90): (buffer-substring (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
503 1.1 (jimb 30-Nov-90): (progn (end-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
504 1.1 (jimb 30-Nov-90): (point))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
505 1.1 (jimb 30-Nov-90): (re-search-forward "[\n][\n]+" nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
506 1.1 (jimb 30-Nov-90): (buffer-substring (point) (progn (end-of-line) (point))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
507 1.1 (jimb 30-Nov-90): "\n"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
508 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
509 1.6 (rms 09-Mar-93): ;; Simple motion in a summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
510 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
511 1.1 (jimb 30-Nov-90): (defun rmail-summary-next-all (&optional number)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
512 1.1 (jimb 30-Nov-90): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
513 1.7 (rms 13-Mar-93): (forward-line (if number number 1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
514 1.59 (rms 15-Oct-94): ;; It doesn't look nice to move forward past the last message line.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
515 1.59 (rms 15-Oct-94): (and (eobp) (> number 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
516 1.59 (rms 15-Oct-94): (forward-line -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
517 1.7 (rms 13-Mar-93): (display-buffer rmail-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
518 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
519 1.1 (jimb 30-Nov-90): (defun rmail-summary-previous-all (&optional number)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
520 1.1 (jimb 30-Nov-90): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
521 1.7 (rms 13-Mar-93): (forward-line (- (if number number 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
522 1.59 (rms 15-Oct-94): ;; It doesn't look nice to move forward past the last message line.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
523 1.59 (rms 15-Oct-94): (and (eobp) (< number 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
524 1.59 (rms 15-Oct-94): (forward-line -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
525 1.7 (rms 13-Mar-93): (display-buffer rmail-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
526 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
527 1.1 (jimb 30-Nov-90): (defun rmail-summary-next-msg (&optional number)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
528 1.6 (rms 09-Mar-93): "Display next non-deleted msg from rmail file.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
529 1.6 (rms 09-Mar-93): With optional prefix argument NUMBER, moves forward this number of non-deleted
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
530 1.6 (rms 09-Mar-93): messages, or backward if NUMBER is negative."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
531 1.1 (jimb 30-Nov-90): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
532 1.1 (jimb 30-Nov-90): (forward-line 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
533 1.15 (rms 04-Jun-93): (and (> number 0) (end-of-line))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
534 1.1 (jimb 30-Nov-90): (let ((count (if (< number 0) (- number) number))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
535 1.1 (jimb 30-Nov-90): (search (if (> number 0) 're-search-forward 're-search-backward))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
536 1.6 (rms 09-Mar-93): (non-del-msg-found nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
537 1.6 (rms 09-Mar-93): (while (and (> count 0) (setq non-del-msg-found
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
538 1.143 (eliz 11-Mar-06): (or (funcall search "^.....[^D]" nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
539 1.6 (rms 09-Mar-93): non-del-msg-found)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
540 1.7 (rms 13-Mar-93): (setq count (1- count))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
541 1.15 (rms 04-Jun-93): (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
542 1.127 (jpw 06-Feb-03): (display-buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
543 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
544 1.1 (jimb 30-Nov-90): (defun rmail-summary-previous-msg (&optional number)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
545 1.127 (jpw 06-Feb-03): "Display previous non-deleted msg from rmail file.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
546 1.127 (jpw 06-Feb-03): With optional prefix argument NUMBER, moves backward this number of
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
547 1.127 (jpw 06-Feb-03): non-deleted messages."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
548 1.1 (jimb 30-Nov-90): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
549 1.1 (jimb 30-Nov-90): (rmail-summary-next-msg (- (if number number 1))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
550 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
551 1.6 (rms 09-Mar-93): (defun rmail-summary-next-labeled-message (n labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
552 1.127 (jpw 06-Feb-03): "Show next message with LABELS. Defaults to last labels used.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
553 1.6 (rms 09-Mar-93): With prefix argument N moves forward N messages with these labels."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
554 1.6 (rms 09-Mar-93): (interactive "p\nsMove to next msg with labels: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
555 1.88 (kwzh 13-Jul-96): (let (msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
556 1.88 (kwzh 13-Jul-96): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
557 1.88 (kwzh 13-Jul-96): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
558 1.88 (kwzh 13-Jul-96): (rmail-next-labeled-message n labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
559 1.88 (kwzh 13-Jul-96): (setq msg rmail-current-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
560 1.88 (kwzh 13-Jul-96): (rmail-summary-goto-msg msg)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
561 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
562 1.6 (rms 09-Mar-93): (defun rmail-summary-previous-labeled-message (n labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
563 1.127 (jpw 06-Feb-03): "Show previous message with LABELS. Defaults to last labels used.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
564 1.6 (rms 09-Mar-93): With prefix argument N moves backward N messages with these labels."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
565 1.6 (rms 09-Mar-93): (interactive "p\nsMove to previous msg with labels: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
566 1.88 (kwzh 13-Jul-96): (let (msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
567 1.88 (kwzh 13-Jul-96): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
568 1.88 (kwzh 13-Jul-96): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
569 1.88 (kwzh 13-Jul-96): (rmail-previous-labeled-message n labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
570 1.88 (kwzh 13-Jul-96): (setq msg rmail-current-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
571 1.88 (kwzh 13-Jul-96): (rmail-summary-goto-msg msg)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
572 1.64 (rms 05-Feb-95):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
573 1.64 (rms 05-Feb-95): (defun rmail-summary-next-same-subject (n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
574 1.64 (rms 05-Feb-95): "Go to the next message in the summary having the same subject.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
575 1.64 (rms 05-Feb-95): With prefix argument N, do this N times.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
576 1.64 (rms 05-Feb-95): If N is negative, go backwards."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
577 1.64 (rms 05-Feb-95): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
578 1.140 (as 08-Jan-06): (let ((forward (> n 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
579 1.140 (as 08-Jan-06): search-regexp i found)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
580 1.140 (as 08-Jan-06): (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
581 1.140 (as 08-Jan-06): (setq search-regexp (rmail-current-subject-regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
582 1.140 (as 08-Jan-06): i rmail-current-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
583 1.64 (rms 05-Feb-95): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
584 1.64 (rms 05-Feb-95): (while (and (/= n 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
585 1.64 (rms 05-Feb-95): (if forward
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
586 1.64 (rms 05-Feb-95): (not (eobp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
587 1.64 (rms 05-Feb-95): (not (bobp))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
588 1.64 (rms 05-Feb-95): (let (done)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
589 1.64 (rms 05-Feb-95): (while (and (not done)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
590 1.64 (rms 05-Feb-95): (if forward
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
591 1.64 (rms 05-Feb-95): (not (eobp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
592 1.64 (rms 05-Feb-95): (not (bobp))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
593 1.64 (rms 05-Feb-95): ;; Advance thru summary.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
594 1.64 (rms 05-Feb-95): (forward-line (if forward 1 -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
595 1.64 (rms 05-Feb-95): ;; Get msg number of this line.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
596 1.132 (lektu 16-May-05): (setq i (string-to-number
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
597 1.64 (rms 05-Feb-95): (buffer-substring (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
598 1.121 (gerd 05-Oct-01): (min (point-max) (+ 6 (point))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
599 1.64 (rms 05-Feb-95): ;; See if that msg has desired subject.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
600 1.64 (rms 05-Feb-95): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
601 1.64 (rms 05-Feb-95): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
602 1.64 (rms 05-Feb-95): (save-restriction
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
603 1.64 (rms 05-Feb-95): (widen)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
604 1.64 (rms 05-Feb-95): (goto-char (rmail-msgbeg i))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
605 1.64 (rms 05-Feb-95): (search-forward "\n*** EOOH ***\n")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
606 1.64 (rms 05-Feb-95): (let ((beg (point)) end)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
607 1.64 (rms 05-Feb-95): (search-forward "\n\n")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
608 1.64 (rms 05-Feb-95): (setq end (point))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
609 1.64 (rms 05-Feb-95): (goto-char beg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
610 1.64 (rms 05-Feb-95): (setq done (re-search-forward search-regexp end t))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
611 1.64 (rms 05-Feb-95): (if done (setq found i)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
612 1.64 (rms 05-Feb-95): (setq n (if forward (1- n) (1+ n)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
613 1.64 (rms 05-Feb-95): (if found
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
614 1.64 (rms 05-Feb-95): (rmail-summary-goto-msg found)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
615 1.64 (rms 05-Feb-95): (error "No %s message with same subject"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
616 1.64 (rms 05-Feb-95): (if forward "following" "previous")))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
617 1.64 (rms 05-Feb-95):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
618 1.64 (rms 05-Feb-95): (defun rmail-summary-previous-same-subject (n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
619 1.64 (rms 05-Feb-95): "Go to the previous message in the summary having the same subject.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
620 1.64 (rms 05-Feb-95): With prefix argument N, do this N times.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
621 1.64 (rms 05-Feb-95): If N is negative, go forwards instead."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
622 1.64 (rms 05-Feb-95): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
623 1.64 (rms 05-Feb-95): (rmail-summary-next-same-subject (- n)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
624 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
625 1.6 (rms 09-Mar-93): ;; Delete and undelete summary commands.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
626 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
627 1.95 (rms 16-Apr-97): (defun rmail-summary-delete-forward (&optional count)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
628 1.6 (rms 09-Mar-93): "Delete this message and move to next nondeleted one.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
629 1.6 (rms 09-Mar-93): Deleted messages stay in the file until the \\[rmail-expunge] command is given.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
630 1.95 (rms 16-Apr-97): A prefix argument serves as a repeat count;
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
631 1.95 (rms 16-Apr-97): a negative argument means to delete and move backward."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
632 1.95 (rms 16-Apr-97): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
633 1.97 (rms 19-May-97): (unless (numberp count) (setq count 1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
634 1.95 (rms 16-Apr-97): (let (end del-msg
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
635 1.95 (rms 16-Apr-97): (backward (< count 0)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
636 1.95 (rms 16-Apr-97): (while (/= count 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
637 1.95 (rms 16-Apr-97): (rmail-summary-goto-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
638 1.95 (rms 16-Apr-97): (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
639 1.95 (rms 16-Apr-97): (rmail-delete-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
640 1.95 (rms 16-Apr-97): (setq del-msg rmail-current-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
641 1.23 (rms 30-Dec-93): (rmail-summary-mark-deleted del-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
642 1.23 (rms 30-Dec-93): (while (and (not (if backward (bobp) (eobp)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
643 1.25 (rms 08-Jan-94): (save-excursion (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
644 1.53 (rms 27-Sep-94): (looking-at " *[0-9]+D")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
645 1.60 (rms 15-Oct-94): (forward-line (if backward -1 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
646 1.60 (rms 15-Oct-94): ;; It looks ugly to move to the empty line at end of buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
647 1.60 (rms 15-Oct-94): (and (eobp) (not backward)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
648 1.95 (rms 16-Apr-97): (forward-line -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
649 1.95 (rms 16-Apr-97): (setq count
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
650 1.95 (rms 16-Apr-97): (if (> count 0) (1- count) (1+ count))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
651 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
652 1.95 (rms 16-Apr-97): (defun rmail-summary-delete-backward (&optional count)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
653 1.6 (rms 09-Mar-93): "Delete this message and move to previous nondeleted one.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
654 1.95 (rms 16-Apr-97): Deleted messages stay in the file until the \\[rmail-expunge] command is given.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
655 1.95 (rms 16-Apr-97): A prefix argument serves as a repeat count;
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
656 1.95 (rms 16-Apr-97): a negative argument means to delete and move forward."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
657 1.95 (rms 16-Apr-97): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
658 1.95 (rms 16-Apr-97): (rmail-summary-delete-forward (- count)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
659 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
660 1.6 (rms 09-Mar-93): (defun rmail-summary-mark-deleted (&optional n undel)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
661 1.76 (kwzh 24-Jan-96): ;; Since third arg is t, this only alters the summary, not the Rmail buf.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
662 1.10 (rms 25-May-93): (and n (rmail-summary-goto-msg n t t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
663 1.10 (rms 25-May-93): (or (eobp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
664 1.63 (rms 20-Jan-95): (not (overlay-get rmail-summary-overlay 'face))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
665 1.10 (rms 25-May-93): (let ((buffer-read-only nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
666 1.10 (rms 25-May-93): (skip-chars-forward " ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
667 1.10 (rms 25-May-93): (skip-chars-forward "[0-9]")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
668 1.10 (rms 25-May-93): (if undel
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
669 1.10 (rms 25-May-93): (if (looking-at "D")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
670 1.10 (rms 25-May-93): (progn (delete-char 1) (insert " ")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
671 1.10 (rms 25-May-93): (delete-char 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
672 1.10 (rms 25-May-93): (insert "D"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
673 1.6 (rms 09-Mar-93): (beginning-of-line))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
674 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
675 1.6 (rms 09-Mar-93): (defun rmail-summary-mark-undeleted (n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
676 1.6 (rms 09-Mar-93): (rmail-summary-mark-deleted n t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
677 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
678 1.6 (rms 09-Mar-93): (defun rmail-summary-deleted-p (&optional n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
679 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
680 1.6 (rms 09-Mar-93): (and n (rmail-summary-goto-msg n nil t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
681 1.6 (rms 09-Mar-93): (skip-chars-forward " ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
682 1.6 (rms 09-Mar-93): (skip-chars-forward "[0-9]")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
683 1.6 (rms 09-Mar-93): (looking-at "D")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
684 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
685 1.6 (rms 09-Mar-93): (defun rmail-summary-undelete (&optional arg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
686 1.6 (rms 09-Mar-93): "Undelete current message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
687 1.6 (rms 09-Mar-93): Optional prefix ARG means undelete ARG previous messages."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
688 1.6 (rms 09-Mar-93): (interactive "p")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
689 1.6 (rms 09-Mar-93): (if (/= arg 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
690 1.6 (rms 09-Mar-93): (rmail-summary-undelete-many arg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
691 1.26 (rms 26-Jan-94): (let ((buffer-read-only nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
692 1.26 (rms 26-Jan-94): (opoint (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
693 1.6 (rms 09-Mar-93): (end-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
694 1.6 (rms 09-Mar-93): (cond ((re-search-backward "\\(^ *[0-9]*\\)\\(D\\)" nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
695 1.6 (rms 09-Mar-93): (replace-match "\\1 ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
696 1.6 (rms 09-Mar-93): (rmail-summary-goto-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
697 1.118 (gerd 08-May-01): (if rmail-enable-mime
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
698 1.118 (gerd 08-May-01): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
699 1.118 (gerd 08-May-01): (pop-to-buffer rmail-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
700 1.6 (rms 09-Mar-93): (and (rmail-message-deleted-p rmail-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
701 1.6 (rms 09-Mar-93): (rmail-undelete-previous-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
702 1.118 (gerd 08-May-01): (if rmail-enable-mime
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
703 1.118 (gerd 08-May-01): (pop-to-buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
704 1.26 (rms 26-Jan-94): (pop-to-buffer rmail-summary-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
705 1.26 (rms 26-Jan-94): (t (goto-char opoint))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
706 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
707 1.6 (rms 09-Mar-93): (defun rmail-summary-undelete-many (&optional n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
708 1.6 (rms 09-Mar-93): "Undelete all deleted msgs, optional prefix arg N means undelete N prev msgs."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
709 1.6 (rms 09-Mar-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
710 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
711 1.6 (rms 09-Mar-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
712 1.6 (rms 09-Mar-93): (let* ((init-msg (if n rmail-current-message rmail-total-messages))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
713 1.6 (rms 09-Mar-93): (rmail-current-message init-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
714 1.6 (rms 09-Mar-93): (n (or n rmail-total-messages))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
715 1.6 (rms 09-Mar-93): (msgs-undeled 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
716 1.6 (rms 09-Mar-93): (while (and (> rmail-current-message 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
717 1.6 (rms 09-Mar-93): (< msgs-undeled n))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
718 1.6 (rms 09-Mar-93): (if (rmail-message-deleted-p rmail-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
719 1.6 (rms 09-Mar-93): (progn (rmail-set-attribute "deleted" nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
720 1.6 (rms 09-Mar-93): (setq msgs-undeled (1+ msgs-undeled))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
721 1.6 (rms 09-Mar-93): (setq rmail-current-message (1- rmail-current-message)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
722 1.6 (rms 09-Mar-93): (set-buffer rmail-summary-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
723 1.6 (rms 09-Mar-93): (setq rmail-current-message init-msg msgs-undeled 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
724 1.6 (rms 09-Mar-93): (while (and (> rmail-current-message 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
725 1.6 (rms 09-Mar-93): (< msgs-undeled n))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
726 1.6 (rms 09-Mar-93): (if (rmail-summary-deleted-p rmail-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
727 1.6 (rms 09-Mar-93): (progn (rmail-summary-mark-undeleted rmail-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
728 1.6 (rms 09-Mar-93): (setq msgs-undeled (1+ msgs-undeled))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
729 1.6 (rms 09-Mar-93): (setq rmail-current-message (1- rmail-current-message))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
730 1.6 (rms 09-Mar-93): (rmail-summary-goto-msg)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
731 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
732 1.1 (jimb 30-Nov-90): ;; Rmail Summary mode is suitable only for specially formatted data.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
733 1.1 (jimb 30-Nov-90): (put 'rmail-summary-mode 'mode-class 'special)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
734 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
735 1.1 (jimb 30-Nov-90): (defun rmail-summary-mode ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
736 1.6 (rms 09-Mar-93): "Rmail Summary Mode is invoked from Rmail Mode by using \\<rmail-mode-map>\\[rmail-summary].
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
737 1.6 (rms 09-Mar-93): As commands are issued in the summary buffer, they are applied to the
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
738 1.6 (rms 09-Mar-93): corresponding mail messages in the rmail buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
739 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
740 1.6 (rms 09-Mar-93): All normal editing commands are turned off.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
741 1.21 (rms 23-Nov-93): Instead, nearly all the Rmail mode commands are available,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
742 1.21 (rms 23-Nov-93): though many of them move only among the messages in the summary.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
743 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
744 1.21 (rms 23-Nov-93): These additional commands exist:
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
745 1.21 (rms 23-Nov-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
746 1.21 (rms 23-Nov-93): \\[rmail-summary-undelete-many] Undelete all or prefix arg deleted messages.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
747 1.21 (rms 23-Nov-93): \\[rmail-summary-wipe] Delete the summary and go to the Rmail buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
748 1.21 (rms 23-Nov-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
749 1.21 (rms 23-Nov-93): Commands for sorting the summary:
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
750 1.21 (rms 23-Nov-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
751 1.21 (rms 23-Nov-93): \\[rmail-summary-sort-by-date] Sort by date.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
752 1.21 (rms 23-Nov-93): \\[rmail-summary-sort-by-subject] Sort by subject.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
753 1.21 (rms 23-Nov-93): \\[rmail-summary-sort-by-author] Sort by author.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
754 1.21 (rms 23-Nov-93): \\[rmail-summary-sort-by-recipient] Sort by recipient.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
755 1.21 (rms 23-Nov-93): \\[rmail-summary-sort-by-correspondent] Sort by correspondent.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
756 1.33 (kwzh 07-Apr-94): \\[rmail-summary-sort-by-lines] Sort by lines.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
757 1.117 (gerd 07-May-01): \\[rmail-summary-sort-by-labels] Sort by labels."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
758 1.1 (jimb 30-Nov-90): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
759 1.1 (jimb 30-Nov-90): (kill-all-local-variables)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
760 1.1 (jimb 30-Nov-90): (setq major-mode 'rmail-summary-mode)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
761 1.1 (jimb 30-Nov-90): (setq mode-name "RMAIL Summary")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
762 1.1 (jimb 30-Nov-90): (setq truncate-lines t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
763 1.1 (jimb 30-Nov-90): (setq buffer-read-only t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
764 1.1 (jimb 30-Nov-90): (set-syntax-table text-mode-syntax-table)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
765 1.6 (rms 09-Mar-93): (make-local-variable 'rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
766 1.94 (handa 26-Feb-97): (make-local-variable 'rmail-view-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
767 1.6 (rms 09-Mar-93): (make-local-variable 'rmail-total-messages)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
768 1.6 (rms 09-Mar-93): (make-local-variable 'rmail-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
769 1.6 (rms 09-Mar-93): (setq rmail-current-message nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
770 1.6 (rms 09-Mar-93): (make-local-variable 'rmail-summary-redo)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
771 1.6 (rms 09-Mar-93): (setq rmail-summary-redo nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
772 1.6 (rms 09-Mar-93): (make-local-variable 'revert-buffer-function)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
773 1.58 (simon 12-Oct-94): (make-local-variable 'font-lock-defaults)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
774 1.58 (simon 12-Oct-94): (setq font-lock-defaults '(rmail-summary-font-lock-keywords t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
775 1.34 (kwzh 07-Apr-94): (rmail-summary-enable)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
776 1.133 (lute 26-May-05): (run-mode-hooks 'rmail-summary-mode-hook))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
777 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
778 1.34 (kwzh 07-Apr-94): ;; Summary features need to be disabled during edit mode.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
779 1.34 (kwzh 07-Apr-94): (defun rmail-summary-disable ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
780 1.35 (kwzh 07-Apr-94): (use-local-map text-mode-map)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
781 1.77 (simon 25-Jan-96): (remove-hook 'post-command-hook 'rmail-summary-rmail-update t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
782 1.35 (kwzh 07-Apr-94): (setq revert-buffer-function nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
783 1.34 (kwzh 07-Apr-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
784 1.34 (kwzh 07-Apr-94): (defun rmail-summary-enable ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
785 1.35 (kwzh 07-Apr-94): (use-local-map rmail-summary-mode-map)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
786 1.77 (simon 25-Jan-96): (add-hook 'post-command-hook 'rmail-summary-rmail-update nil t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
787 1.35 (kwzh 07-Apr-94): (setq revert-buffer-function 'rmail-update-summary))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
788 1.34 (kwzh 07-Apr-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
789 1.89 (rms 19-Sep-96): (defvar rmail-summary-put-back-unseen nil
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
790 1.89 (rms 19-Sep-96): "Used for communicating between calls to `rmail-summary-rmail-update'.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
791 1.89 (rms 19-Sep-96): If it moves to a message within an Incremental Search, and removes
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
792 1.89 (rms 19-Sep-96): the `unseen' attribute from that message, it sets this flag
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
793 1.89 (rms 19-Sep-96): so that if the next motion between messages is in the same Incremental
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
794 1.89 (rms 19-Sep-96): Search, the `unseen' attribute is restored.")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
795 1.89 (rms 19-Sep-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
796 1.7 (rms 13-Mar-93): ;; Show in Rmail the message described by the summary line that point is on,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
797 1.7 (rms 13-Mar-93): ;; but only if the Rmail buffer is already visible.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
798 1.6 (rms 09-Mar-93): ;; This is a post-command-hook in summary buffers.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
799 1.6 (rms 09-Mar-93): (defun rmail-summary-rmail-update ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
800 1.37 (kwzh 19-Apr-94): (let (buffer-read-only)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
801 1.37 (kwzh 19-Apr-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
802 1.37 (kwzh 19-Apr-94): ;; If at end of buffer, pretend we are on the last text line.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
803 1.37 (kwzh 19-Apr-94): (if (eobp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
804 1.37 (kwzh 19-Apr-94): (forward-line -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
805 1.37 (kwzh 19-Apr-94): (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
806 1.37 (kwzh 19-Apr-94): (skip-chars-forward " ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
807 1.132 (lektu 16-May-05): (let ((msg-num (string-to-number (buffer-substring
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
808 1.132 (lektu 16-May-05): (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
809 1.132 (lektu 16-May-05): (progn (skip-chars-forward "0-9")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
810 1.132 (lektu 16-May-05): (point))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
811 1.89 (rms 19-Sep-96): ;; Always leave `unseen' removed
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
812 1.89 (rms 19-Sep-96): ;; if we get out of isearch mode.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
813 1.89 (rms 19-Sep-96): ;; Don't let a subsequent isearch restore that `unseen'.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
814 1.89 (rms 19-Sep-96): (if (not isearch-mode)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
815 1.89 (rms 19-Sep-96): (setq rmail-summary-put-back-unseen nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
816 1.89 (rms 19-Sep-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
817 1.37 (kwzh 19-Apr-94): (or (eq rmail-current-message msg-num)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
818 1.100 (kwzh 16-Oct-97): (let ((window (get-buffer-window rmail-view-buffer t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
819 1.37 (kwzh 19-Apr-94): (owin (selected-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
820 1.89 (rms 19-Sep-96): (if isearch-mode
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
821 1.89 (rms 19-Sep-96): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
822 1.89 (rms 19-Sep-96): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
823 1.89 (rms 19-Sep-96): ;; If we first saw the previous message in this search,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
824 1.89 (rms 19-Sep-96): ;; and we have gone to a different message while searching,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
825 1.89 (rms 19-Sep-96): ;; put back `unseen' on the former one.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
826 1.102 (kwzh 04-Jun-98): (if rmail-summary-put-back-unseen
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
827 1.103 (kwzh 22-Jun-98): (rmail-set-attribute "unseen" t
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
828 1.103 (kwzh 22-Jun-98): rmail-current-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
829 1.89 (rms 19-Sep-96): ;; Arrange to do that later, for the new current message,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
830 1.89 (rms 19-Sep-96): ;; if it still has `unseen'.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
831 1.89 (rms 19-Sep-96): (setq rmail-summary-put-back-unseen
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
832 1.89 (rms 19-Sep-96): (rmail-message-labels-p msg-num ", ?\\(unseen\\),")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
833 1.89 (rms 19-Sep-96): (setq rmail-summary-put-back-unseen nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
834 1.89 (rms 19-Sep-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
835 1.89 (rms 19-Sep-96): ;; Go to the desired message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
836 1.37 (kwzh 19-Apr-94): (setq rmail-current-message msg-num)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
837 1.89 (rms 19-Sep-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
838 1.89 (rms 19-Sep-96): ;; Update the summary to show the message has been seen.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
839 1.37 (kwzh 19-Apr-94): (if (= (following-char) ?-)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
840 1.37 (kwzh 19-Apr-94): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
841 1.37 (kwzh 19-Apr-94): (delete-char 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
842 1.37 (kwzh 19-Apr-94): (insert " ")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
843 1.89 (rms 19-Sep-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
844 1.37 (kwzh 19-Apr-94): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
845 1.37 (kwzh 19-Apr-94): ;; Using save-window-excursion would cause the new value
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
846 1.14 (rms 03-Jun-93): ;; of point to get lost.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
847 1.14 (rms 03-Jun-93): (unwind-protect
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
848 1.14 (rms 03-Jun-93): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
849 1.14 (rms 03-Jun-93): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
850 1.56 (rms 11-Oct-94): (rmail-show-message msg-num t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
851 1.37 (kwzh 19-Apr-94): (select-window owin))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
852 1.49 (rms 26-Aug-94): (if (buffer-name rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
853 1.49 (rms 26-Aug-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
854 1.49 (rms 26-Aug-94): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
855 1.63 (rms 20-Jan-95): (rmail-show-message msg-num t))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
856 1.63 (rms 20-Jan-95): (rmail-summary-update-highlight nil)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
857 1.145 (gm 07-Jun-07):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
858 1.145 (gm 07-Jun-07): (defun rmail-summary-save-buffer ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
859 1.145 (gm 07-Jun-07): "Save the buffer associated with this RMAIL summary."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
860 1.145 (gm 07-Jun-07): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
861 1.145 (gm 07-Jun-07): (save-window-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
862 1.145 (gm 07-Jun-07): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
863 1.145 (gm 07-Jun-07): (switch-to-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
864 1.145 (gm 07-Jun-07): (save-buffer))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
865 1.145 (gm 07-Jun-07):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
866 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
867 1.6 (rms 09-Mar-93): (if rmail-summary-mode-map
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
868 1.6 (rms 09-Mar-93): nil
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
869 1.6 (rms 09-Mar-93): (setq rmail-summary-mode-map (make-keymap))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
870 1.6 (rms 09-Mar-93): (suppress-keymap rmail-summary-mode-map)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
871 1.98 (rms 04-Aug-97):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
872 1.98 (rms 04-Aug-97): (define-key rmail-summary-mode-map [mouse-2] 'rmail-summary-mouse-goto-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
873 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "a" 'rmail-summary-add-label)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
874 1.84 (rms 22-Jun-96): (define-key rmail-summary-mode-map "b" 'rmail-summary-bury)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
875 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "c" 'rmail-summary-continue)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
876 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "d" 'rmail-summary-delete-forward)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
877 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\C-d" 'rmail-summary-delete-backward)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
878 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "e" 'rmail-summary-edit-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
879 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "f" 'rmail-summary-forward)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
880 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "g" 'rmail-summary-get-new-mail)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
881 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "h" 'rmail-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
882 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "i" 'rmail-summary-input)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
883 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "j" 'rmail-summary-goto-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
884 1.110 (gerd 12-Dec-99): (define-key rmail-summary-mode-map "\C-m" 'rmail-summary-goto-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
885 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "k" 'rmail-summary-kill-label)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
886 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "l" 'rmail-summary-by-labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
887 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-h" 'rmail-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
888 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-l" 'rmail-summary-by-labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
889 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-r" 'rmail-summary-by-recipients)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
890 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-s" 'rmail-summary-by-regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
891 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-t" 'rmail-summary-by-topic)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
892 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "m" 'rmail-summary-mail)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
893 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\M-m" 'rmail-summary-retry-failure)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
894 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "n" 'rmail-summary-next-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
895 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\en" 'rmail-summary-next-all)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
896 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-n" 'rmail-summary-next-labeled-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
897 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "o" 'rmail-summary-output-to-rmail-file)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
898 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\C-o" 'rmail-summary-output)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
899 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "p" 'rmail-summary-previous-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
900 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\ep" 'rmail-summary-previous-all)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
901 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\e\C-p" 'rmail-summary-previous-labeled-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
902 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "q" 'rmail-summary-quit)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
903 1.101 (rms 23-May-98): (define-key rmail-summary-mode-map "Q" 'rmail-summary-wipe)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
904 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "r" 'rmail-summary-reply)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
905 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "s" 'rmail-summary-expunge-and-save)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
906 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\es" 'rmail-summary-search)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
907 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "t" 'rmail-summary-toggle-header)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
908 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "u" 'rmail-summary-undelete)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
909 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\M-u" 'rmail-summary-undelete-many)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
910 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "x" 'rmail-summary-expunge)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
911 1.101 (rms 23-May-98): (define-key rmail-summary-mode-map "w" 'rmail-summary-output-body)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
912 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "." 'rmail-summary-beginning-of-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
913 1.137 (eliz 12-Aug-05): (define-key rmail-summary-mode-map "/" 'rmail-summary-end-of-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
914 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "<" 'rmail-summary-first-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
915 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map ">" 'rmail-summary-last-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
916 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map " " 'rmail-summary-scroll-msg-up)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
917 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "\177" 'rmail-summary-scroll-msg-down)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
918 1.6 (rms 09-Mar-93): (define-key rmail-summary-mode-map "?" 'describe-mode)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
919 1.64 (rms 05-Feb-95): (define-key rmail-summary-mode-map "\C-c\C-n" 'rmail-summary-next-same-subject)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
920 1.64 (rms 05-Feb-95): (define-key rmail-summary-mode-map "\C-c\C-p" 'rmail-summary-previous-same-subject)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
921 1.18 (rms 22-Jun-93): (define-key rmail-summary-mode-map "\C-c\C-s\C-d"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
922 1.18 (rms 22-Jun-93): 'rmail-summary-sort-by-date)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
923 1.18 (rms 22-Jun-93): (define-key rmail-summary-mode-map "\C-c\C-s\C-s"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
924 1.18 (rms 22-Jun-93): 'rmail-summary-sort-by-subject)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
925 1.18 (rms 22-Jun-93): (define-key rmail-summary-mode-map "\C-c\C-s\C-a"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
926 1.18 (rms 22-Jun-93): 'rmail-summary-sort-by-author)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
927 1.18 (rms 22-Jun-93): (define-key rmail-summary-mode-map "\C-c\C-s\C-r"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
928 1.18 (rms 22-Jun-93): 'rmail-summary-sort-by-recipient)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
929 1.18 (rms 22-Jun-93): (define-key rmail-summary-mode-map "\C-c\C-s\C-c"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
930 1.18 (rms 22-Jun-93): 'rmail-summary-sort-by-correspondent)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
931 1.18 (rms 22-Jun-93): (define-key rmail-summary-mode-map "\C-c\C-s\C-l"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
932 1.18 (rms 22-Jun-93): 'rmail-summary-sort-by-lines)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
933 1.33 (kwzh 07-Apr-94): (define-key rmail-summary-mode-map "\C-c\C-s\C-k"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
934 1.117 (gerd 07-May-01): 'rmail-summary-sort-by-labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
935 1.145 (gm 07-Jun-07): (define-key rmail-summary-mode-map "\C-x\C-s" 'rmail-summary-save-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
936 1.6 (rms 09-Mar-93): )
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
937 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
938 1.17 (rms 22-Jun-93): ;;; Menu bar bindings.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
939 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
940 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar] (make-sparse-keymap))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
941 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
942 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar classify]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
943 1.17 (rms 22-Jun-93): (cons "Classify" (make-sparse-keymap "Classify")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
944 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
945 1.49 (rms 26-Aug-94): (define-key rmail-summary-mode-map [menu-bar classify output-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
946 1.49 (rms 26-Aug-94): '("Output (Rmail Menu)..." . rmail-summary-output-menu))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
947 1.49 (rms 26-Aug-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
948 1.49 (rms 26-Aug-94): (define-key rmail-summary-mode-map [menu-bar classify input-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
949 1.68 (kwzh 30-May-95): '("Input Rmail File (menu)..." . rmail-input-menu))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
950 1.49 (rms 26-Aug-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
951 1.51 (rms 19-Sep-94): (define-key rmail-summary-mode-map [menu-bar classify input-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
952 1.51 (rms 19-Sep-94): '(nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
953 1.51 (rms 19-Sep-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
954 1.51 (rms 19-Sep-94): (define-key rmail-summary-mode-map [menu-bar classify output-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
955 1.51 (rms 19-Sep-94): '(nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
956 1.51 (rms 19-Sep-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
957 1.101 (rms 23-May-98): (define-key rmail-summary-mode-map [menu-bar classify output-body]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
958 1.101 (rms 23-May-98): '("Output (body)..." . rmail-summary-output-body))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
959 1.101 (rms 23-May-98):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
960 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar classify output-inbox]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
961 1.47 (rms 02-Aug-94): '("Output (inbox)..." . rmail-summary-output))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
962 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
963 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar classify output]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
964 1.47 (rms 02-Aug-94): '("Output (Rmail)..." . rmail-summary-output-to-rmail-file))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
965 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
966 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar classify kill-label]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
967 1.47 (rms 02-Aug-94): '("Kill Label..." . rmail-summary-kill-label))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
968 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
969 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar classify add-label]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
970 1.47 (rms 02-Aug-94): '("Add Label..." . rmail-summary-add-label))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
971 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
972 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar summary]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
973 1.17 (rms 22-Jun-93): (cons "Summary" (make-sparse-keymap "Summary")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
974 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
975 1.85 (rms 25-Jun-96): (define-key rmail-summary-mode-map [menu-bar summary senders]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
976 1.85 (rms 25-Jun-96): '("By Senders..." . rmail-summary-by-senders))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
977 1.85 (rms 25-Jun-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
978 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar summary labels]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
979 1.47 (rms 02-Aug-94): '("By Labels..." . rmail-summary-by-labels))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
980 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
981 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar summary recipients]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
982 1.47 (rms 02-Aug-94): '("By Recipients..." . rmail-summary-by-recipients))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
983 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
984 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar summary topic]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
985 1.47 (rms 02-Aug-94): '("By Topic..." . rmail-summary-by-topic))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
986 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
987 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar summary regexp]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
988 1.47 (rms 02-Aug-94): '("By Regexp..." . rmail-summary-by-regexp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
989 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
990 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar summary all]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
991 1.17 (rms 22-Jun-93): '("All" . rmail-summary))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
992 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
993 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar mail]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
994 1.17 (rms 22-Jun-93): (cons "Mail" (make-sparse-keymap "Mail")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
995 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
996 1.45 (rms 02-Aug-94): (define-key rmail-summary-mode-map [menu-bar mail rmail-summary-get-new-mail]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
997 1.44 (rms 31-Jul-94): '("Get New Mail" . rmail-summary-get-new-mail))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
998 1.44 (rms 31-Jul-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
999 1.46 (rms 02-Aug-94): (define-key rmail-summary-mode-map [menu-bar mail lambda]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1000 1.44 (rms 31-Jul-94): '("----"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1001 1.42 (rms 29-Jul-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1002 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar mail continue]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1003 1.17 (rms 22-Jun-93): '("Continue" . rmail-summary-continue))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1004 1.44 (rms 31-Jul-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1005 1.44 (rms 31-Jul-94): (define-key rmail-summary-mode-map [menu-bar mail resend]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1006 1.57 (rms 11-Oct-94): '("Re-send..." . rmail-summary-resend))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1007 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1008 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar mail forward]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1009 1.17 (rms 22-Jun-93): '("Forward" . rmail-summary-forward))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1010 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1011 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar mail retry]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1012 1.17 (rms 22-Jun-93): '("Retry" . rmail-summary-retry-failure))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1013 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1014 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar mail reply]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1015 1.17 (rms 22-Jun-93): '("Reply" . rmail-summary-reply))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1016 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1017 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar mail mail]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1018 1.17 (rms 22-Jun-93): '("Mail" . rmail-summary-mail))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1019 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1020 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar delete]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1021 1.17 (rms 22-Jun-93): (cons "Delete" (make-sparse-keymap "Delete")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1022 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1023 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar delete expunge/save]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1024 1.17 (rms 22-Jun-93): '("Expunge/Save" . rmail-summary-expunge-and-save))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1025 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1026 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar delete expunge]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1027 1.17 (rms 22-Jun-93): '("Expunge" . rmail-summary-expunge))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1028 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1029 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar delete undelete]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1030 1.17 (rms 22-Jun-93): '("Undelete" . rmail-summary-undelete))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1031 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1032 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar delete delete]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1033 1.17 (rms 22-Jun-93): '("Delete" . rmail-summary-delete-forward))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1034 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1035 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1036 1.17 (rms 22-Jun-93): (cons "Move" (make-sparse-keymap "Move")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1037 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1038 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move search-back]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1039 1.47 (rms 02-Aug-94): '("Search Back..." . rmail-summary-search-backward))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1040 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1041 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move search]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1042 1.47 (rms 02-Aug-94): '("Search..." . rmail-summary-search))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1043 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1044 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move previous]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1045 1.17 (rms 22-Jun-93): '("Previous Nondeleted" . rmail-summary-previous-msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1046 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1047 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move next]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1048 1.17 (rms 22-Jun-93): '("Next Nondeleted" . rmail-summary-next-msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1049 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1050 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move last]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1051 1.17 (rms 22-Jun-93): '("Last" . rmail-summary-last-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1052 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1053 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move first]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1054 1.17 (rms 22-Jun-93): '("First" . rmail-summary-first-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1055 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1056 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move previous]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1057 1.17 (rms 22-Jun-93): '("Previous" . rmail-summary-previous-all))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1058 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1059 1.17 (rms 22-Jun-93): (define-key rmail-summary-mode-map [menu-bar move next]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1060 1.17 (rms 22-Jun-93): '("Next" . rmail-summary-next-all))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1061 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1062 1.98 (rms 04-Aug-97): (defun rmail-summary-mouse-goto-message (event)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1063 1.98 (rms 04-Aug-97): "Select the message whose summary line you click on."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1064 1.98 (rms 04-Aug-97): (interactive "@e")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1065 1.98 (rms 04-Aug-97): (goto-char (posn-point (event-end event)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1066 1.98 (rms 04-Aug-97): (rmail-summary-goto-msg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1067 1.76 (kwzh 24-Jan-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1068 1.98 (rms 04-Aug-97): (defun rmail-summary-goto-msg (&optional n nowarn skip-rmail)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1069 1.98 (rms 04-Aug-97): "Go to message N in the summary buffer and the Rmail buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1070 1.98 (rms 04-Aug-97): If N is nil, use the message corresponding to point in the summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1071 1.98 (rms 04-Aug-97): and move to that message in the Rmail buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1072 1.76 (kwzh 24-Jan-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1073 1.98 (rms 04-Aug-97): If NOWARN, don't say anything if N is out of range.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1074 1.98 (rms 04-Aug-97): If SKIP-RMAIL, don't do anything to the Rmail buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1075 1.1 (jimb 30-Nov-90): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1076 1.1 (jimb 30-Nov-90): (if (consp n) (setq n (prefix-numeric-value n)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1077 1.1 (jimb 30-Nov-90): (if (eobp) (forward-line -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1078 1.1 (jimb 30-Nov-90): (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1079 1.54 (rms 06-Oct-94): (let* ((obuf (current-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1080 1.54 (rms 06-Oct-94): (buf rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1081 1.54 (rms 06-Oct-94): (cur (point))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1082 1.54 (rms 06-Oct-94): message-not-found
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1083 1.132 (lektu 16-May-05): (curmsg (string-to-number
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1084 1.54 (rms 06-Oct-94): (buffer-substring (point)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1085 1.121 (gerd 05-Oct-01): (min (point-max) (+ 6 (point))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1086 1.54 (rms 06-Oct-94): (total (save-excursion (set-buffer buf) rmail-total-messages)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1087 1.29 (rms 19-Mar-94): ;; If message number N was specified, find that message's line
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1088 1.29 (rms 19-Mar-94): ;; or set message-not-found.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1089 1.29 (rms 19-Mar-94): ;; If N wasn't specified or that message can't be found.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1090 1.29 (rms 19-Mar-94): ;; set N by default.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1091 1.1 (jimb 30-Nov-90): (if (not n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1092 1.1 (jimb 30-Nov-90): (setq n curmsg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1093 1.1 (jimb 30-Nov-90): (if (< n 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1094 1.1 (jimb 30-Nov-90): (progn (message "No preceding message")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1095 1.1 (jimb 30-Nov-90): (setq n 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1096 1.131 (eliz 01-Nov-03): (if (and (> n total)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1097 1.131 (eliz 01-Nov-03): (> total 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1098 1.1 (jimb 30-Nov-90): (progn (message "No following message")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1099 1.1 (jimb 30-Nov-90): (goto-char (point-max))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1100 1.76 (kwzh 24-Jan-96): (rmail-summary-goto-msg nil nowarn skip-rmail)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1101 1.1 (jimb 30-Nov-90): (goto-char (point-min))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1102 1.121 (gerd 05-Oct-01): (if (not (re-search-forward (format "^%5d[^0-9]" n) nil t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1103 1.1 (jimb 30-Nov-90): (progn (or nowarn (message "Message %d not found" n))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1104 1.1 (jimb 30-Nov-90): (setq n curmsg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1105 1.29 (rms 19-Mar-94): (setq message-not-found t)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1106 1.1 (jimb 30-Nov-90): (goto-char cur))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1107 1.1 (jimb 30-Nov-90): (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1108 1.1 (jimb 30-Nov-90): (skip-chars-forward " ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1109 1.1 (jimb 30-Nov-90): (skip-chars-forward "0-9")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1110 1.1 (jimb 30-Nov-90): (save-excursion (if (= (following-char) ?-)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1111 1.1 (jimb 30-Nov-90): (let ((buffer-read-only nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1112 1.1 (jimb 30-Nov-90): (delete-char 1)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1113 1.1 (jimb 30-Nov-90): (insert " "))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1114 1.63 (rms 20-Jan-95): (rmail-summary-update-highlight message-not-found)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1115 1.1 (jimb 30-Nov-90): (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1116 1.6 (rms 09-Mar-93): (if skip-rmail
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1117 1.6 (rms 09-Mar-93): nil
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1118 1.22 (rms 23-Dec-93): (let ((selwin (selected-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1119 1.22 (rms 23-Dec-93): (unwind-protect
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1120 1.22 (rms 23-Dec-93): (progn (pop-to-buffer buf)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1121 1.22 (rms 23-Dec-93): (rmail-show-message n))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1122 1.50 (rms 13-Sep-94): (select-window selwin)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1123 1.50 (rms 13-Sep-94): ;; The actions above can alter the current buffer. Preserve it.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1124 1.50 (rms 13-Sep-94): (set-buffer obuf))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1125 1.63 (rms 20-Jan-95):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1126 1.63 (rms 20-Jan-95): ;; Update the highlighted line in an rmail summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1127 1.63 (rms 20-Jan-95): ;; That should be current. We highlight the line point is on.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1128 1.63 (rms 20-Jan-95): ;; If NOT-FOUND is non-nil, we turn off highlighting.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1129 1.63 (rms 20-Jan-95): (defun rmail-summary-update-highlight (not-found)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1130 1.63 (rms 20-Jan-95): ;; Make sure we have an overlay to use.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1131 1.63 (rms 20-Jan-95): (or rmail-summary-overlay
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1132 1.63 (rms 20-Jan-95): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1133 1.63 (rms 20-Jan-95): (make-local-variable 'rmail-summary-overlay)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1134 1.63 (rms 20-Jan-95): (setq rmail-summary-overlay (make-overlay (point) (point)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1135 1.63 (rms 20-Jan-95): ;; If this message is in the summary, use the overlay to highlight it.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1136 1.63 (rms 20-Jan-95): ;; Otherwise, don't highlight anything.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1137 1.63 (rms 20-Jan-95): (if not-found
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1138 1.63 (rms 20-Jan-95): (overlay-put rmail-summary-overlay 'face nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1139 1.63 (rms 20-Jan-95): (move-overlay rmail-summary-overlay
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1140 1.63 (rms 20-Jan-95): (save-excursion (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1141 1.63 (rms 20-Jan-95): (skip-chars-forward " ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1142 1.63 (rms 20-Jan-95): (point))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1143 1.63 (rms 20-Jan-95): (save-excursion (end-of-line) (point)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1144 1.63 (rms 20-Jan-95): (overlay-put rmail-summary-overlay 'face 'highlight)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1145 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1146 1.1 (jimb 30-Nov-90): (defun rmail-summary-scroll-msg-up (&optional dist)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1147 1.61 (rms 20-Nov-94): "Scroll the Rmail window forward.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1148 1.61 (rms 20-Nov-94): If the Rmail window is displaying the end of a message,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1149 1.61 (rms 20-Nov-94): advance to the next message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1150 1.1 (jimb 30-Nov-90): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1151 1.61 (rms 20-Nov-94): (if (eq dist '-)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1152 1.61 (rms 20-Nov-94): (rmail-summary-scroll-msg-down nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1153 1.94 (handa 26-Feb-97): (let ((rmail-buffer-window (get-buffer-window rmail-view-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1154 1.61 (rms 20-Nov-94): (if rmail-buffer-window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1155 1.61 (rms 20-Nov-94): (if (let ((rmail-summary-window (selected-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1156 1.61 (rms 20-Nov-94): (select-window rmail-buffer-window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1157 1.61 (rms 20-Nov-94): (prog1
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1158 1.61 (rms 20-Nov-94): ;; Is EOB visible in the buffer?
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1159 1.61 (rms 20-Nov-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1160 1.61 (rms 20-Nov-94): (let ((ht (window-height (selected-window))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1161 1.61 (rms 20-Nov-94): (move-to-window-line (- ht 2))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1162 1.61 (rms 20-Nov-94): (end-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1163 1.61 (rms 20-Nov-94): (eobp)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1164 1.61 (rms 20-Nov-94): (select-window rmail-summary-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1165 1.82 (rms 04-Apr-96): (if (not rmail-summary-scroll-between-messages)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1166 1.82 (rms 04-Apr-96): (error "End of buffer")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1167 1.82 (rms 04-Apr-96): (rmail-summary-next-msg (or dist 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1168 1.94 (handa 26-Feb-97): (let ((other-window-scroll-buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1169 1.61 (rms 20-Nov-94): (scroll-other-window dist)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1170 1.93 (rms 14-Dec-96): ;; If it isn't visible at all, show the beginning.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1171 1.93 (rms 14-Dec-96): (rmail-summary-beginning-of-message)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1172 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1173 1.1 (jimb 30-Nov-90): (defun rmail-summary-scroll-msg-down (&optional dist)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1174 1.61 (rms 20-Nov-94): "Scroll the Rmail window backward.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1175 1.93 (rms 14-Dec-96): If the Rmail window is now displaying the beginning of a message,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1176 1.93 (rms 14-Dec-96): move to the previous message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1177 1.1 (jimb 30-Nov-90): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1178 1.61 (rms 20-Nov-94): (if (eq dist '-)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1179 1.61 (rms 20-Nov-94): (rmail-summary-scroll-msg-up nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1180 1.118 (gerd 08-May-01): (let ((rmail-buffer-window (get-buffer-window rmail-view-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1181 1.61 (rms 20-Nov-94): (if rmail-buffer-window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1182 1.61 (rms 20-Nov-94): (if (let ((rmail-summary-window (selected-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1183 1.61 (rms 20-Nov-94): (select-window rmail-buffer-window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1184 1.61 (rms 20-Nov-94): (prog1
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1185 1.61 (rms 20-Nov-94): ;; Is BOB visible in the buffer?
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1186 1.61 (rms 20-Nov-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1187 1.61 (rms 20-Nov-94): (move-to-window-line 0)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1188 1.61 (rms 20-Nov-94): (beginning-of-line)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1189 1.61 (rms 20-Nov-94): (bobp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1190 1.61 (rms 20-Nov-94): (select-window rmail-summary-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1191 1.82 (rms 04-Apr-96): (if (not rmail-summary-scroll-between-messages)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1192 1.82 (rms 04-Apr-96): (error "Beginning of buffer")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1193 1.82 (rms 04-Apr-96): (rmail-summary-previous-msg (or dist 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1194 1.118 (gerd 08-May-01): (let ((other-window-scroll-buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1195 1.61 (rms 20-Nov-94): (scroll-other-window-down dist)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1196 1.93 (rms 14-Dec-96): ;; If it isn't visible at all, show the beginning.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1197 1.93 (rms 14-Dec-96): (rmail-summary-beginning-of-message)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1198 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1199 1.6 (rms 09-Mar-93): (defun rmail-summary-beginning-of-message ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1200 1.6 (rms 09-Mar-93): "Show current message from the beginning."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1201 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1202 1.137 (eliz 12-Aug-05): (rmail-summary-show-message 'BEG))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1203 1.137 (eliz 12-Aug-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1204 1.137 (eliz 12-Aug-05): (defun rmail-summary-end-of-message ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1205 1.137 (eliz 12-Aug-05): "Show bottom of current message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1206 1.137 (eliz 12-Aug-05): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1207 1.137 (eliz 12-Aug-05): (rmail-summary-show-message 'END))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1208 1.137 (eliz 12-Aug-05):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1209 1.137 (eliz 12-Aug-05): (defun rmail-summary-show-message (where)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1210 1.137 (eliz 12-Aug-05): "Show current mail message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1211 1.137 (eliz 12-Aug-05): Position it according to WHERE which can be BEG or END"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1212 1.93 (rms 14-Dec-96): (if (and (one-window-p) (not pop-up-frames))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1213 1.93 (rms 14-Dec-96): ;; If there is just one window, put the summary on the top.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1214 1.118 (gerd 08-May-01): (let ((buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1215 1.93 (rms 14-Dec-96): (split-window (selected-window) rmail-summary-window-size)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1216 1.93 (rms 14-Dec-96): (select-window (frame-first-window))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1217 1.118 (gerd 08-May-01): (pop-to-buffer rmail-view-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1218 1.93 (rms 14-Dec-96): ;; If pop-to-buffer did not use that window, delete that
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1219 1.93 (rms 14-Dec-96): ;; window. (This can happen if it uses another frame.)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1220 1.93 (rms 14-Dec-96): (or (eq buffer (window-buffer (next-window (frame-first-window))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1221 1.93 (rms 14-Dec-96): (delete-other-windows)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1222 1.118 (gerd 08-May-01): (pop-to-buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1223 1.137 (eliz 12-Aug-05): (cond
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1224 1.137 (eliz 12-Aug-05): ((eq where 'BEG)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1225 1.137 (eliz 12-Aug-05): (goto-char (point-min))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1226 1.137 (eliz 12-Aug-05): (search-forward "\n\n"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1227 1.137 (eliz 12-Aug-05): ((eq where 'END)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1228 1.137 (eliz 12-Aug-05): (goto-char (point-max))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1229 1.137 (eliz 12-Aug-05): (recenter (1- (window-height))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1230 1.137 (eliz 12-Aug-05): )
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1231 1.6 (rms 09-Mar-93): (pop-to-buffer rmail-summary-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1232 1.84 (rms 22-Jun-96):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1233 1.84 (rms 22-Jun-96): (defun rmail-summary-bury ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1234 1.84 (rms 22-Jun-96): "Bury the Rmail buffer and the Rmail summary buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1235 1.84 (rms 22-Jun-96): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1236 1.84 (rms 22-Jun-96): (let ((buffer-to-bury (current-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1237 1.84 (rms 22-Jun-96): (let (window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1238 1.84 (rms 22-Jun-96): (while (setq window (get-buffer-window rmail-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1239 1.84 (rms 22-Jun-96): (set-window-buffer window (other-buffer rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1240 1.84 (rms 22-Jun-96): (bury-buffer rmail-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1241 1.84 (rms 22-Jun-96): (switch-to-buffer (other-buffer buffer-to-bury))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1242 1.84 (rms 22-Jun-96): (bury-buffer buffer-to-bury)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1243 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1244 1.1 (jimb 30-Nov-90): (defun rmail-summary-quit ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1245 1.6 (rms 09-Mar-93): "Quit out of Rmail and Rmail summary."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1246 1.1 (jimb 30-Nov-90): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1247 1.6 (rms 09-Mar-93): (rmail-summary-wipe)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1248 1.1 (jimb 30-Nov-90): (rmail-quit))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1249 1.1 (jimb 30-Nov-90):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1250 1.6 (rms 09-Mar-93): (defun rmail-summary-wipe ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1251 1.6 (rms 09-Mar-93): "Kill and wipe away Rmail summary, remaining within Rmail."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1252 1.1 (jimb 30-Nov-90): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1253 1.6 (rms 09-Mar-93): (save-excursion (set-buffer rmail-buffer) (setq rmail-summary-buffer nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1254 1.118 (gerd 08-May-01): (let ((local-rmail-buffer rmail-view-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1255 1.6 (rms 09-Mar-93): (kill-buffer (current-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1256 1.6 (rms 09-Mar-93): ;; Delete window if not only one.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1257 1.6 (rms 09-Mar-93): (if (not (eq (selected-window) (next-window nil 'no-minibuf)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1258 1.6 (rms 09-Mar-93): (delete-window))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1259 1.21 (rms 23-Nov-93): ;; Switch windows to the rmail buffer, or switch to it in this window.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1260 1.21 (rms 23-Nov-93): (pop-to-buffer local-rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1261 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1262 1.6 (rms 09-Mar-93): (defun rmail-summary-expunge ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1263 1.6 (rms 09-Mar-93): "Actually erase all deleted messages and recompute summary headers."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1264 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1265 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1266 1.6 (rms 09-Mar-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1267 1.115 (gerd 12-Dec-00): (when (rmail-expunge-confirmed)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1268 1.114 (gerd 04-Dec-00): (rmail-only-expunge)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1269 1.6 (rms 09-Mar-93): (rmail-update-summary))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1270 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1271 1.6 (rms 09-Mar-93): (defun rmail-summary-expunge-and-save ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1272 1.6 (rms 09-Mar-93): "Expunge and save RMAIL file."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1273 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1274 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1275 1.6 (rms 09-Mar-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1276 1.115 (gerd 12-Dec-00): (when (rmail-expunge-confirmed)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1277 1.114 (gerd 04-Dec-00): (rmail-only-expunge)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1278 1.15 (rms 04-Jun-93): (rmail-update-summary)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1279 1.15 (rms 04-Jun-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1280 1.14 (rms 03-Jun-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1281 1.28 (kwzh 09-Feb-94): (save-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1282 1.28 (kwzh 09-Feb-94): (set-buffer-modified-p nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1283 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1284 1.99 (rms 27-Aug-97): (defun rmail-summary-get-new-mail (&optional file-name)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1285 1.99 (rms 27-Aug-97): "Get new mail and recompute summary headers.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1286 1.99 (rms 27-Aug-97):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1287 1.99 (rms 27-Aug-97): Optionally you can specify the file to get new mail from. In this case,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1288 1.99 (rms 27-Aug-97): the file of new mail is not changed or deleted. Noninteractively, you can
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1289 1.99 (rms 27-Aug-97): pass the inbox file name as an argument. Interactively, a prefix
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1290 1.99 (rms 27-Aug-97): argument says to read a file name and use that file as the inbox."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1291 1.99 (rms 27-Aug-97): (interactive
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1292 1.99 (rms 27-Aug-97): (list (if current-prefix-arg
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1293 1.99 (rms 27-Aug-97): (read-file-name "Get new mail from file: "))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1294 1.15 (rms 04-Jun-93): (let (msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1295 1.15 (rms 04-Jun-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1296 1.15 (rms 04-Jun-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1297 1.99 (rms 27-Aug-97): (rmail-get-new-mail file-name)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1298 1.15 (rms 04-Jun-93): ;; Get the proper new message number.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1299 1.15 (rms 04-Jun-93): (setq msg rmail-current-message))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1300 1.15 (rms 04-Jun-93): ;; Make sure that message is displayed.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1301 1.73 (rms 30-Nov-95): (or (zerop msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1302 1.73 (rms 30-Nov-95): (rmail-summary-goto-msg msg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1303 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1304 1.6 (rms 09-Mar-93): (defun rmail-summary-input (filename)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1305 1.6 (rms 09-Mar-93): "Run Rmail on file FILENAME."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1306 1.6 (rms 09-Mar-93): (interactive "FRun rmail on RMAIL file: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1307 1.15 (rms 04-Jun-93): ;; We switch windows here, then display the other Rmail file there.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1308 1.15 (rms 04-Jun-93): (pop-to-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1309 1.15 (rms 04-Jun-93): (rmail filename))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1310 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1311 1.6 (rms 09-Mar-93): (defun rmail-summary-first-message ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1312 1.6 (rms 09-Mar-93): "Show first message in Rmail file from summary buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1313 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1314 1.134 (rms 03-Jul-05): (with-no-warnings
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1315 1.134 (rms 03-Jul-05): (beginning-of-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1316 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1317 1.6 (rms 09-Mar-93): (defun rmail-summary-last-message ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1318 1.6 (rms 09-Mar-93): "Show last message in Rmail file from summary buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1319 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1320 1.134 (rms 03-Jul-05): (with-no-warnings
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1321 1.134 (rms 03-Jul-05): (end-of-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1322 1.6 (rms 09-Mar-93): (forward-line -1))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1323 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1324 1.148 (dann 27-Nov-07): (declare-function rmail-abort-edit "rmailedit" ())
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1325 1.148 (dann 27-Nov-07): (declare-function rmail-cease-edit "rmailedit"())
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1326 1.148 (dann 27-Nov-07): (declare-function rmail-set-label "rmailkwd" (l state &optional n))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1327 1.148 (dann 27-Nov-07): (declare-function rmail-output-read-file-name "rmailout" ())
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1328 1.148 (dann 27-Nov-07): (declare-function rmail-output-read-rmail-file-name "rmailout" ())
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1329 1.148 (dann 27-Nov-07): (declare-function mail-send-and-exit "sendmail" (&optional arg))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1330 1.148 (dann 27-Nov-07):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1331 1.6 (rms 09-Mar-93): (defvar rmail-summary-edit-map nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1332 1.6 (rms 09-Mar-93): (if rmail-summary-edit-map
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1333 1.6 (rms 09-Mar-93): nil
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1334 1.6 (rms 09-Mar-93): (setq rmail-summary-edit-map
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1335 1.19 (rms 12-Nov-93): (nconc (make-sparse-keymap) text-mode-map))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1336 1.6 (rms 09-Mar-93): (define-key rmail-summary-edit-map "\C-c\C-c" 'rmail-cease-edit)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1337 1.6 (rms 09-Mar-93): (define-key rmail-summary-edit-map "\C-c\C-]" 'rmail-abort-edit))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1338 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1339 1.6 (rms 09-Mar-93): (defun rmail-summary-edit-current-message ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1340 1.6 (rms 09-Mar-93): "Edit the contents of this message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1341 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1342 1.6 (rms 09-Mar-93): (pop-to-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1343 1.6 (rms 09-Mar-93): (rmail-edit-current-message)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1344 1.6 (rms 09-Mar-93): (use-local-map rmail-summary-edit-map))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1345 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1346 1.6 (rms 09-Mar-93): (defun rmail-summary-cease-edit ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1347 1.6 (rms 09-Mar-93): "Finish editing message, then go back to Rmail summary buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1348 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1349 1.6 (rms 09-Mar-93): (rmail-cease-edit)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1350 1.6 (rms 09-Mar-93): (pop-to-buffer rmail-summary-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1351 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1352 1.6 (rms 09-Mar-93): (defun rmail-summary-abort-edit ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1353 1.6 (rms 09-Mar-93): "Abort edit of current message; restore original contents.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1354 1.6 (rms 09-Mar-93): Go back to summary buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1355 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1356 1.6 (rms 09-Mar-93): (rmail-abort-edit)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1357 1.6 (rms 09-Mar-93): (pop-to-buffer rmail-summary-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1358 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1359 1.17 (rms 22-Jun-93): (defun rmail-summary-search-backward (regexp &optional n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1360 1.17 (rms 22-Jun-93): "Show message containing next match for REGEXP.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1361 1.17 (rms 22-Jun-93): Prefix argument gives repeat count; negative argument means search
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1362 1.17 (rms 22-Jun-93): backwards (through earlier messages).
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1363 1.17 (rms 22-Jun-93): Interactively, empty argument means use same regexp used last time."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1364 1.17 (rms 22-Jun-93): (interactive
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1365 1.17 (rms 22-Jun-93): (let* ((reversep (>= (prefix-numeric-value current-prefix-arg) 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1366 1.17 (rms 22-Jun-93): (prompt
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1367 1.139 (rfrancoi 24-Sep-05): (concat (if reversep "Reverse " "") "Rmail search (regexp"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1368 1.17 (rms 22-Jun-93): regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1369 1.139 (rfrancoi 24-Sep-05): (setq prompt
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1370 1.139 (rfrancoi 24-Sep-05): (concat prompt
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1371 1.139 (rfrancoi 24-Sep-05): (if rmail-search-last-regexp
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1372 1.139 (rfrancoi 24-Sep-05): (concat ", default "
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1373 1.139 (rfrancoi 24-Sep-05): rmail-search-last-regexp "): ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1374 1.139 (rfrancoi 24-Sep-05): "): ")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1375 1.17 (rms 22-Jun-93): (setq regexp (read-string prompt))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1376 1.17 (rms 22-Jun-93): (cond ((not (equal regexp ""))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1377 1.17 (rms 22-Jun-93): (setq rmail-search-last-regexp regexp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1378 1.17 (rms 22-Jun-93): ((not rmail-search-last-regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1379 1.17 (rms 22-Jun-93): (error "No previous Rmail search string")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1380 1.17 (rms 22-Jun-93): (list rmail-search-last-regexp
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1381 1.17 (rms 22-Jun-93): (prefix-numeric-value current-prefix-arg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1382 1.17 (rms 22-Jun-93): ;; Don't use save-excursion because that prevents point from moving
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1383 1.17 (rms 22-Jun-93): ;; properly in the summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1384 1.17 (rms 22-Jun-93): (let ((buffer (current-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1385 1.17 (rms 22-Jun-93): (unwind-protect
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1386 1.17 (rms 22-Jun-93): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1387 1.17 (rms 22-Jun-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1388 1.17 (rms 22-Jun-93): (rmail-search regexp (- n)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1389 1.17 (rms 22-Jun-93): (set-buffer buffer))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1390 1.17 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1391 1.6 (rms 09-Mar-93): (defun rmail-summary-search (regexp &optional n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1392 1.6 (rms 09-Mar-93): "Show message containing next match for REGEXP.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1393 1.6 (rms 09-Mar-93): Prefix argument gives repeat count; negative argument means search
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1394 1.6 (rms 09-Mar-93): backwards (through earlier messages).
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1395 1.6 (rms 09-Mar-93): Interactively, empty argument means use same regexp used last time."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1396 1.6 (rms 09-Mar-93): (interactive
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1397 1.6 (rms 09-Mar-93): (let* ((reversep (< (prefix-numeric-value current-prefix-arg) 0))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1398 1.6 (rms 09-Mar-93): (prompt
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1399 1.139 (rfrancoi 24-Sep-05): (concat (if reversep "Reverse " "") "Rmail search (regexp"))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1400 1.6 (rms 09-Mar-93): regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1401 1.139 (rfrancoi 24-Sep-05): (setq prompt
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1402 1.139 (rfrancoi 24-Sep-05): (concat prompt
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1403 1.139 (rfrancoi 24-Sep-05): (if rmail-search-last-regexp
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1404 1.139 (rfrancoi 24-Sep-05): (concat ", default "
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1405 1.139 (rfrancoi 24-Sep-05): rmail-search-last-regexp "): ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1406 1.139 (rfrancoi 24-Sep-05): "): ")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1407 1.6 (rms 09-Mar-93): (setq regexp (read-string prompt))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1408 1.6 (rms 09-Mar-93): (cond ((not (equal regexp ""))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1409 1.6 (rms 09-Mar-93): (setq rmail-search-last-regexp regexp))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1410 1.6 (rms 09-Mar-93): ((not rmail-search-last-regexp)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1411 1.6 (rms 09-Mar-93): (error "No previous Rmail search string")))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1412 1.6 (rms 09-Mar-93): (list rmail-search-last-regexp
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1413 1.6 (rms 09-Mar-93): (prefix-numeric-value current-prefix-arg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1414 1.17 (rms 22-Jun-93): ;; Don't use save-excursion because that prevents point from moving
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1415 1.17 (rms 22-Jun-93): ;; properly in the summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1416 1.17 (rms 22-Jun-93): (let ((buffer (current-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1417 1.17 (rms 22-Jun-93): (unwind-protect
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1418 1.17 (rms 22-Jun-93): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1419 1.17 (rms 22-Jun-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1420 1.17 (rms 22-Jun-93): (rmail-search regexp n))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1421 1.17 (rms 22-Jun-93): (set-buffer buffer))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1422 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1423 1.6 (rms 09-Mar-93): (defun rmail-summary-toggle-header ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1424 1.6 (rms 09-Mar-93): "Show original message header if pruned header currently shown, or vice versa."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1425 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1426 1.118 (gerd 08-May-01): (save-window-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1427 1.6 (rms 09-Mar-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1428 1.66 (rms 31-Mar-95): (rmail-toggle-header))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1429 1.66 (rms 31-Mar-95): ;; Inside save-excursion, some changes to point in the RMAIL buffer are lost.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1430 1.66 (rms 31-Mar-95): ;; Set point to point-min in the RMAIL buffer, if it is visible.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1431 1.118 (gerd 08-May-01): (let ((window (get-buffer-window rmail-view-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1432 1.66 (rms 31-Mar-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1433 1.66 (rms 31-Mar-95): ;; Using save-window-excursion would lose the new value of point.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1434 1.66 (rms 31-Mar-95): (let ((owin (selected-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1435 1.66 (rms 31-Mar-95): (unwind-protect
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1436 1.66 (rms 31-Mar-95): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1437 1.66 (rms 31-Mar-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1438 1.66 (rms 31-Mar-95): (goto-char (point-min)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1439 1.66 (rms 31-Mar-95): (select-window owin))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1440 1.66 (rms 31-Mar-95):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1441 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1442 1.6 (rms 09-Mar-93): (defun rmail-summary-add-label (label)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1443 1.6 (rms 09-Mar-93): "Add LABEL to labels associated with current Rmail message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1444 1.6 (rms 09-Mar-93): Completion is performed over known labels when reading."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1445 1.14 (rms 03-Jun-93): (interactive (list (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1446 1.14 (rms 03-Jun-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1447 1.14 (rms 03-Jun-93): (rmail-read-label "Add label"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1448 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1449 1.6 (rms 09-Mar-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1450 1.6 (rms 09-Mar-93): (rmail-add-label label)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1451 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1452 1.6 (rms 09-Mar-93): (defun rmail-summary-kill-label (label)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1453 1.6 (rms 09-Mar-93): "Remove LABEL from labels associated with current Rmail message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1454 1.6 (rms 09-Mar-93): Completion is performed over known labels when reading."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1455 1.14 (rms 03-Jun-93): (interactive (list (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1456 1.14 (rms 03-Jun-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1457 1.14 (rms 03-Jun-93): (rmail-read-label "Kill label"))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1458 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1459 1.6 (rms 09-Mar-93): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1460 1.6 (rms 09-Mar-93): (rmail-set-label label nil)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1461 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1462 1.6 (rms 09-Mar-93): ;;;; *** Rmail Summary Mailing Commands ***
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1463 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1464 1.116 (gerd 12-Mar-01): (defun rmail-summary-override-mail-send-and-exit ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1465 1.127 (jpw 06-Feb-03): "Replace bindings to `mail-send-and-exit' with `rmail-summary-send-and-exit'."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1466 1.116 (gerd 12-Mar-01): (use-local-map (copy-keymap (current-local-map)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1467 1.116 (gerd 12-Mar-01): (dolist (key (where-is-internal 'mail-send-and-exit))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1468 1.116 (gerd 12-Mar-01): (define-key (current-local-map) key 'rmail-summary-send-and-exit)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1469 1.116 (gerd 12-Mar-01):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1470 1.6 (rms 09-Mar-93): (defun rmail-summary-mail ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1471 1.6 (rms 09-Mar-93): "Send mail in another window.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1472 1.6 (rms 09-Mar-93): While composing the message, use \\[mail-yank-original] to yank the
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1473 1.6 (rms 09-Mar-93): original message into it."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1474 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1475 1.65 (rms 19-Feb-95): (let ((window (get-buffer-window rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1476 1.65 (rms 19-Feb-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1477 1.65 (rms 19-Feb-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1478 1.65 (rms 19-Feb-95): (set-buffer rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1479 1.65 (rms 19-Feb-95): (rmail-start-mail nil nil nil nil nil (current-buffer))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1480 1.116 (gerd 12-Mar-01): (rmail-summary-override-mail-send-and-exit))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1481 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1482 1.6 (rms 09-Mar-93): (defun rmail-summary-continue ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1483 1.6 (rms 09-Mar-93): "Continue composing outgoing message previously being composed."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1484 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1485 1.65 (rms 19-Feb-95): (let ((window (get-buffer-window rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1486 1.65 (rms 19-Feb-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1487 1.65 (rms 19-Feb-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1488 1.65 (rms 19-Feb-95): (set-buffer rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1489 1.27 (kwzh 31-Jan-94): (rmail-start-mail t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1490 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1491 1.6 (rms 09-Mar-93): (defun rmail-summary-reply (just-sender)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1492 1.6 (rms 09-Mar-93): "Reply to the current message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1493 1.6 (rms 09-Mar-93): Normally include CC: to all other recipients of original message;
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1494 1.27 (kwzh 31-Jan-94): prefix argument means ignore them. While composing the reply,
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1495 1.27 (kwzh 31-Jan-94): use \\[mail-yank-original] to yank the original message into it."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1496 1.6 (rms 09-Mar-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1497 1.118 (gerd 08-May-01): (let ((window (get-buffer-window rmail-view-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1498 1.65 (rms 19-Feb-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1499 1.65 (rms 19-Feb-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1500 1.118 (gerd 08-May-01): (set-buffer rmail-view-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1501 1.27 (kwzh 31-Jan-94): (rmail-reply just-sender)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1502 1.116 (gerd 12-Mar-01): (rmail-summary-override-mail-send-and-exit))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1503 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1504 1.6 (rms 09-Mar-93): (defun rmail-summary-retry-failure ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1505 1.6 (rms 09-Mar-93): "Edit a mail message which is based on the contents of the current message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1506 1.6 (rms 09-Mar-93): For a message rejected by the mail system, extract the interesting headers and
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1507 1.6 (rms 09-Mar-93): the body of the original message; otherwise copy the current message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1508 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1509 1.65 (rms 19-Feb-95): (let ((window (get-buffer-window rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1510 1.65 (rms 19-Feb-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1511 1.65 (rms 19-Feb-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1512 1.65 (rms 19-Feb-95): (set-buffer rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1513 1.27 (kwzh 31-Jan-94): (rmail-retry-failure)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1514 1.116 (gerd 12-Mar-01): (rmail-summary-override-mail-send-and-exit))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1515 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1516 1.6 (rms 09-Mar-93): (defun rmail-summary-send-and-exit ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1517 1.6 (rms 09-Mar-93): "Send mail reply and return to summary buffer."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1518 1.6 (rms 09-Mar-93): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1519 1.6 (rms 09-Mar-93): (mail-send-and-exit t))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1520 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1521 1.20 (rms 14-Nov-93): (defun rmail-summary-forward (resend)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1522 1.20 (rms 14-Nov-93): "Forward the current message to another user.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1523 1.20 (rms 14-Nov-93): With prefix argument, \"resend\" the message instead of forwarding it;
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1524 1.20 (rms 14-Nov-93): see the documentation of `rmail-resend'."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1525 1.20 (rms 14-Nov-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1526 1.6 (rms 09-Mar-93): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1527 1.65 (rms 19-Feb-95): (let ((window (get-buffer-window rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1528 1.65 (rms 19-Feb-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1529 1.65 (rms 19-Feb-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1530 1.65 (rms 19-Feb-95): (set-buffer rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1531 1.20 (rms 14-Nov-93): (rmail-forward resend)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1532 1.116 (gerd 12-Mar-01): (rmail-summary-override-mail-send-and-exit)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1533 1.57 (rms 11-Oct-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1534 1.57 (rms 11-Oct-94): (defun rmail-summary-resend ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1535 1.127 (jpw 06-Feb-03): "Resend current message using `rmail-resend'."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1536 1.57 (rms 11-Oct-94): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1537 1.57 (rms 11-Oct-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1538 1.65 (rms 19-Feb-95): (let ((window (get-buffer-window rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1539 1.65 (rms 19-Feb-95): (if window
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1540 1.65 (rms 19-Feb-95): (select-window window)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1541 1.65 (rms 19-Feb-95): (set-buffer rmail-buffer)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1542 1.57 (rms 11-Oct-94): (call-interactively 'rmail-resend)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1543 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1544 1.6 (rms 09-Mar-93): ;; Summary output commands.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1545 1.6 (rms 09-Mar-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1546 1.108 (kwzh 13-Jun-99): (defun rmail-summary-output-to-rmail-file (&optional file-name n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1547 1.6 (rms 09-Mar-93): "Append the current message to an Rmail file named FILE-NAME.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1548 1.6 (rms 09-Mar-93): If the file does not exist, ask if it should be created.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1549 1.6 (rms 09-Mar-93): If file is being visited, the message is appended to the Emacs
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1550 1.104 (kwzh 10-Sep-98): buffer visiting that file.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1551 1.104 (kwzh 10-Sep-98):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1552 1.104 (kwzh 10-Sep-98): A prefix argument N says to output N consecutive messages
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1553 1.104 (kwzh 10-Sep-98): starting with the current one. Deleted messages are skipped and don't count."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1554 1.107 (rms 04-Jan-99): (interactive
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1555 1.107 (rms 04-Jan-99): (progn (require 'rmailout)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1556 1.107 (rms 04-Jan-99): (list (rmail-output-read-rmail-file-name)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1557 1.107 (rms 04-Jan-99): (prefix-numeric-value current-prefix-arg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1558 1.109 (kwzh 15-Jun-99): (let ((i 0) prev-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1559 1.126 (lektu 04-Feb-03): (while
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1560 1.109 (kwzh 15-Jun-99): (and (< i n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1561 1.109 (kwzh 15-Jun-99): (progn (rmail-summary-goto-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1562 1.109 (kwzh 15-Jun-99): (not (eq prev-msg
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1563 1.109 (kwzh 15-Jun-99): (setq prev-msg
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1564 1.126 (lektu 04-Feb-03): (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1565 1.109 (kwzh 15-Jun-99): rmail-current-message))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1566 1.107 (rms 04-Jan-99): (setq i (1+ i))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1567 1.107 (rms 04-Jan-99): (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1568 1.107 (rms 04-Jan-99): (let ((rmail-delete-after-output nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1569 1.107 (rms 04-Jan-99): (rmail-output-to-rmail-file file-name 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1570 1.107 (rms 04-Jan-99): (if rmail-delete-after-output
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1571 1.107 (rms 04-Jan-99): (rmail-summary-delete-forward nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1572 1.107 (rms 04-Jan-99): (if (< i n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1573 1.107 (rms 04-Jan-99): (rmail-summary-next-msg 1))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1574 1.107 (rms 04-Jan-99):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1575 1.107 (rms 04-Jan-99): (defun rmail-summary-output (&optional file-name n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1576 1.107 (rms 04-Jan-99): "Append this message to Unix mail file named FILE-NAME.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1577 1.107 (rms 04-Jan-99):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1578 1.107 (rms 04-Jan-99): A prefix argument N says to output N consecutive messages
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1579 1.107 (rms 04-Jan-99): starting with the current one. Deleted messages are skipped and don't count."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1580 1.107 (rms 04-Jan-99): (interactive
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1581 1.107 (rms 04-Jan-99): (progn (require 'rmailout)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1582 1.107 (rms 04-Jan-99): (list (rmail-output-read-file-name)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1583 1.107 (rms 04-Jan-99): (prefix-numeric-value current-prefix-arg))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1584 1.124 (rms 23-Feb-02): (let ((i 0) prev-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1585 1.124 (rms 23-Feb-02): (while
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1586 1.124 (rms 23-Feb-02): (and (< i n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1587 1.124 (rms 23-Feb-02): (progn (rmail-summary-goto-msg)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1588 1.124 (rms 23-Feb-02): (not (eq prev-msg
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1589 1.124 (rms 23-Feb-02): (setq prev-msg
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1590 1.124 (rms 23-Feb-02): (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1591 1.124 (rms 23-Feb-02): rmail-current-message))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1592 1.107 (rms 04-Jan-99): (setq i (1+ i))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1593 1.107 (rms 04-Jan-99): (with-current-buffer rmail-buffer
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1594 1.107 (rms 04-Jan-99): (let ((rmail-delete-after-output nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1595 1.107 (rms 04-Jan-99): (rmail-output file-name 1)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1596 1.107 (rms 04-Jan-99): (if rmail-delete-after-output
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1597 1.107 (rms 04-Jan-99): (rmail-summary-delete-forward nil)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1598 1.107 (rms 04-Jan-99): (if (< i n)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1599 1.107 (rms 04-Jan-99): (rmail-summary-next-msg 1))))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1600 1.49 (rms 26-Aug-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1601 1.49 (rms 26-Aug-94): (defun rmail-summary-output-menu ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1602 1.49 (rms 26-Aug-94): "Output current message to another Rmail file, chosen with a menu.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1603 1.49 (rms 26-Aug-94): Also set the default for subsequent \\[rmail-output-to-rmail-file] commands.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1604 1.49 (rms 26-Aug-94): The variables `rmail-secondary-file-directory' and
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1605 1.49 (rms 26-Aug-94): `rmail-secondary-file-regexp' control which files are offered in the menu."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1606 1.49 (rms 26-Aug-94): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1607 1.49 (rms 26-Aug-94): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1608 1.49 (rms 26-Aug-94): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1609 1.49 (rms 26-Aug-94): (let ((rmail-delete-after-output nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1610 1.49 (rms 26-Aug-94): (call-interactively 'rmail-output-menu)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1611 1.24 (rms 08-Jan-94): (if rmail-delete-after-output
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1612 1.25 (rms 08-Jan-94): (rmail-summary-delete-forward nil)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1613 1.51 (rms 19-Sep-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1614 1.51 (rms 19-Sep-94): (defun rmail-summary-construct-io-menu ()
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1615 1.51 (rms 19-Sep-94): (let ((files (rmail-find-all-files rmail-secondary-file-directory)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1616 1.71 (rms 06-Sep-95): (if files
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1617 1.51 (rms 19-Sep-94): (progn
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1618 1.51 (rms 19-Sep-94): (define-key rmail-summary-mode-map [menu-bar classify input-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1619 1.126 (lektu 04-Feb-03): (cons "Input Rmail File"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1620 1.126 (lektu 04-Feb-03): (rmail-list-to-menu "Input Rmail File"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1621 1.71 (rms 06-Sep-95): files
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1622 1.51 (rms 19-Sep-94): 'rmail-summary-input)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1623 1.51 (rms 19-Sep-94): (define-key rmail-summary-mode-map [menu-bar classify output-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1624 1.126 (lektu 04-Feb-03): (cons "Output Rmail File"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1625 1.126 (lektu 04-Feb-03): (rmail-list-to-menu "Output Rmail File"
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1626 1.71 (rms 06-Sep-95): files
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1627 1.71 (rms 06-Sep-95): 'rmail-summary-output-to-rmail-file))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1628 1.71 (rms 06-Sep-95): (define-key rmail-summary-mode-map [menu-bar classify input-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1629 1.71 (rms 06-Sep-95): '("Input Rmail File" . rmail-disable-menu))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1630 1.71 (rms 06-Sep-95): (define-key rmail-summary-mode-map [menu-bar classify output-menu]
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1631 1.71 (rms 06-Sep-95): '("Output Rmail File" . rmail-disable-menu)))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1632 1.51 (rms 19-Sep-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1633 1.101 (rms 23-May-98): (defun rmail-summary-output-body (&optional file-name)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1634 1.101 (rms 23-May-98): "Write this message body to the file FILE-NAME.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1635 1.101 (rms 23-May-98): FILE-NAME defaults, interactively, from the Subject field of the message."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1636 1.101 (rms 23-May-98): (interactive)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1637 1.101 (rms 23-May-98): (save-excursion
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1638 1.101 (rms 23-May-98): (set-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1639 1.101 (rms 23-May-98): (let ((rmail-delete-after-output nil))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1640 1.101 (rms 23-May-98): (if file-name
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1641 1.101 (rms 23-May-98): (rmail-output-body-to-file file-name)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1642 1.101 (rms 23-May-98): (call-interactively 'rmail-output-body-to-file))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1643 1.101 (rms 23-May-98): (if rmail-delete-after-output
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1644 1.101 (rms 23-May-98): (rmail-summary-delete-forward nil)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1645 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1646 1.18 (rms 22-Jun-93): ;; Sorting messages in Rmail Summary buffer.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1647 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1648 1.18 (rms 22-Jun-93): (defun rmail-summary-sort-by-date (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1649 1.18 (rms 22-Jun-93): "Sort messages of current Rmail summary by date.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1650 1.18 (rms 22-Jun-93): If prefix argument REVERSE is non-nil, sort them in reverse order."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1651 1.18 (rms 22-Jun-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1652 1.18 (rms 22-Jun-93): (rmail-sort-from-summary (function rmail-sort-by-date) reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1653 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1654 1.18 (rms 22-Jun-93): (defun rmail-summary-sort-by-subject (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1655 1.18 (rms 22-Jun-93): "Sort messages of current Rmail summary by subject.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1656 1.18 (rms 22-Jun-93): If prefix argument REVERSE is non-nil, sort them in reverse order."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1657 1.18 (rms 22-Jun-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1658 1.18 (rms 22-Jun-93): (rmail-sort-from-summary (function rmail-sort-by-subject) reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1659 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1660 1.18 (rms 22-Jun-93): (defun rmail-summary-sort-by-author (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1661 1.18 (rms 22-Jun-93): "Sort messages of current Rmail summary by author.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1662 1.18 (rms 22-Jun-93): If prefix argument REVERSE is non-nil, sort them in reverse order."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1663 1.18 (rms 22-Jun-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1664 1.18 (rms 22-Jun-93): (rmail-sort-from-summary (function rmail-sort-by-author) reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1665 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1666 1.18 (rms 22-Jun-93): (defun rmail-summary-sort-by-recipient (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1667 1.18 (rms 22-Jun-93): "Sort messages of current Rmail summary by recipient.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1668 1.18 (rms 22-Jun-93): If prefix argument REVERSE is non-nil, sort them in reverse order."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1669 1.18 (rms 22-Jun-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1670 1.18 (rms 22-Jun-93): (rmail-sort-from-summary (function rmail-sort-by-recipient) reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1671 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1672 1.18 (rms 22-Jun-93): (defun rmail-summary-sort-by-correspondent (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1673 1.18 (rms 22-Jun-93): "Sort messages of current Rmail summary by other correspondent.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1674 1.18 (rms 22-Jun-93): If prefix argument REVERSE is non-nil, sort them in reverse order."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1675 1.18 (rms 22-Jun-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1676 1.18 (rms 22-Jun-93): (rmail-sort-from-summary (function rmail-sort-by-correspondent) reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1677 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1678 1.18 (rms 22-Jun-93): (defun rmail-summary-sort-by-lines (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1679 1.18 (rms 22-Jun-93): "Sort messages of current Rmail summary by lines of the message.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1680 1.18 (rms 22-Jun-93): If prefix argument REVERSE is non-nil, sort them in reverse order."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1681 1.18 (rms 22-Jun-93): (interactive "P")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1682 1.18 (rms 22-Jun-93): (rmail-sort-from-summary (function rmail-sort-by-lines) reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1683 1.18 (rms 22-Jun-93):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1684 1.117 (gerd 07-May-01): (defun rmail-summary-sort-by-labels (reverse labels)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1685 1.117 (gerd 07-May-01): "Sort messages of current Rmail summary by labels.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1686 1.33 (kwzh 07-Apr-94): If prefix argument REVERSE is non-nil, sort them in reverse order.
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1687 1.33 (kwzh 07-Apr-94): KEYWORDS is a comma-separated list of labels."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1688 1.33 (kwzh 07-Apr-94): (interactive "P\nsSort by labels: ")
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1689 1.33 (kwzh 07-Apr-94): (rmail-sort-from-summary
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1690 1.33 (kwzh 07-Apr-94): (function (lambda (reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1691 1.117 (gerd 07-May-01): (rmail-sort-by-labels reverse labels)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1692 1.33 (kwzh 07-Apr-94): reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1693 1.33 (kwzh 07-Apr-94):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1694 1.18 (rms 22-Jun-93): (defun rmail-sort-from-summary (sortfun reverse)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1695 1.18 (rms 22-Jun-93): "Sort Rmail messages from Summary buffer and update it after sorting."
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1696 1.18 (rms 22-Jun-93): (require 'rmailsort)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1697 1.30 (kwzh 30-Mar-94): (let ((selwin (selected-window)))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1698 1.30 (kwzh 30-Mar-94): (unwind-protect
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1699 1.30 (kwzh 30-Mar-94): (progn (pop-to-buffer rmail-buffer)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1700 1.30 (kwzh 30-Mar-94): (funcall sortfun reverse))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1701 1.30 (kwzh 30-Mar-94): (select-window selwin))))
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1702 1.2 (eric 30-May-92):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1703 1.113 (fx 25-May-00): (provide 'rmailsum)
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1704 1.113 (fx 25-May-00):
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1705 1.150 (monnier 10-Apr-08): ;; arch-tag: 556079ee-75c1-47f5-9884-2e0a0bc6c5a1
513ae63d6175 Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff changeset
1706 1.2 (eric 30-May-92): ;;; rmailsum.el ends here