🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #127

Re: Help reorder VM folders

#127
From: Howard Melman
Date: Fri, 20 Nov 1992 10:13
52 lines
2978 bytes
In article <9211191827.AA03924@crystal.wonderworks.com> kyle@crystal.wonderworks.com (Kyle Jones) writes:

> mun@corp.hp.com writes:
>  > Philippe> Is there an easy way to painlessly reorder VM folders ? What
>  > Philippe> I'd like would be a way to view a VM-summary and tell "move
>  > Philippe> mail#3 after mail#7". Anybody has written such an extension?
>  > 
>  > There is a way to do this, but I can't think of it right now.
> 
> vm-move-message-forward  (ESC C-n)
> vm-move-message-backward (ESC C-p)
> 
>  > However, there is a problem with it.  The order of the messages are
>  > kept in the _header_ of the first (physical) message of your mail box.
>  > So, if after _arranging_ your mail messages, you happen to
>  > delete the first message...you loose your _re-arranged_ order.
> 
> This shouldn't happen.  The header is stuffed into the new first
> message in the folder, if there is one.  There may be a bug that
> prevents this from happening, though.

I've always liked this feature, but have never gotten it to work.  I'm now
using VM 5.32(beta) (Epoch 4.2) and whenever I try changing the message
order I get an error.  The error occurs on saving a folder that has been
reordered.  Let me be specific.

I went to a message and typed M-C-p.  It moved up one message.  I typed `S'
to save the folder and got the following error in the minibuffer:

Invalid function: (macro lambda (n) (byte-code "<garbage here>" [n let m (if (< m 0) (-m) m) 3

During previous attempts (using 5.31) I found that a bookmark is created at
the top of the folder, and VM had a problem reading it when reopening the
folder.  I remember it was a parsing error and it said something like "dot
in wrong context".  So I looked at the top of the folder now (after the
above attempt and failure) and found the following in the header:

	X-VM-Message-Order:
		(1X-VM-Bookmark: 64

I deleted it and was able to save the file without error.

Any ideas?  Email would be appreciated.

Howard
--
****************************************************************************
Howard R. Melman                ___   ___   ___        Voice: (617) 621-8989
Open Software Foundation       /  /  /__   /__           Fax: (617) 225-2943
11 Cambridge Center           /__/  ___/  /         Internet: melman@osf.org
Cambridge, MA  02142                                  UUCP: uunet!osf!melman
Technical Details
Message-ID: <MELMAN.92Nov20101346@absolut.osf.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!paperboy.osf.org!melman
References: <MUN.92Nov19101045@mun.corp.hp.com> <PHS.92Nov16100845@cassiopee.imag> <9211191827.AA03924@crystal.wonderworks.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!paperboy.osf.org!melman
From: melman@osf.org (Howard Melman)
Subject: Re: Help reorder VM folders
In-Reply-To: kyle@crystal.wonderworks.com's message of Thu, 19 Nov 1992 13:27:45 -0500
Message-ID: <MELMAN.92Nov20101346@absolut.osf.org>
Sender: news@osf.org (USENET News System)
Organization: Open Software Foundation
References: <MUN.92Nov19101045@mun.corp.hp.com>  <PHS.92Nov16100845@cassiopee.imag>
     <9211191827.AA03924@crystal.wonderworks.com>
Date: 20 Nov 92 10:13:46
Lines: 52