diff options
| author | Chong Yidong | 2008-12-12 15:26:46 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-12-12 15:26:46 +0000 |
| commit | 2c6ee63db591621ec3ab801cffe501cb3527ee39 (patch) | |
| tree | 9fed19b58d93b00d0a28eb552b4a02c486861d41 | |
| parent | c1589cbeac76c0c298a4ffc86b588572934f8102 (diff) | |
| download | emacs-2c6ee63db591621ec3ab801cffe501cb3527ee39.tar.gz emacs-2c6ee63db591621ec3ab801cffe501cb3527ee39.zip | |
All callers to pmail-output-to-pmail-file changed to
pmail-output-to-babyl-file.
| -rw-r--r-- | lisp/mail/pmail.el | 16 | ||||
| -rw-r--r-- | lisp/mail/pmailsum.el | 15 |
2 files changed, 17 insertions, 14 deletions
diff --git a/lisp/mail/pmail.el b/lisp/mail/pmail.el index 73301ee444f..941f41ed9d1 100644 --- a/lisp/mail/pmail.el +++ b/lisp/mail/pmail.el | |||
| @@ -600,7 +600,7 @@ by substituting the new message number into the existing list.") | |||
| 600 | :type 'file | 600 | :type 'file |
| 601 | :group 'pmail-files) | 601 | :group 'pmail-files) |
| 602 | (defcustom pmail-default-pmail-file "~/XMAIL" | 602 | (defcustom pmail-default-pmail-file "~/XMAIL" |
| 603 | "*Default file name for \\[pmail-output-to-pmail-file]." | 603 | "*Default file name for \\[pmail-output-to-babyl-file]." |
| 604 | :type 'file | 604 | :type 'file |
| 605 | :group 'pmail-files) | 605 | :group 'pmail-files) |
| 606 | (defcustom pmail-default-body-file "~/mailout" | 606 | (defcustom pmail-default-body-file "~/mailout" |
| @@ -987,7 +987,7 @@ The buffer is expected to be narrowed to just the header of the message." | |||
| 987 | (define-key pmail-mode-map "n" 'pmail-next-undeleted-message) | 987 | (define-key pmail-mode-map "n" 'pmail-next-undeleted-message) |
| 988 | (define-key pmail-mode-map "\en" 'pmail-next-message) | 988 | (define-key pmail-mode-map "\en" 'pmail-next-message) |
| 989 | (define-key pmail-mode-map "\e\C-n" 'pmail-next-labeled-message) | 989 | (define-key pmail-mode-map "\e\C-n" 'pmail-next-labeled-message) |
| 990 | (define-key pmail-mode-map "o" 'pmail-output-to-pmail-file) | 990 | (define-key pmail-mode-map "o" 'pmail-output-to-babyl-file) |
| 991 | (define-key pmail-mode-map "\C-o" 'pmail-output) | 991 | (define-key pmail-mode-map "\C-o" 'pmail-output) |
| 992 | (define-key pmail-mode-map "p" 'pmail-previous-undeleted-message) | 992 | (define-key pmail-mode-map "p" 'pmail-previous-undeleted-message) |
| 993 | (define-key pmail-mode-map "\ep" 'pmail-previous-message) | 993 | (define-key pmail-mode-map "\ep" 'pmail-previous-message) |
| @@ -1038,7 +1038,7 @@ The buffer is expected to be narrowed to just the header of the message." | |||
| 1038 | '("Output (inbox)..." . pmail-output)) | 1038 | '("Output (inbox)..." . pmail-output)) |
| 1039 | 1039 | ||
| 1040 | (define-key pmail-mode-map [menu-bar classify output] | 1040 | (define-key pmail-mode-map [menu-bar classify output] |
| 1041 | '("Output (Pmail)..." . pmail-output-to-pmail-file)) | 1041 | '("Output (Pmail)..." . pmail-output-to-babyl-file)) |
| 1042 | 1042 | ||
| 1043 | (define-key pmail-mode-map [menu-bar classify kill-label] | 1043 | (define-key pmail-mode-map [menu-bar classify kill-label] |
| 1044 | '("Kill Label..." . pmail-kill-label)) | 1044 | '("Kill Label..." . pmail-kill-label)) |
| @@ -1206,7 +1206,7 @@ Instead, these commands are available: | |||
| 1206 | \\[pmail-reply] Reply to this message. Like \\[pmail-mail] but initializes some fields. | 1206 | \\[pmail-reply] Reply to this message. Like \\[pmail-mail] but initializes some fields. |
| 1207 | \\[pmail-retry-failure] Send this message again. Used on a mailer failure message. | 1207 | \\[pmail-retry-failure] Send this message again. Used on a mailer failure message. |
| 1208 | \\[pmail-forward] Forward this message to another user. | 1208 | \\[pmail-forward] Forward this message to another user. |
| 1209 | \\[pmail-output-to-pmail-file] Output this message to an Pmail file (append it). | 1209 | \\[pmail-output-to-babyl-file] Output this message to an Pmail file (append it). |
| 1210 | \\[pmail-output] Output this message to a Unix-format mail file (append it). | 1210 | \\[pmail-output] Output this message to a Unix-format mail file (append it). |
| 1211 | \\[pmail-output-body-to-file] Save message body to a file. Default filename comes from Subject line. | 1211 | \\[pmail-output-body-to-file] Save message body to a file. Default filename comes from Subject line. |
| 1212 | \\[pmail-input] Input Pmail file. Run Pmail on that file. | 1212 | \\[pmail-input] Input Pmail file. Run Pmail on that file. |
| @@ -1256,7 +1256,7 @@ Instead, these commands are available: | |||
| 1256 | ;; because they contain no info except attribute changes | 1256 | ;; because they contain no info except attribute changes |
| 1257 | ;; and deletion of messages. | 1257 | ;; and deletion of messages. |
| 1258 | ;; The one exception is when messages are copied into an Pmail mode buffer. | 1258 | ;; The one exception is when messages are copied into an Pmail mode buffer. |
| 1259 | ;; pmail-output-to-pmail-file enables auto save when you do that. | 1259 | ;; pmail-output-to-babyl-file enables auto save when you do that. |
| 1260 | (setq buffer-auto-save-file-name nil) | 1260 | (setq buffer-auto-save-file-name nil) |
| 1261 | (setq mode-line-modified "--") | 1261 | (setq mode-line-modified "--") |
| 1262 | (use-local-map pmail-mode-map) | 1262 | (use-local-map pmail-mode-map) |
| @@ -1532,7 +1532,7 @@ original copy." | |||
| 1532 | (cons "Output Pmail File" | 1532 | (cons "Output Pmail File" |
| 1533 | (pmail-list-to-menu "Output Pmail File" | 1533 | (pmail-list-to-menu "Output Pmail File" |
| 1534 | files | 1534 | files |
| 1535 | 'pmail-output-to-pmail-file)))) | 1535 | 'pmail-output-to-babyl-file)))) |
| 1536 | 1536 | ||
| 1537 | (define-key pmail-mode-map [menu-bar classify input-menu] | 1537 | (define-key pmail-mode-map [menu-bar classify input-menu] |
| 1538 | '("Input Pmail File" . pmail-disable-menu)) | 1538 | '("Input Pmail File" . pmail-disable-menu)) |
| @@ -2645,7 +2645,7 @@ Called when a new message is displayed." | |||
| 2645 | (pmail-delete-forward) | 2645 | (pmail-delete-forward) |
| 2646 | (if (string= "/dev/null" folder) | 2646 | (if (string= "/dev/null" folder) |
| 2647 | (pmail-delete-message) | 2647 | (pmail-delete-message) |
| 2648 | (pmail-output-to-pmail-file folder 1 t) | 2648 | (pmail-output-to-babyl-file folder 1 t) |
| 2649 | (setq d nil)))) | 2649 | (setq d nil)))) |
| 2650 | (setq d (cdr d)))))) | 2650 | (setq d (cdr d)))))) |
| 2651 | 2651 | ||
| @@ -3799,7 +3799,7 @@ TOKEN and INDENT are not used." | |||
| 3799 | TEXT and INDENT are not used." | 3799 | TEXT and INDENT are not used." |
| 3800 | (speedbar-with-attached-buffer | 3800 | (speedbar-with-attached-buffer |
| 3801 | (message "Moving message to %s" token) | 3801 | (message "Moving message to %s" token) |
| 3802 | (pmail-output-to-pmail-file token))) | 3802 | (pmail-output-to-babyl-file token))) |
| 3803 | 3803 | ||
| 3804 | ; Functions for setting, getting and encoding the POP password. | 3804 | ; Functions for setting, getting and encoding the POP password. |
| 3805 | ; The password is encoded to prevent it from being easily accessible | 3805 | ; The password is encoded to prevent it from being easily accessible |
diff --git a/lisp/mail/pmailsum.el b/lisp/mail/pmailsum.el index 478bacc228b..eaf3975d9a4 100644 --- a/lisp/mail/pmailsum.el +++ b/lisp/mail/pmailsum.el | |||
| @@ -912,7 +912,7 @@ Search, the `unseen' attribute is restored.") | |||
| 912 | (define-key pmail-summary-mode-map "n" 'pmail-summary-next-msg) | 912 | (define-key pmail-summary-mode-map "n" 'pmail-summary-next-msg) |
| 913 | (define-key pmail-summary-mode-map "\en" 'pmail-summary-next-all) | 913 | (define-key pmail-summary-mode-map "\en" 'pmail-summary-next-all) |
| 914 | (define-key pmail-summary-mode-map "\e\C-n" 'pmail-summary-next-labeled-message) | 914 | (define-key pmail-summary-mode-map "\e\C-n" 'pmail-summary-next-labeled-message) |
| 915 | (define-key pmail-summary-mode-map "o" 'pmail-summary-output-to-pmail-file) | 915 | (define-key pmail-summary-mode-map "o" 'pmail-summary-output-to-babyl-file) |
| 916 | (define-key pmail-summary-mode-map "\C-o" 'pmail-summary-output) | 916 | (define-key pmail-summary-mode-map "\C-o" 'pmail-summary-output) |
| 917 | (define-key pmail-summary-mode-map "p" 'pmail-summary-previous-msg) | 917 | (define-key pmail-summary-mode-map "p" 'pmail-summary-previous-msg) |
| 918 | (define-key pmail-summary-mode-map "\ep" 'pmail-summary-previous-all) | 918 | (define-key pmail-summary-mode-map "\ep" 'pmail-summary-previous-all) |
| @@ -979,7 +979,7 @@ Search, the `unseen' attribute is restored.") | |||
| 979 | '("Output (inbox)..." . pmail-summary-output)) | 979 | '("Output (inbox)..." . pmail-summary-output)) |
| 980 | 980 | ||
| 981 | (define-key pmail-summary-mode-map [menu-bar classify output] | 981 | (define-key pmail-summary-mode-map [menu-bar classify output] |
| 982 | '("Output (Pmail)..." . pmail-summary-output-to-pmail-file)) | 982 | '("Output (Pmail)..." . pmail-summary-output-to-babyl-file)) |
| 983 | 983 | ||
| 984 | (define-key pmail-summary-mode-map [menu-bar classify kill-label] | 984 | (define-key pmail-summary-mode-map [menu-bar classify kill-label] |
| 985 | '("Kill Label..." . pmail-summary-kill-label)) | 985 | '("Kill Label..." . pmail-summary-kill-label)) |
| @@ -1561,7 +1561,7 @@ see the documentation of `pmail-resend'." | |||
| 1561 | 1561 | ||
| 1562 | ;; Summary output commands. | 1562 | ;; Summary output commands. |
| 1563 | 1563 | ||
| 1564 | (defun pmail-summary-output-to-pmail-file (&optional file-name n) | 1564 | (defun pmail-summary-output-to-babyl-file (&optional file-name n) |
| 1565 | "Append the current message to an Pmail file named FILE-NAME. | 1565 | "Append the current message to an Pmail file named FILE-NAME. |
| 1566 | If the file does not exist, ask if it should be created. | 1566 | If the file does not exist, ask if it should be created. |
| 1567 | If file is being visited, the message is appended to the Emacs | 1567 | If file is being visited, the message is appended to the Emacs |
| @@ -1584,12 +1584,15 @@ starting with the current one. Deleted messages are skipped and don't count." | |||
| 1584 | (setq i (1+ i)) | 1584 | (setq i (1+ i)) |
| 1585 | (with-current-buffer pmail-buffer | 1585 | (with-current-buffer pmail-buffer |
| 1586 | (let ((pmail-delete-after-output nil)) | 1586 | (let ((pmail-delete-after-output nil)) |
| 1587 | (pmail-output-to-pmail-file file-name 1))) | 1587 | (pmail-output-to-babyl-file file-name 1))) |
| 1588 | (if pmail-delete-after-output | 1588 | (if pmail-delete-after-output |
| 1589 | (pmail-summary-delete-forward nil) | 1589 | (pmail-summary-delete-forward nil) |
| 1590 | (if (< i n) | 1590 | (if (< i n) |
| 1591 | (pmail-summary-next-msg 1)))))) | 1591 | (pmail-summary-next-msg 1)))))) |
| 1592 | 1592 | ||
| 1593 | (defalias 'pmail-summary-output-to-pmail-file | ||
| 1594 | 'pmail-summary-output-to-babyl-file) | ||
| 1595 | |||
| 1593 | (defun pmail-summary-output (&optional file-name n) | 1596 | (defun pmail-summary-output (&optional file-name n) |
| 1594 | "Append this message to Unix mail file named FILE-NAME. | 1597 | "Append this message to Unix mail file named FILE-NAME. |
| 1595 | 1598 | ||
| @@ -1618,7 +1621,7 @@ starting with the current one. Deleted messages are skipped and don't count." | |||
| 1618 | 1621 | ||
| 1619 | (defun pmail-summary-output-menu () | 1622 | (defun pmail-summary-output-menu () |
| 1620 | "Output current message to another Pmail file, chosen with a menu. | 1623 | "Output current message to another Pmail file, chosen with a menu. |
| 1621 | Also set the default for subsequent \\[pmail-output-to-pmail-file] commands. | 1624 | Also set the default for subsequent \\[pmail-output-to-babyl-file] commands. |
| 1622 | The variables `pmail-secondary-file-directory' and | 1625 | The variables `pmail-secondary-file-directory' and |
| 1623 | `pmail-secondary-file-regexp' control which files are offered in the menu." | 1626 | `pmail-secondary-file-regexp' control which files are offered in the menu." |
| 1624 | (interactive) | 1627 | (interactive) |
| @@ -1642,7 +1645,7 @@ The variables `pmail-secondary-file-directory' and | |||
| 1642 | (cons "Output Pmail File" | 1645 | (cons "Output Pmail File" |
| 1643 | (pmail-list-to-menu "Output Pmail File" | 1646 | (pmail-list-to-menu "Output Pmail File" |
| 1644 | files | 1647 | files |
| 1645 | 'pmail-summary-output-to-pmail-file)))) | 1648 | 'pmail-summary-output-to-babyl-file)))) |
| 1646 | (define-key pmail-summary-mode-map [menu-bar classify input-menu] | 1649 | (define-key pmail-summary-mode-map [menu-bar classify input-menu] |
| 1647 | '("Input Pmail File" . pmail-disable-menu)) | 1650 | '("Input Pmail File" . pmail-disable-menu)) |
| 1648 | (define-key pmail-summary-mode-map [menu-bar classify output-menu] | 1651 | (define-key pmail-summary-mode-map [menu-bar classify output-menu] |