Gnus development mailing list
 help / color / mirror / Atom feed
From: palmieri@math.washington.edu (John H. Palmieri)
Subject: proposed patch for mail-source.el
Date: 10 May 2000 17:03:44 -0700	[thread overview]
Message-ID: <s5t1z3akl5r.fsf@goedel3.math.washington.edu> (raw)

Here is a proposed patch for mail-source.el.  I found that I wanted
those temporary mail files called something other than "Incoming394x",
like, say, "Temp394x", so I thought a new customizable variable was in
order.

Any comments?  If this is a good idea, can someone who knows what
they're doing commit it through CVS?


*** lisp/mail-source.el.old	Mon Apr 24 18:34:46 2000
--- lisp/mail-source.el.new	Wed May 10 16:27:02 2000
***************
*** 67,72 ****
--- 67,77 ----
    :group 'mail-source
    :type 'boolean)
  
+ (defcustom mail-source-incoming-file-prefix "Incoming"
+   "Prefix for file name for storing incoming mail"
+   :group 'mail-source
+   :type 'string)
+ 
  (defcustom mail-source-report-new-mail-interval 5
    "Interval in minutes between checks for new mail."
    :group 'mail-source
***************
*** 295,301 ****
  	  (let ((incoming
  		 (mail-source-make-complex-temp-name
  		  (expand-file-name
! 		   "Incoming" mail-source-directory))))
  	    (unless (file-exists-p (file-name-directory incoming))
  	      (make-directory (file-name-directory incoming) t))
  	    (rename-file mail-source-crash-box incoming t)))))))
--- 300,307 ----
  	  (let ((incoming
  		 (mail-source-make-complex-temp-name
  		  (expand-file-name
! 		   mail-source-incoming-file-prefix
! 		   mail-source-directory))))
  	    (unless (file-exists-p (file-name-directory incoming))
  	      (make-directory (file-name-directory incoming) t))
  	    (rename-file mail-source-crash-box incoming t)))))))

-- 
John H. Palmieri                      
Dept of Mathematics, Box 354350    palmieri@math.washington.edu
University of Washington	   http://www.math.washington.edu/~palmieri
Seattle, WA 98195-4350



                 reply	other threads:[~2000-05-11  0:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5t1z3akl5r.fsf@goedel3.math.washington.edu \
    --to=palmieri@math.washington.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).