Subject: changing actual order of a folder

From: Jennifer DeSimone <[email-masked]>
Date: Mon, 18 Mar 1996 01:27:13 -0800

Hi.  Does anyone know of a way to permanently change the order of 
the messages in a a folder?  Because I changed the way my messages 
are sorted and saved, everytime I open my folders, Pine has to take 
a few moments to sort.  Is there a way to sort my messages and then 
SAVE them in that order so it doesn't have to sort every time I open 
the folder?

Thanks.

---

From: Mike Brudenell <[email-masked]>
Date: Tue, 19 Mar 1996 09:25:07 +0000 (GMT)

CAUTION:
-------
This method should work on folders other than the INBOX.  It _may_ not
work on the INBOX, and _won't_ work for Usenet News groups.

To be 100% safe you should make a backup of your folder before doing this
technique (although I haven't lost any messages yet doing it, but have
never run out of disk space part way through either!:-)

PREPARATION:
-----------
The following assumes you are using Pine 3.91, and also have the 
"enable-aggregate-command-set" option selected in the Setup Configuration 
screen (S then C from the Main Menu).  If you don't, you will need to do 
this first.

METHOD:
------
1.  			Open the folder you wish to sort.
2.  $ ...		Sort the folder ($ then the sort method).
3.  ; A			Select all the messages in the folder.
4.  A S foldername	Apply a Save to the selected messages, and save them
			back into the same folder.
5.  ^L			Check that the messages appear in the folder: each
			should now be there twice - once as the old message,
			marked for Delete, once as the newly saved message.
6.  X			Expunge the deleted messages from the folder.

NOTE:
----
This has sorted the actual order in which the messages are stored in your 
folder.  Thus if you now display the folder sorted by "arrival" (actually 
the order in which the messages appear in the folder) you'll get an index 
of all your messages in the order you want, quickly.

However if you leave the folder set to sort "by <some method other than 
arrival>" I suspect you won't see much, if any, speed improvement as Pine 
still needs to check through the folder to see if it needs re-ordering 
according to the selected sort method.

Cheers,

Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: Nevin Kapur <[email-masked]>
Date: Wed, 20 Mar 1996 04:02:29 GMT

> SAVE them in that order so it doesn't have to sort every time I open 
There is a sort-key option in the configure menu. Choose the option that 
you want.

Nevin.

--
  Nevin Kapur * Electrical Engineering * Indian Institute of Technology-Bombay
	  http://ee.iitb.ernet.in/~nevin, [email-masked]