From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el) Date: Sat, 23 Oct 2021 14:01:39 +0100 Message-ID: References: <87d2cn67zo.fsf@mail.jurta.org> <87bns6dcul.fsf@mail.jurta.org> <87silbstsc.fsf@mail.jurta.org> <83lf2k5gna.fsf@gnu.org> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000025b4e105cf04bb1e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 18132@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 15:02:36 2021 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 1meGfU-0007D9-1W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 15:02:36 +0200 Original-Received: from localhost ([::1]:52072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meGfR-0005we-9i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 09:02:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meGew-0005wH-VH for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 09:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meGew-0000Jf-MU for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 09:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meGew-0000rV-JM for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 09:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2021 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18132 X-GNU-PR-Package: emacs Original-Received: via spool by 18132-submit@debbugs.gnu.org id=B18132.16349941203305 (code B ref 18132); Sat, 23 Oct 2021 13:02:02 +0000 Original-Received: (at 18132) by debbugs.gnu.org; 23 Oct 2021 13:02:00 +0000 Original-Received: from localhost ([127.0.0.1]:34660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meGeu-0000rF-F8 for submit@debbugs.gnu.org; Sat, 23 Oct 2021 09:02:00 -0400 Original-Received: from mail-pl1-f174.google.com ([209.85.214.174]:44712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meGeq-0000qx-3K for 18132@debbugs.gnu.org; Sat, 23 Oct 2021 09:01:58 -0400 Original-Received: by mail-pl1-f174.google.com with SMTP id t11so4639963plq.11 for <18132@debbugs.gnu.org>; Sat, 23 Oct 2021 06:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GntigtZRpeffG1TRnCZGJGxpWZzr0xkoArolpz1Th68=; b=ZqdtqydKQXIqGk1tCjX6A1JZNuffTifmAm1F3HVBAYsRDPIwqwc/Hq7/UT83U9CxG+ enfPBe/lF8+dnVmo4WaStXcsdqQuiSnMaUCe8F3W2WraZzsSPeThSADMo39SKiVN26i/ BI0uJj4NDyFntvAHH+Kl7whgWhRNGPbY4r8fs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GntigtZRpeffG1TRnCZGJGxpWZzr0xkoArolpz1Th68=; b=q4Ez5IWgfXkqjZpnL3hVoqrSGPdPDDpR4X+o7w3e+wnrfZxsHKCCMtvhhllBMhzJHy reTwWrjSpUyPugx4NDhPB0gd1fJ36VY/26JkY59lsI4eAf2dCRkCIuSDfbibwjx9BgwR GLBeB9S8/fS/t0bs4xhWdICmuluUYu1RXVmPXeZsyq2akNosTe/4+oEVu5lz71Ij02oX VBjDOQn6TvwT090SxwohAFLt6M2rAPVtlIiCRWUwzpve4+GcwK/FuJrAq6VMQ5DYOwYX q+OS8VKAJnnftkIwQQ8XyLWWjWaVSbWsO3rFTxvTxEB531BU2RRjRQHh0uErV71XCTxw hUgw== X-Gm-Message-State: AOAM530QEjWtY6Nv4KNnliGlgvSJkdbuFK53HRbdoqHUmM5rSlHk0bIu ZBVvxK0UDi5XwDu2bfc6a3KmBEm+mIURVqNOnhB4Sw== X-Google-Smtp-Source: ABdhPJwXqniFCY9dWC5KKktDO8txyly467Bj/7PC71Bq1G9Ln/kRoG40bNxtcHkHn3KvXwHd2K97skVzuj9+GTq5SiA= X-Received: by 2002:a17:902:d718:b0:13d:e2ec:1741 with SMTP id w24-20020a170902d71800b0013de2ec1741mr5806908ply.38.1634994110176; Sat, 23 Oct 2021 06:01:50 -0700 (PDT) In-Reply-To: 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" Xref: news.gmane.io gmane.emacs.bugs:217987 Archived-At: --00000000000025b4e105cf04bb1e Content-Type: text/plain; charset="UTF-8" On Sat, 23 Oct 2021 at 09:16, Stefan Kangas wrote: > > That sounds like exactly the right thing to do. So we need to add stuff > here, without taking anything away. > That would be a shame: there are too many things in Emacs that just get more complicated over time. I'm dubious about the utility of system-independent configuration here too. Looking even more closely at this, I guess `xdg-open' could be used as > some final fallback, but it doesn't seem to add anything that isn't > already available from mailcap? xdg-open uses the underlying desktop system's MIME infrastructure. For a GNU system, that would most typically be GNOME, and its "gio open" (or on older systems, gvfs-open) command. -- https://rrt.sc3d.org --00000000000025b4e105cf04bb1e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 23 Oct 2021 at 09:16, Stefan Kang= as <stefan@marxist.se> wrote= :

That sounds like exactly the right thing to do.=C2=A0 So we need to add stu= ff
here, without taking anything away.

That would be a shame: there are too many things in Emacs t= hat just get more complicated over time. I'm dubious about the utility = of system-independent configuration here too.

Looking even more closely at this, I guess `xdg-open' could be used as<= br> some final fallback, but it doesn't seem to add anything that isn't=
already available from mailcap?

xdg-open uses the underlying desktop system's MIME infrastruct= ure. For a GNU system, that would most typically be GNOME, and its "gi= o open" (or on older systems, gvfs-open) command.

--
--00000000000025b4e105cf04bb1e--