unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Karl Fogel <kfogel@red-bean.com>
Cc: Gabriel <gabriel376@hotmail.com>, emacs-devel@gnu.org
Subject: Re: On improving Bookmarks
Date: Thu, 17 Nov 2022 13:20:00 +0300	[thread overview]
Message-ID: <Y3YK0A8xgrl9o1B8@protected.localdomain> (raw)
In-Reply-To: <87bkp66brj.fsf@red-bean.com>

* 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	other threads:[~2022-11-17 10:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16  5:25 On improving Bookmarks Gabriel
2022-11-16  7:23 ` Matthias Meulien
2022-11-16  8:05 ` Stefan Kangas
2022-11-16 17:28 ` bug#59212: " Karl Fogel
2022-11-16 19:33   ` Eli Zaretskii
2022-11-16 19:47     ` Karl Fogel
2022-11-16 17:37 ` Karl Fogel
2022-11-17 10:20   ` Jean Louis [this message]
2022-11-17 21:17     ` Karl Fogel
2022-11-18  3:13       ` Stefan Kangas
2022-11-18  7:58         ` Jean Louis
2022-11-18  7:53       ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y3YK0A8xgrl9o1B8@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=emacs-devel@gnu.org \
    --cc=gabriel376@hotmail.com \
    --cc=kfogel@red-bean.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).