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

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

bug#66982: closed (30.0.50; Cannot delete bookmark of inaccessible remot


From: GNU bug Tracking System
Subject: bug#66982: closed (30.0.50; Cannot delete bookmark of inaccessible remote file)
Date: Fri, 10 Nov 2023 10:26:02 +0000

Your message dated Fri, 10 Nov 2023 11:24:24 +0100
with message-id <87fs1dc3dz.fsf@gmx.de>
and subject line Re: bug#66982: 30.0.50; Cannot delete bookmark of inaccessible 
remote file
has caused the debbugs.gnu.org bug report #66982,
regarding 30.0.50; Cannot delete bookmark of inaccessible remote file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66982: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66982
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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 ---

reply via email to

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