From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: On improving Bookmarks Date: Thu, 17 Nov 2022 13:20:00 +0300 Message-ID: References: <87bkp66brj.fsf@red-bean.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Cc: Gabriel , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 17 14:32:30 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovf0H-0003BV-Mq for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Nov 2022 14:32:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovezY-0001MK-5r; Thu, 17 Nov 2022 08:31:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovezS-0001HA-DQ for emacs-devel@gnu.org; Thu, 17 Nov 2022 08:31:39 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovezP-0000Jk-Ng for emacs-devel@gnu.org; Thu, 17 Nov 2022 08:31:38 -0500 Original-Received: from localhost ([::ffff:197.239.35.241]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000F612B.00000000637637B5.00001FA2; Thu, 17 Nov 2022 06:31:32 -0700 Mail-Followup-To: Karl Fogel , Gabriel , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87bkp66brj.fsf@red-bean.com> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300044 Archived-At: * Karl Fogel [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/