home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / emacs / help / 5494 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!roebling.poly.edu!dodd
  2. From: dodd@roebling.poly.edu (Lawrence R. Dodd)
  3. Newsgroups: gnu.emacs.help
  4. Subject: How to have OUTGOING mail in an RMAIL file
  5. Date: 25 Jan 1993 08:10:23 -0500
  6. Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
  7. Lines: 44
  8. Sender: daemon@cis.ohio-state.edu
  9. Distribution: world
  10. Message-ID: <9301251307.AA15050@roebling.poly.edu>
  11. Reply-To: dodd@roebling.poly.edu
  12.  
  13. >>>>> "Christopher" == Christopher J Biggs <cjb@cs.uq.oz.au> writes:
  14.  
  15.   Christopher>   How do I get the emacs mail routine to put copies of outgoing mail
  16.   Christopher> in a file that i can read with RMAIL.  The FCC header is (I presume)
  17.   Christopher> processed by sendmail, and sendmail doesn't include enough headers 
  18.   Christopher> in the saved message for rmail to be able to split my outbox file into
  19.   Christopher> separate message.  Thus if I use FCC: ~/outbox, and I read outbox
  20.   Christopher> into RMAIL, It just appears as one big message, no matter how many
  21.   Christopher> letters I send.   
  22.  
  23.   Christopher>   Has somebody got a function that will append a buffer to the end
  24.   Christopher> of an RMAIL file, or something, or is there an improved version of mail?
  25.  
  26. I believe that is a bug in emacs.  Here is an excerpt from the info pages for
  27. the FAQ.
  28.  
  29. .........
  30. File: efaq.info,  Node: Question 155,  Next: Question 156,  Prev: Question 154,  Up: Chapter 6
  31.  
  32. Why does RMAIL think all my saved messages are one big message?
  33. ===============================================================
  34.  
  35.         There is a bug for FCC-ed messages in Emacs 18.58 where it adds
  36. a timezone on the "From " line after the year instead of before the
  37. year.  (Before it didn't add the timezone at all.)  This is
  38. incompatible with the standard format for the "From " line, and RMAIL
  39. in particular can no longer distinguish between the messages.  Karl
  40. Berry <karl@cs.umb.edu>, Felix Lee <flee@cs.psu.edu>, Nick Gianniotis
  41. <nico@japan.sbi.com> and many others have all posted patches for this. 
  42. Karl's is the simplest and just stops Emacs from adding the timezone:
  43.  
  44.             >*** ./ORIG/sendmail.el        Tue Jan 28 16:22:56 1992
  45.             >--- ./sendmail.el        Thu May 14 18:23:48 1992
  46.             >***************
  47.             >*** 285,287 ****
  48.             >        (insert "\nFrom " (user-login-name) " "
  49.             >!               (current-time-string) " " timezone "\n")
  50.             >        (insert-buffer-substring rmailbuf)
  51.             >--- 285,287 ----
  52.             >        (insert "\nFrom " (user-login-name) " "
  53.             >!               (current-time-string) "\n")
  54.             >        (insert-buffer-substring rmailbuf)
  55.  
  56. .........
  57.