Subject: Re: bug#51266: 27.1; A missing archive in save-place-alist prevents Emacs from closing

From: Michael Albinus <[email-masked]>
Date: Tue, 19 Oct 2021 10:05:23 +0200

Lars Ingebrigtsen <[email-masked]> writes:

Hi Дмитрий,

> Дмитрий Полиенко <[email-masked]> writes:
>
>> Start Emacs without extra settings:
>>
>> emacs -Q
>>
>> Evaluate the following expressions:
>>
>> (save-place-mode)
>> (add-to-list 'save-place-alist '("/a.zip/b" . 1))
>> (kill-emacs)
>>
>> This produces an error because the archive "/a.zip" does not exist, so Emacs
>> does not terminate. Backtrace of the error:
>>
>> (file-error "Error when getting information for file “/a.zip”: ...")
>
> I'm unable to reproduce this with Emacs 27.1 (or the current trunk) (on
> Debian).  Are there any additional steps necessary to reproduce the
> problem?

I cannot reproduce it with Emacs 27.2. Commit
a20845c160de2ba9f42b3af714d770df502d0577 could have fixed it.

In the emacs-28 branch, there is commit
6636a644599c95517b3935f831fa0df42cb16bf3, fixing bug#49030 and
bug#49043. This should definitively have fixed the problem, the former
bug speaks explicitly about saveplace.el.

You could install Tramp from GNU ELPA, the recent package includes the fix.

Closing the bug report. Feel free to reply, if you have evidences that
this is not fixed yet.

Best regards, Michael.