Broken SSH bookmark cannot be deleted or overwritten
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
Bookmark to broken SSH location should be deleted when using either ```bookmark-delete``` or ```bookmark-bmenu-delete``` regardless of whether connection can be established.
### What actually happened?
When I attempt to delete the bookmark using either method, the bookmark is not deleted as Tramp fails to connect.
---------
Messages buffer
```
Tramp failed to connect. If this happens repeatedly, try
‘M-x tramp-cleanup-this-connection’
Cleaning up the recentf list...done (0 removed)
```
Backtrace
[bookmark-bmenu-delete-backtrace.txt](https://github.com/hlissner/doom-emacs/files/8492812/bookmark-bmenu-delete-backtrace.txt)
### Describe your attempts to resolve the issue
Tried to overwrite the bookmark using ```bookmark-set``` in a different file, same error.
Using ```tramp-cleanup-this-connection``` or ```tramp-cleanup-all-connections``` does not have an effect.
### Steps to reproduce
1. Open emacs
2. Create a bookmark to a file over an SSH connection
3. Break that connection, making it so that tramp cannot connect
4. Try to remove or overwrite the bookmark
### System Information
https://pastebin.com/CuuMVabf
Contributor guide
Assessment
This issue has not been assessed yet.