bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: mail-recover seems not working


From: Kevin Rodgers
Subject: Re: mail-recover seems not working
Date: Fri, 28 Dec 2001 11:33:07 -0700 (MST)

Eli Zaretskii writes:
>> From: Kevin Rodgers <address@hidden>
>> Newsgroups: gnu.emacs.bug
>> Date: Fri, 28 Dec 2001 10:21:30 -0700
>> 
>> Perhaps make-temp-name could use a (MD5?) checksum on the buffer contents
>> for such buffers, instead of mktemp.
>
>I have another idea: how about if mail-recover shows all the files
>whose names begin with "#*mail*#"?  Since nowadays there could be
>several such files in the user's home directory, Emacs cannot really
>be sure which file to recover, right?  So we should let the user
>decide, I think.

That's a much better solution, because my idea won't even work: since
the user is trying to recover a buffer, the current content of the
buffer presumably isn't the same as the content of the auto-save file,
and so the checksums wouldn't be equal and the generated auto-save file
name still wouldn't be identical to the one on disk.

-- 
Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]