:type 'file
:group 'pmail-files)
(defcustom pmail-default-pmail-file "~/XMAIL"
- "*Default file name for \\[pmail-output-to-pmail-file]."
+ "*Default file name for \\[pmail-output-to-babyl-file]."
:type 'file
:group 'pmail-files)
(defcustom pmail-default-body-file "~/mailout"
(define-key pmail-mode-map "n" 'pmail-next-undeleted-message)
(define-key pmail-mode-map "\en" 'pmail-next-message)
(define-key pmail-mode-map "\e\C-n" 'pmail-next-labeled-message)
- (define-key pmail-mode-map "o" 'pmail-output-to-pmail-file)
+ (define-key pmail-mode-map "o" 'pmail-output-to-babyl-file)
(define-key pmail-mode-map "\C-o" 'pmail-output)
(define-key pmail-mode-map "p" 'pmail-previous-undeleted-message)
(define-key pmail-mode-map "\ep" 'pmail-previous-message)
'("Output (inbox)..." . pmail-output))
(define-key pmail-mode-map [menu-bar classify output]
- '("Output (Pmail)..." . pmail-output-to-pmail-file))
+ '("Output (Pmail)..." . pmail-output-to-babyl-file))
(define-key pmail-mode-map [menu-bar classify kill-label]
'("Kill Label..." . pmail-kill-label))
\\[pmail-reply] Reply to this message. Like \\[pmail-mail] but initializes some fields.
\\[pmail-retry-failure] Send this message again. Used on a mailer failure message.
\\[pmail-forward] Forward this message to another user.
-\\[pmail-output-to-pmail-file] Output this message to an Pmail file (append it).
+\\[pmail-output-to-babyl-file] Output this message to an Pmail file (append it).
\\[pmail-output] Output this message to a Unix-format mail file (append it).
\\[pmail-output-body-to-file] Save message body to a file. Default filename comes from Subject line.
\\[pmail-input] Input Pmail file. Run Pmail on that file.
;; because they contain no info except attribute changes
;; and deletion of messages.
;; The one exception is when messages are copied into an Pmail mode buffer.
- ;; pmail-output-to-pmail-file enables auto save when you do that.
+ ;; pmail-output-to-babyl-file enables auto save when you do that.
(setq buffer-auto-save-file-name nil)
(setq mode-line-modified "--")
(use-local-map pmail-mode-map)
(cons "Output Pmail File"
(pmail-list-to-menu "Output Pmail File"
files
- 'pmail-output-to-pmail-file))))
+ 'pmail-output-to-babyl-file))))
(define-key pmail-mode-map [menu-bar classify input-menu]
'("Input Pmail File" . pmail-disable-menu))
(pmail-delete-forward)
(if (string= "/dev/null" folder)
(pmail-delete-message)
- (pmail-output-to-pmail-file folder 1 t)
+ (pmail-output-to-babyl-file folder 1 t)
(setq d nil))))
(setq d (cdr d))))))
TEXT and INDENT are not used."
(speedbar-with-attached-buffer
(message "Moving message to %s" token)
- (pmail-output-to-pmail-file token)))
+ (pmail-output-to-babyl-file token)))
; Functions for setting, getting and encoding the POP password.
; The password is encoded to prevent it from being easily accessible
(define-key pmail-summary-mode-map "n" 'pmail-summary-next-msg)
(define-key pmail-summary-mode-map "\en" 'pmail-summary-next-all)
(define-key pmail-summary-mode-map "\e\C-n" 'pmail-summary-next-labeled-message)
- (define-key pmail-summary-mode-map "o" 'pmail-summary-output-to-pmail-file)
+ (define-key pmail-summary-mode-map "o" 'pmail-summary-output-to-babyl-file)
(define-key pmail-summary-mode-map "\C-o" 'pmail-summary-output)
(define-key pmail-summary-mode-map "p" 'pmail-summary-previous-msg)
(define-key pmail-summary-mode-map "\ep" 'pmail-summary-previous-all)
'("Output (inbox)..." . pmail-summary-output))
(define-key pmail-summary-mode-map [menu-bar classify output]
- '("Output (Pmail)..." . pmail-summary-output-to-pmail-file))
+ '("Output (Pmail)..." . pmail-summary-output-to-babyl-file))
(define-key pmail-summary-mode-map [menu-bar classify kill-label]
'("Kill Label..." . pmail-summary-kill-label))
\f
;; Summary output commands.
-(defun pmail-summary-output-to-pmail-file (&optional file-name n)
+(defun pmail-summary-output-to-babyl-file (&optional file-name n)
"Append the current message to an Pmail file named FILE-NAME.
If the file does not exist, ask if it should be created.
If file is being visited, the message is appended to the Emacs
(setq i (1+ i))
(with-current-buffer pmail-buffer
(let ((pmail-delete-after-output nil))
- (pmail-output-to-pmail-file file-name 1)))
+ (pmail-output-to-babyl-file file-name 1)))
(if pmail-delete-after-output
(pmail-summary-delete-forward nil)
(if (< i n)
(pmail-summary-next-msg 1))))))
+(defalias 'pmail-summary-output-to-pmail-file
+ 'pmail-summary-output-to-babyl-file)
+
(defun pmail-summary-output (&optional file-name n)
"Append this message to Unix mail file named FILE-NAME.
(defun pmail-summary-output-menu ()
"Output current message to another Pmail file, chosen with a menu.
-Also set the default for subsequent \\[pmail-output-to-pmail-file] commands.
+Also set the default for subsequent \\[pmail-output-to-babyl-file] commands.
The variables `pmail-secondary-file-directory' and
`pmail-secondary-file-regexp' control which files are offered in the menu."
(interactive)
(cons "Output Pmail File"
(pmail-list-to-menu "Output Pmail File"
files
- 'pmail-summary-output-to-pmail-file))))
+ 'pmail-summary-output-to-babyl-file))))
(define-key pmail-summary-mode-map [menu-bar classify input-menu]
'("Input Pmail File" . pmail-disable-menu))
(define-key pmail-summary-mode-map [menu-bar classify output-menu]