From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63911: Dired Open With Date: Sat, 02 Sep 2023 22:01:16 +0300 Message-ID: <83ttsc8kn7.fsf@gnu.org> References: <86bkhuney2.fsf@mail.linkov.net> <868rca9map.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10502"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63911@debbugs.gnu.org To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 21:02:13 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qcVsp-0002Ws-Sk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 21:02:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcVsc-0004F2-O9; Sat, 02 Sep 2023 15:01:58 -0400 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 1qcVsW-00049C-Qq for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 15:01:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcVsW-00072O-8f for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 15:01:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcVsg-0004vh-34 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 15:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63911-submit@debbugs.gnu.org id=B63911.169368129718915 (code B ref 63911); Sat, 02 Sep 2023 19:02:02 +0000 Original-Received: (at 63911) by debbugs.gnu.org; 2 Sep 2023 19:01:37 +0000 Original-Received: from localhost ([127.0.0.1]:38675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcVsH-0004uz-E8 for submit@debbugs.gnu.org; Sat, 02 Sep 2023 15:01:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcVsE-0004um-Dq for 63911@debbugs.gnu.org; Sat, 02 Sep 2023 15:01:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcVrz-0006wD-5N; Sat, 02 Sep 2023 15:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BhU3Y6pVXNHSgBLYMOfNeBdPIyvnAPWb0sqbQ0Vk46E=; b=RNq9MBPRX6nF KwoY1vB6XKGYq+QTuy8C+m+Ta+9THM9TzuwdJsXebqBX5mTcxX7oSlqN3cJps1SXclCGoOBKKdVU8 4RmP1rYja7d+SVzLNHxS8b92VhS5rjkgNgQwW77c1ol163IX5D9MoAQyJcu5A5LyAHtFwso81TVX0 BNrfVBGqG9xnqHIx8hC+s5JfYBbexLctKXWqM/rfVlz+K8xL1m8cSJySIyv7kv3QxJ7whkmqLqltF QWxDUAItAr207WUP5YqkS8OdNNCz1JdfKJ8vqK3tnGsKSSM+YdO1yAUYQXPQ16v+k8XdBNESVzSzO 4za2QbNvW9e+HMFT+EPRiQ==; In-Reply-To: (message from Howard Melman on Sat, 02 Sep 2023 14:40:13 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269046 Archived-At: > From: Howard Melman > Date: Sat, 02 Sep 2023 14:40:13 -0400 > > Stefan Kangas writes: > > > Juri Linkov writes: > > > >> After using this for a while I noticed that most of the time > >> mailcap suggestions are useless - they don't contain the same > >> items as in the context menus of a File Manager. For example, > >> clicking the right mouse button on a ScreamTracker .stm file > >> opens a menu with Rhythmbox, and clicking on a ScreamTracker3 > >> .s3m file opens a menu where the first item is Celluloid > >> and the second is Rhythmbox. > >> > >> So I implemented support for xdg commands that now displays exactly > >> the same menus in Emacs as in the File Manager, and with the same order. > > > > Agreed, it's better to use the xdg commands for this. > > Will this work (or at least not break) on mac or windows or > other non-xgd systems? The MS-Windows port already has a function that's the equivalent of xdg-open: w32-shell-execute. Patches to add this to the menu discussed here are welcome.