home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / vm / bug / 554 < prev    next >
Encoding:
Text File  |  1992-08-30  |  2.5 KB  |  53 lines

  1. x-gateway: rodan.UU.NET from bug-vm to gnu.emacs.vm.bug; Sun, 30 Aug 1992 22:20:10 EDT
  2. Date: Sun, 30 Aug 1992 20:19:09 MDT
  3. From: jerry@math.ep.utexas.edu (Jerry)
  4. Message-ID: <9208310219.AA19472@banach.math.ep.utexas.edu>
  5. Organization: Department of Mathematical Sciences--University of Texas at El Paso
  6. Subject: vm-discard-cached-data doesn't update X-VM-v5-Data: field?
  7. Newsgroups: gnu.emacs.vm.bug
  8. Path: sparky!uunet!wendy-fate.uu.net!bug-vm
  9. Sender: bug-vm-request@uunet.uu.net
  10. Lines: 41
  11.  
  12. Doing `j' (vm-discard-cached-data) updates the summary for one
  13. message, and `m M m n j' updates all the messages, but when I save the
  14. folder, it "forgets" again.  I thought that, a long time ago, there
  15. was a thread about how to get the X-VM-v5-Data headers to "really"
  16. trash their contents, but can't find it now.
  17.  
  18. Anyway, the problem is, if I change vm-summary-format to use the hacks
  19. by Jamie (i.e., to show who the message was sent to when I am the
  20. sender, and to correctly get the date in FCC messages), and then visit
  21. a folder for the first time after the change to this variable, how do
  22. I get the folder to remember the new format? (i.e., after saving, I
  23. want my next visit of that folder to show the new format, without
  24. having to repeat the discarding of cached info on all messages.)
  25. Messages in folders which were created after the change don't exhibit
  26. this problem.  I can understand why VM wouldn't regenerate the header
  27. info each time a folder is read, but I don't understand why there is
  28. no command (to my knowledge) to do this when requested.
  29.  
  30. I have this header:
  31.  
  32. X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
  33.     ["554" "" "" "" "" "" "" "Jerry" "???" nil "14" "Sun serial numbers" "^To:" nil nil ""])
  34.  
  35. and I want to trash it and get this one instead:
  36.  
  37. X-VM-v5-Data: ([nil nil nil nil nil nil nil t nil]
  38.     [nil "Tue" "26" "November" "91" "16:48:04" "" "Jerry" "jerry" nil "14" "Sun serial numbers" nil "ba10@utep.bitnet" "ba10@utep.bitnet" "11"])
  39.  
  40. which I can do by explicitly editing the message and deleting the
  41. VM-v5-stuff, but apparently vm-discard-cached-data doesn't physically
  42. change the X-VM-v5-Data: header.  If certain fields have certain
  43. values ("" or nil), they never get updated, as far as I can tell.  The
  44. summary buffer does get updated to correctly show the date and the
  45. recipient instead of me, but this has to be done each time the folder
  46. is visited.
  47.  
  48. Does anyone have vm-to-unix-mail.el code (something to delete all the
  49. X-VM-etc stuff from a file) so that I can then regenerate all the
  50. header information at once?  Thanks.
  51.  
  52. -Jerry
  53.