Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!sunic!sics.se!sics.se!jw From: jw@sics.se (Johan Widen) Newsgroups: comp.mail.mh Subject: Re: Hierarchical folders in MH Message-ID: Date: 11 Dec 89 15:41:54 GMT References: <1989Dec9.210326.5398@smsc.sony.com> <16411@duke.cs.duke.edu> <1409@crltrx.crl.dec.com> Sender: news@sics.se Organization: Swedish Institute of Computer Science, Kista Lines: 29 In-Reply-To: mdb@ESD.3Com.COM's message of 11 Dec 89 07:24:21 GMT In article mdb@ESD.3Com.COM (Mark D. Baushke) writes: mdb> On 10 Dec 89 22:28:55 GMT, jw@sics.se (Johan Widen) said: Johan> One thing that keeps bothering me, but which I have never got Johan> around to fix (8-(), is that completion in the emacs mh-rmail Johan> package does not work on subfolders. When I try to open a mdb> The following may be of interest to you. I hacked it up for my own mdb> use. mdb> I would suggest that you save the value of the mh-folder-list as it mdb> may take some time generate. Only do the my-mh-make-big-folder-list mdb> when you need the list updated. Thanks, your code works like a charm. The code prompted me to look for similar names in mh-e.el. I found a variable mh-recursive-folders that by default is nil. If this variable is set to t, then mh-e will check for subfolders: (setq mh-recursive-folders t) This is in emacs 18-55. As Mark indicated, the recursive search is considerably slower than the nonrecursive search, thus the default value of nil for mh-recursive-folders. My recommendation is: if you use subfolders, then turn on the variable or use Mark's code, you will like it. -- Johan Widen SICS, PO Box 1263, S-164 28 KISTA, SWEDEN Internet: jw@sics.se Tel: +46 8 752 15 32 Ttx: 812 61 54 SICS S Fax: +46 8 751 72 30