--- Begin Message ---
Subject: |
30.0.50; Cannot delete bookmark of inaccessible remote file |
Date: |
Tue, 7 Nov 2023 18:18:57 +0800 |
Recipe:
1. Save the following text as the test bookmark file
;;;; Emacs Bookmark Format Version 1;;;; -*- coding: utf-8-emacs;
mode: lisp-data -*-
;;; This format is meant to be slightly human-readable;
;;; nevertheless, you probably don't want to edit it.
;;; -*- End Of Bookmark File Format Version Stamp -*-
(("test" (filename . "/ssh:192.168.0.100:~/") (front-context-string)
(rear-context-string . "g-style=literal\n") (position . 68)
(last-modified 25595 64776 373828 978000)))
2. emacs -Q --eval '(setq bookmark-default-file xxx)' -f list-bookmarks
3. press d, then x.
However, the bookmark cannot be deleted because Emacs hangs or displays
tramp error message/popup window after several seconds.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#66982: 30.0.50; Cannot delete bookmark of inaccessible remote file |
Date: |
Fri, 10 Nov 2023 11:24:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Version: 30.1
Liu Hui <liuhui1610@gmail.com> writes:
Hi,
>> Could you pls check the appended patch? It fixes your recipe for me, and
>> shouldn't harm other use cases.
>
> Thank you! I confirm it works.
Thanks for the feedback.
> BTW, I find binding non-essential to t fixes a similar problem caused
> by abbreviate/expand-file-name on remote files:
Indeed. I've pushed the change for bookmark.el and saveplace.el to
master, closing the bug.
Best regards, Michael.
--- End Message ---