🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.emacs.vm.bug
1 messages
1 total messages Started by Jerry Mon, 31 Aug 1992 02:19
vm-discard-cached-data doesn't update X-VM-v5-Data: field?
#52
Author: Jerry
Date: Mon, 31 Aug 1992 02:19
41 lines
2613 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads