From: ichikawa Date: Sat, 22 Aug 1998 03:29:06 +0000 (+0000) Subject: Update. X-Git-Tag: ichikawa-199811302358~17 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0e6b3ae76c60502194ad803f54a9d62ea35d4c62;p=elisp%2Fgnus.git- Update. --- diff --git a/README.ichikawa b/README.ichikawa index ecf16e8..750cc8a 100644 --- a/README.ichikawa +++ b/README.ichikawa @@ -3,6 +3,7 @@ Codename: T-gnus Branch Tag: ichikawa Branch Owner: Tatsuya Ichikawa Branch Goal: Implement latest features of gnus and offline features + Use Gnus in Offline status and Multiple POP3 servers. Branch Policy: (not defined yet) ======================================================================== NEWS: @@ -10,13 +11,16 @@ NEWS: * New codename: "T-gnus" In order to distinguish "ichikawa" branch from other branches, codename - was changed to "T-gnus". + was changed to "T-gnus" , gnu with T-Shirt. * New Features Use T-gnus in offline(Unplugged) status using gnus-offline. T-gnus have also features that have "shuhei-k" branch and MainTrunk. + Enable to get Multiple Pop server in POP and APOP using pop3-fma.el + (pop3 For Multi Account). + * TODO ...... diff --git a/lisp/pop3-fma.el b/lisp/pop3-fma.el index a13e453..9e88d07 100644 --- a/lisp/pop3-fma.el +++ b/lisp/pop3-fma.el @@ -174,35 +174,35 @@ Please do not set this valiable non-nil if you do not use Meadow.") (substring inbox (match-end (string-match "^po:" inbox)) (- (match-end (string-match "^.*@" inbox)) 1))) (pop3-mailhost - (substring inbox (match-end (string-match "^.*@" inbox))))) - (let ((pop3-password - (pop3-fma-read-passwd pop3-mailhost))) - (let ((pop3-authentication-scheme - (nth 1 (assoc inbox pop3-fma-spool-file-alist)))) - (if (eq pop3-authentication-scheme 'pass) - (message "Checking new mail user %s at %s using USER/PASS ..." pop3-maildrop pop3-mailhost) - (message "Checking new mail user %s at %s using APOP ..." pop3-maildrop pop3-mailhost) - (setq pop3-fma-movemail-type 'lisp)) - (if (and (eq system-type 'windows-nt) - (eq pop3-fma-movemail-type 'exe)) - (progn - (setenv "MAILHOST" pop3-mailhost) - (if (and (not (memq pop3-password pop3-fma-movemail-arguments)) - (not (memq (concat "po:" pop3-maildrop) pop3-fma-movemail-arguments))) - (progn - (setq pop3-fma-movemail-arguments nil) - (setq pop3-fma-movemail-arguments - (append pop3-fma-movemail-options - (list - (concat "po:" pop3-maildrop) - crashbox - pop3-password))))) - (apply 'call-process (concat - exec-directory - pop3-fma-movemail-program) - nil nil nil - pop3-fma-movemail-arguments)) - (pop3-movemail crashbox)))))) + (substring inbox (match-end (string-match "^.*@" inbox)))) + (pop3-password + (pop3-fma-read-passwd (substring inbox (match-end (string-match "^.*@" inbox))))) + (pop3-authentication-scheme + (nth 1 (assoc inbox pop3-fma-spool-file-alist))) + (pop3-fma-movemail-type (pop3-fma-get-movemail-type inbox))) + (if (eq pop3-authentication-scheme 'pass) + (message "Checking new mail user %s at %s using USER/PASS ..." pop3-maildrop pop3-mailhost) + (message "Checking new mail user %s at %s using APOP ..." pop3-maildrop pop3-mailhost)) + (if (and (eq system-type 'windows-nt) + (eq pop3-fma-movemail-type 'exe)) + (progn + (setenv "MAILHOST" pop3-mailhost) + (if (and (not (memq pop3-password pop3-fma-movemail-arguments)) + (not (memq (concat "po:" pop3-maildrop) pop3-fma-movemail-arguments))) + (progn + (setq pop3-fma-movemail-arguments nil) + (setq pop3-fma-movemail-arguments + (append pop3-fma-movemail-options + (list + (concat "po:" pop3-maildrop) + crashbox + pop3-password))))) + (apply 'call-process (concat + exec-directory + pop3-fma-movemail-program) + nil nil nil + pop3-fma-movemail-arguments)) + (pop3-movemail crashbox)))) (message "Checking new mail at %s ... " inbox) (call-process (concat exec-directory pop3-fma-movemail-program) nil @@ -303,7 +303,6 @@ Argument PROMPT ." ;; ;; Add your custom header. -;; (defun pop3-fma-add-custom-header (header string) (let ((delimline (progn (goto-char (point-min)) @@ -321,6 +320,12 @@ Argument PROMPT ." (setq hdr (concat str "\n")) (insert-string hdr))))) ;; +;; +(defun pop3-fma-get-movemail-type (inbox) + (if (eq (nth 1 (assoc inbox pop3-fma-spool-file-alist)) 'apop) + 'lisp + pop3-fma-movemail-type)) +;; (provide 'pop3-fma) ;; ;; pop3-fma.el ends here.