Gnus development mailing list
 help / color / mirror / Atom feed
* arguments of mail-source-fetch-with-program
@ 1999-02-03  1:27 Tatsuya Ichikawa
  0 siblings, 0 replies; only message in thread
From: Tatsuya Ichikawa @ 1999-02-03  1:27 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 363 bytes --]


  I always use movemail (with pop support).But movemail's arguments with
  POP is following.(movemail is distributed with Emacs.)

     movemail [options] inbox crashbox [POP PASSWD]

  But current mail-source-fetch-with-program cannot send password
  information to movemail external program.

  So I create following patch.

  Is this patch has any problem??


[-- Attachment #2: mail-source.el.diff --]
[-- Type: application/octet-stream, Size: 1368 bytes --]

*** mail-source.el.orig	Wed Feb 03 10:23:52 1999
--- mail-source.el	Wed Feb 03 10:24:28 1999
***************
*** 278,286 ****
  	(setq mail-source-read-passwd 'ange-ftp-read-passwd)))
      (funcall mail-source-read-passwd prompt)))
  
! (defun mail-source-fetch-with-program (program args to)
    (zerop (apply 'call-process program nil nil nil
! 		(append (split-string args) (list to)))))
  
  ;;;
  ;;; Different fetchers
--- 278,286 ----
  	(setq mail-source-read-passwd 'ange-ftp-read-passwd)))
      (funcall mail-source-read-passwd prompt)))
  
! (defun mail-source-fetch-with-program (program args to &optional arg)
    (zerop (apply 'call-process program nil nil nil
! 		(append (split-string args) (list to arg)))))
  
  ;;;
  ;;; Different fetchers
***************
*** 325,331 ****
  	    (when (listp args)
  	      (setq args (eval args)))
  	    (mail-source-fetch-with-program
! 	     program args mail-source-crash-box))
  	   (function
  	    (funcall function mail-source-crash-box))
  	   ;; The default is to use pop3.el.
--- 325,331 ----
  	    (when (listp args)
  	      (setq args (eval args)))
  	    (mail-source-fetch-with-program
! 	     program args mail-source-crash-box password))
  	   (function
  	    (funcall function mail-source-crash-box))
  	   ;; The default is to use pop3.el.

-- 
  Tatsuya Ichikawa <ichikawa@hv.epson.co.jp>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-03  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-03  1:27 arguments of mail-source-fetch-with-program Tatsuya Ichikawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).