* Karl Fogel <kfogel@red-bean.com> [2022-11-16 20:40]:
But does Emacs already have a generic mechanism for saying
"open things of
type X with program Y"? If so, Bookmark should just rely on
that mechanism,
rather than have some Bookmark-specific mechanism. And if
there isn't such
a generic mechanism in Emacs, perhaps it be better to create
that than to do
something special for Bookmark.
I use this variable to open files in Dired, this could be also
used
for bookmarks.
dired-guess-shell-alist-user is a variable defined in
‘dired.el’.
Value:
(("\\.gif\\'" "sxiv -a")
("\\.mts\\'" "mpv")
("\\.pdf\\'" "zathura")
("\\.epub\\'" "mupdf")
("\\.djvu\\'" "evince")