emacs-devel
[Top][All Lists]
Advanced

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

Re: On improving Bookmarks


From: Jean Louis
Subject: Re: On improving Bookmarks
Date: Thu, 17 Nov 2022 13:20:00 +0300
User-agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02)

* 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")

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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