Mercurial > emacs
annotate lisp/mail/mbox-trunk-annotations/rmailsort.el.annotation @ 98050:edd21e1628da
*** empty log message ***
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 06 Sep 2008 18:44:46 +0000 |
parents | 513ae63d6175 |
children |
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.28 (pj 15-Jul-01): ;;; rmailsort.el --- Rmail: sort messages |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
2 1.7 (eric 30-May-92): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
3 1.32 (ttn 06-Aug-05): ;; Copyright (C) 1990, 1993, 1994, 2001, 2002, 2003, 2004, |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
4 1.37 (miles 08-Jan-08): ;; 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.11 (eric 22-Jul-92): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
6 1.14 (rms 26-May-93): ;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
7 1.26 (rms 10-Feb-97): ;; Maintainer: FSF |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
8 1.10 (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
|
9 1.9 (eric 16-Jul-92): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
10 1.8 (rms 14-Jul-92): ;; 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
|
11 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
12 1.39 (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
|
13 1.8 (rms 14-Jul-92): ;; 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
|
14 1.39 (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
|
15 1.39 (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
|
16 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
17 1.1 (rms 10-Sep-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
|
18 1.8 (rms 14-Jul-92): ;; 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
|
19 1.8 (rms 14-Jul-92): ;; 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
|
20 1.8 (rms 14-Jul-92): ;; 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
|
21 1.8 (rms 14-Jul-92): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
22 1.8 (rms 14-Jul-92): ;; 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
|
23 1.39 (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
|
24 1.28 (pj 15-Jul-01): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
25 1.28 (pj 15-Jul-01): ;;; Commentary: |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
26 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
27 1.9 (eric 16-Jul-92): ;;; Code: |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
28 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
29 1.1 (rms 10-Sep-90): (require 'sort) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
30 1.24 (kwzh 20-Jan-96): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
31 1.24 (kwzh 20-Jan-96): ;; For rmail-select-summary |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
32 1.24 (kwzh 20-Jan-96): (require 'rmail) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
33 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
34 1.14 (rms 26-May-93): (autoload 'timezone-make-date-sortable "timezone") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
35 1.14 (rms 26-May-93): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
36 1.14 (rms 26-May-93): ;; Sorting messages in Rmail buffer |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
37 1.14 (rms 26-May-93): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
38 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
39 1.1 (rms 10-Sep-90): (defun rmail-sort-by-date (reverse) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
40 1.1 (rms 10-Sep-90): "Sort messages of current Rmail file by date. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
41 1.1 (rms 10-Sep-90): 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
|
42 1.1 (rms 10-Sep-90): (interactive "P") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
43 1.1 (rms 10-Sep-90): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
44 1.1 (rms 10-Sep-90): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
45 1.1 (rms 10-Sep-90): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
46 1.14 (rms 26-May-93): (rmail-make-date-sortable |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
47 1.1 (rms 10-Sep-90): (rmail-fetch-field msg "Date")))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
48 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
49 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
50 1.1 (rms 10-Sep-90): (defun rmail-sort-by-subject (reverse) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
51 1.1 (rms 10-Sep-90): "Sort messages of current Rmail file by subject. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
52 1.1 (rms 10-Sep-90): 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
|
53 1.1 (rms 10-Sep-90): (interactive "P") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
54 1.1 (rms 10-Sep-90): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
55 1.1 (rms 10-Sep-90): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
56 1.1 (rms 10-Sep-90): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
57 1.1 (rms 10-Sep-90): (let ((key (or (rmail-fetch-field msg "Subject") "")) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
58 1.1 (rms 10-Sep-90): (case-fold-search t)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
59 1.1 (rms 10-Sep-90): ;; Remove `Re:' |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
60 1.18 (kwzh 23-Mar-94): (if (string-match "^\\(re:[ \t]*\\)*" key) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
61 1.18 (kwzh 23-Mar-94): (substring key (match-end 0)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
62 1.18 (kwzh 23-Mar-94): key)))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
63 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
64 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
65 1.1 (rms 10-Sep-90): (defun rmail-sort-by-author (reverse) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
66 1.1 (rms 10-Sep-90): "Sort messages of current Rmail file by author. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
67 1.1 (rms 10-Sep-90): 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
|
68 1.1 (rms 10-Sep-90): (interactive "P") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
69 1.1 (rms 10-Sep-90): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
70 1.1 (rms 10-Sep-90): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
71 1.1 (rms 10-Sep-90): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
72 1.14 (rms 26-May-93): (downcase ;Canonical name |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
73 1.14 (rms 26-May-93): (mail-strip-quoted-names |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
74 1.14 (rms 26-May-93): (or (rmail-fetch-field msg "From") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
75 1.14 (rms 26-May-93): (rmail-fetch-field msg "Sender") ""))))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
76 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
77 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
78 1.1 (rms 10-Sep-90): (defun rmail-sort-by-recipient (reverse) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
79 1.1 (rms 10-Sep-90): "Sort messages of current Rmail file by recipient. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
80 1.1 (rms 10-Sep-90): 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
|
81 1.1 (rms 10-Sep-90): (interactive "P") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
82 1.1 (rms 10-Sep-90): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
83 1.1 (rms 10-Sep-90): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
84 1.1 (rms 10-Sep-90): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
85 1.14 (rms 26-May-93): (downcase ;Canonical name |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
86 1.14 (rms 26-May-93): (mail-strip-quoted-names |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
87 1.14 (rms 26-May-93): (or (rmail-fetch-field msg "To") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
88 1.14 (rms 26-May-93): (rmail-fetch-field msg "Apparently-To") "") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
89 1.14 (rms 26-May-93): )))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
90 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
91 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
92 1.3 (rms 03-Dec-90): (defun rmail-sort-by-correspondent (reverse) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
93 1.3 (rms 03-Dec-90): "Sort messages of current Rmail file by other correspondent. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
94 1.3 (rms 03-Dec-90): 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
|
95 1.3 (rms 03-Dec-90): (interactive "P") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
96 1.3 (rms 03-Dec-90): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
97 1.3 (rms 03-Dec-90): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
98 1.3 (rms 03-Dec-90): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
99 1.3 (rms 03-Dec-90): (rmail-select-correspondent |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
100 1.3 (rms 03-Dec-90): msg |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
101 1.3 (rms 03-Dec-90): '("From" "Sender" "To" "Apparently-To")))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
102 1.3 (rms 03-Dec-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
103 1.3 (rms 03-Dec-90): (defun rmail-select-correspondent (msg fields) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
104 1.3 (rms 03-Dec-90): (let ((ans "")) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
105 1.14 (rms 26-May-93): (while (and fields (string= ans "")) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
106 1.14 (rms 26-May-93): (setq ans |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
107 1.14 (rms 26-May-93): (rmail-dont-reply-to |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
108 1.14 (rms 26-May-93): (mail-strip-quoted-names |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
109 1.14 (rms 26-May-93): (or (rmail-fetch-field msg (car fields)) "")))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
110 1.14 (rms 26-May-93): (setq fields (cdr fields))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
111 1.14 (rms 26-May-93): ans)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
112 1.4 (rms 27-Dec-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
113 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
114 1.14 (rms 26-May-93): (defun rmail-sort-by-lines (reverse) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
115 1.15 (rms 22-Jun-93): "Sort messages of current Rmail file by number of lines. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
116 1.4 (rms 27-Dec-90): 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
|
117 1.4 (rms 27-Dec-90): (interactive "P") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
118 1.4 (rms 27-Dec-90): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
119 1.4 (rms 27-Dec-90): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
120 1.4 (rms 27-Dec-90): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
121 1.17 (kwzh 12-Mar-94): (count-lines (rmail-msgbeg msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
122 1.17 (kwzh 12-Mar-94): (rmail-msgend msg)))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
123 1.21 (kwzh 07-Apr-94): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
124 1.25 (rms 27-Sep-96): ;;;###autoload |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
125 1.27 (gerd 07-May-01): (defun 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
|
126 1.21 (kwzh 07-Apr-94): "Sort messages of current Rmail file by labels. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
127 1.21 (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
|
128 1.21 (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
|
129 1.21 (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
|
130 1.21 (kwzh 07-Apr-94): (or (string-match "[^ \t]" labels) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
131 1.21 (kwzh 07-Apr-94): (error "No labels specified")) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
132 1.21 (kwzh 07-Apr-94): (setq labels (concat (substring labels (match-beginning 0)) ",")) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
133 1.21 (kwzh 07-Apr-94): (let (labelvec) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
134 1.21 (kwzh 07-Apr-94): (while (string-match "[ \t]*,[ \t]*" labels) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
135 1.29 (lektu 04-Feb-03): (setq labelvec (cons |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
136 1.21 (kwzh 07-Apr-94): (concat ", ?\\(" |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
137 1.21 (kwzh 07-Apr-94): (substring labels 0 (match-beginning 0)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
138 1.21 (kwzh 07-Apr-94): "\\),") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
139 1.21 (kwzh 07-Apr-94): labelvec)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
140 1.21 (kwzh 07-Apr-94): (setq labels (substring labels (match-end 0)))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
141 1.21 (kwzh 07-Apr-94): (setq labelvec (apply 'vector (nreverse labelvec))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
142 1.21 (kwzh 07-Apr-94): (rmail-sort-messages reverse |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
143 1.21 (kwzh 07-Apr-94): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
144 1.21 (kwzh 07-Apr-94): (lambda (msg) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
145 1.21 (kwzh 07-Apr-94): (let ((n 0)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
146 1.21 (kwzh 07-Apr-94): (while (and (< n (length labelvec)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
147 1.21 (kwzh 07-Apr-94): (not (rmail-message-labels-p |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
148 1.21 (kwzh 07-Apr-94): msg (aref labelvec n)))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
149 1.21 (kwzh 07-Apr-94): (setq n (1+ n))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
150 1.21 (kwzh 07-Apr-94): n)))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
151 1.14 (rms 26-May-93): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
152 1.14 (rms 26-May-93): ;; Basic functions |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
153 1.36 (dann 25-Nov-07): (declare-function rmail-update-summary "rmailsum" (&rest ignore)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
154 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
155 1.14 (rms 26-May-93): (defun rmail-sort-messages (reverse keyfun) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
156 1.1 (rms 10-Sep-90): "Sort messages of current Rmail file. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
157 1.14 (rms 26-May-93): If 1st 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
|
158 1.14 (rms 26-May-93): 2nd argument KEYFUN is called with a message number, and should return a key." |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
159 1.26 (rms 10-Feb-97): (save-current-buffer |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
160 1.16 (rms 24-Nov-93): ;; If we are in a summary buffer, operate on the Rmail buffer. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
161 1.16 (rms 24-Nov-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
|
162 1.16 (rms 24-Nov-93): (set-buffer rmail-buffer)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
163 1.16 (rms 24-Nov-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
|
164 1.26 (rms 10-Feb-97): (point-offset (- (point) (point-min))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
165 1.16 (rms 24-Nov-93): (predicate nil) ;< or string-lessp |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
166 1.16 (rms 24-Nov-93): (sort-lists nil)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
167 1.16 (rms 24-Nov-93): (message "Finding sort keys...") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
168 1.16 (rms 24-Nov-93): (widen) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
169 1.16 (rms 24-Nov-93): (let ((msgnum 1)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
170 1.16 (rms 24-Nov-93): (while (>= rmail-total-messages msgnum) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
171 1.16 (rms 24-Nov-93): (setq sort-lists |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
172 1.16 (rms 24-Nov-93): (cons (list (funcall keyfun msgnum) ;Make sorting key |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
173 1.16 (rms 24-Nov-93): (eq rmail-current-message msgnum) ;True if current |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
174 1.16 (rms 24-Nov-93): (aref rmail-message-vector msgnum) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
175 1.16 (rms 24-Nov-93): (aref rmail-message-vector (1+ msgnum))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
176 1.16 (rms 24-Nov-93): sort-lists)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
177 1.16 (rms 24-Nov-93): (if (zerop (% msgnum 10)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
178 1.16 (rms 24-Nov-93): (message "Finding sort keys...%d" msgnum)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
179 1.16 (rms 24-Nov-93): (setq msgnum (1+ msgnum)))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
180 1.16 (rms 24-Nov-93): (or reverse (setq sort-lists (nreverse sort-lists))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
181 1.16 (rms 24-Nov-93): ;; Decide predicate: < or string-lessp |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
182 1.16 (rms 24-Nov-93): (if (numberp (car (car sort-lists))) ;Is a key numeric? |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
183 1.16 (rms 24-Nov-93): (setq predicate (function <)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
184 1.16 (rms 24-Nov-93): (setq predicate (function string-lessp))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
185 1.16 (rms 24-Nov-93): (setq sort-lists |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
186 1.16 (rms 24-Nov-93): (sort sort-lists |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
187 1.16 (rms 24-Nov-93): (function |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
188 1.16 (rms 24-Nov-93): (lambda (a b) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
189 1.16 (rms 24-Nov-93): (funcall predicate (car a) (car b)))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
190 1.16 (rms 24-Nov-93): (if reverse (setq sort-lists (nreverse sort-lists))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
191 1.16 (rms 24-Nov-93): ;; Now we enter critical region. So, keyboard quit is disabled. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
192 1.16 (rms 24-Nov-93): (message "Reordering messages...") |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
193 1.16 (rms 24-Nov-93): (let ((inhibit-quit t) ;Inhibit quit |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
194 1.16 (rms 24-Nov-93): (current-message nil) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
195 1.16 (rms 24-Nov-93): (msgnum 1) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
196 1.16 (rms 24-Nov-93): (msginfo nil)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
197 1.16 (rms 24-Nov-93): ;; There's little hope that we can easily undo after that. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
198 1.20 (kwzh 30-Mar-94): (buffer-disable-undo (current-buffer)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
199 1.16 (rms 24-Nov-93): (goto-char (rmail-msgbeg 1)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
200 1.16 (rms 24-Nov-93): ;; To force update of all markers. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
201 1.16 (rms 24-Nov-93): (insert-before-markers ?Z) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
202 1.16 (rms 24-Nov-93): (backward-char 1) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
203 1.16 (rms 24-Nov-93): ;; Now reorder messages. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
204 1.16 (rms 24-Nov-93): (while sort-lists |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
205 1.16 (rms 24-Nov-93): (setq msginfo (car sort-lists)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
206 1.16 (rms 24-Nov-93): ;; Swap two messages. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
207 1.16 (rms 24-Nov-93): (insert-buffer-substring |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
208 1.16 (rms 24-Nov-93): (current-buffer) (nth 2 msginfo) (nth 3 msginfo)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
209 1.16 (rms 24-Nov-93): (delete-region (nth 2 msginfo) (nth 3 msginfo)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
210 1.16 (rms 24-Nov-93): ;; Is current message? |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
211 1.16 (rms 24-Nov-93): (if (nth 1 msginfo) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
212 1.16 (rms 24-Nov-93): (setq current-message msgnum)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
213 1.16 (rms 24-Nov-93): (setq sort-lists (cdr sort-lists)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
214 1.16 (rms 24-Nov-93): (if (zerop (% msgnum 10)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
215 1.16 (rms 24-Nov-93): (message "Reordering messages...%d" msgnum)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
216 1.16 (rms 24-Nov-93): (setq msgnum (1+ msgnum))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
217 1.16 (rms 24-Nov-93): ;; Delete the garbage inserted before. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
218 1.16 (rms 24-Nov-93): (delete-char 1) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
219 1.16 (rms 24-Nov-93): (setq quit-flag nil) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
220 1.16 (rms 24-Nov-93): (buffer-enable-undo) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
221 1.16 (rms 24-Nov-93): (rmail-set-message-counters) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
222 1.19 (kwzh 30-Mar-94): (rmail-show-message current-message) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
223 1.26 (rms 10-Feb-97): (goto-char (+ point-offset (point-min))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
224 1.19 (kwzh 30-Mar-94): (if (rmail-summary-exists) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
225 1.19 (kwzh 30-Mar-94): (rmail-select-summary |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
226 1.19 (kwzh 30-Mar-94): (rmail-update-summary))))))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
227 1.14 (rms 26-May-93): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
228 1.1 (rms 10-Sep-90): (defun rmail-fetch-field (msg field) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
229 1.14 (rms 26-May-93): "Return the value of the header FIELD of MSG. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
230 1.1 (rms 10-Sep-90): Arguments are MSG and FIELD." |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
231 1.14 (rms 26-May-93): (save-restriction |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
232 1.14 (rms 26-May-93): (widen) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
233 1.14 (rms 26-May-93): (let ((next (rmail-msgend msg))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
234 1.1 (rms 10-Sep-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
|
235 1.1 (rms 10-Sep-90): (narrow-to-region (if (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
|
236 1.1 (rms 10-Sep-90): (point) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
237 1.1 (rms 10-Sep-90): (forward-line 1) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
238 1.1 (rms 10-Sep-90): (point)) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
239 1.1 (rms 10-Sep-90): (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
|
240 1.1 (rms 10-Sep-90): (mail-fetch-field field)))) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
241 1.1 (rms 10-Sep-90): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
242 1.14 (rms 26-May-93): (defun rmail-make-date-sortable (date) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
243 1.14 (rms 26-May-93): "Make DATE sortable using the function string-lessp." |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
244 1.14 (rms 26-May-93): ;; Assume the default time zone is GMT. |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
245 1.14 (rms 26-May-93): (timezone-make-date-sortable date "GMT" "GMT")) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
246 1.6 (jimb 16-Mar-92): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
247 1.6 (jimb 16-Mar-92): (provide 'rmailsort) |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
248 1.7 (eric 30-May-92): |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
249 1.38 (monnier 10-Apr-08): ;; arch-tag: 0d90896b-0c35-46ac-b240-38be5ada2360 |
513ae63d6175
Temporary convenience files supporting the Rmail/mbox merge to the
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
250 1.7 (eric 30-May-92): ;;; rmailsort.el ends here |