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