GNU bug report logs -
#59326
29.0.50; [PATCH] Handle bookmark-relocate error
Previous Next
Reported by: Gabriel <gabriel376 <at> hotmail.com>
Date: Thu, 17 Nov 2022 01:22:02 UTC
Severity: normal
Tags: patch
Found in version 29.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Description:
Currently, Bookmark does not support relocate (bookmark-relocate) for
Types that do not have a filename (e.g.: Eshell, EWW, Man etc). We
still need to figure out a good way to let Bookmark Types to provide
their own implementation (suggestions are welcome). While we don't
teach Bookmark to provide such feature, it should handle these cases and
provide an useful error message for users. See discussion [1].
Steps:
1) emacs -Q (master f793add1758fd01f678698a90f5847b575f63cf8)
2) Run Eshell: M-x eshell RET
3) Add Eshell to Bookmark list: C-x r m RET
4) Open Bookmark list: C-x r l
5) Try to relocate the Eshell bookmark: R
Result: bookmark-relocate: Wrong type argument: stringp, nil
Patch:
A remediation patch is attached.
[0001-Handle-error-in-bookmark-relocate-when-filename-is-n.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
[1] https://mail.gnu.org/archive/html/emacs-devel/2022-11/msg00995.html
---
Gabriel
This bug report was last modified 2 years and 235 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.