Re: [Evolution] Messages in message list do not correspond to messages in nmh folder



This is a design flaw in mh folders, you should maybe try using Maildir
instead.

Jeff

On Mon, 2002-11-18 at 17:40, Alex Viskovatoff wrote:
On Mon, 2002-11-18 at 15:40, Jeffrey Stedfast wrote:
On Mon, 2002-11-18 at 11:56, Alex Viskovatoff wrote:

Other messages recently posted in this list have apparently given me the
solution to the problem. This is to use the "killev" script and restart
Evolution. Evidently, Evolution starts some subprocesses that cache
message filenames and that don't get killed when one simply quits
evolution.

eh... this would be news to me :-)

The evolution-mail component doesn't spawn any new processes, it keeps
them in ram if they are in use or on disk if not (in a file called
.ev-summary that should be in the mh folder I think).

killev shouldn't solve the problem... unless that file isn't getting
written to because of the killev. but afaik, the file gets synced to
disk when you switch out of that folder.

I am operating in the dark here: I downloaded the source code for
Evolution to see if I could figure out where the names of files
containing nmh messages were cached, but quickly gave up, because
Evolution is evidently an extremely complex program. That is why I was
happy to hear of the reference to killev. All I know is that I tried
several times quiting evolution, deleting the appropriate .ev-summary
file, and restarting evolution, but that never got Evolution to update
its message listing to be current with the actual contents of the nmh
folder in question. When I ran killev a couple of times however, the
problem just went away. Perhaps it was a coincidence, as you imply, but
I am still at a loss as to why deleting the .ev-summary didn't fix the
problem immediately.

what probably needs to happen is that when you switch into the folder,
it needs to re-check the mtime of the directory (assuming it doesn't
already) and if it's changed (where changed == st.st_mtime !=
cached_mtime), re-index the folder.

I entirely agree. Or at least add a command "re-index folder", as exists
in exmh.

Overall, I am extremely happy with Evolution. I had been tired of not
having a "modern" email program, having used exmh since I switched to
Linux a few years ago. It is very nice to have a program that can handle
both nmh folders and imap.

Alex
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]