From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el) Date: Sat, 23 Oct 2021 02:48:19 -0700 Message-ID: References: <87d2cn67zo.fsf@mail.jurta.org> <87bns6dcul.fsf@mail.jurta.org> <87silbstsc.fsf@mail.jurta.org> <83lf2k5gna.fsf@gnu.org> <83h7d85ec3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34695"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 18132@debbugs.gnu.org, rrt@sc3d.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 11:49:24 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 1meDeW-0008oC-D5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 11:49:24 +0200 Original-Received: from localhost ([::1]:58290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meDeU-0001q1-LY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 05:49:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meDeA-0001lz-Nv for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 05:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meDeA-0004K1-E0 for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 05:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meDeA-0003wi-Ck for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2021 09:49: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.163498250815128 (code B ref 18132); Sat, 23 Oct 2021 09:49:02 +0000 Original-Received: (at 18132) by debbugs.gnu.org; 23 Oct 2021 09:48:28 +0000 Original-Received: from localhost ([127.0.0.1]:34411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meDdc-0003vw-4I for submit@debbugs.gnu.org; Sat, 23 Oct 2021 05:48:28 -0400 Original-Received: from mail-pj1-f51.google.com ([209.85.216.51]:51934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meDdZ-0003vi-MK for 18132@debbugs.gnu.org; Sat, 23 Oct 2021 05:48:26 -0400 Original-Received: by mail-pj1-f51.google.com with SMTP id u12so553987pjy.1 for <18132@debbugs.gnu.org>; Sat, 23 Oct 2021 02:48:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=mZjfyGRcUlW61sLXlL+w9mG9sWkZiHnMshVx297+h9A=; b=UDY/pd1XmI3I74vWigm6d+FlPVKSmQWFQm4PwHnff1l+MF/e5CFGiTZsaDMXPSfG9x yZJjbkylKnbwTffJliKkaEW+7Lf0MzPYt8EP4C1iUX6TDMRFSmvHaAlzYeE+KuJj28Tk jw+JqVvsaRivCs3A1g5955utEdy7bs1AzsD/wR+kTxUdFq+0JOFLZVEq7UxsTSdCQPkw ORTY0qRt+gG/XGCDNNjU5SX7Dy3ne7A6TnSZ6EnkV1PYl9Fp5XYGq7HtVdoaMWSnAwzS eyonG31llHqEeUhhU1cv9Wy0JRHcYVlvia9hdPahtU2UtEcmiwMb0vZYkX76HuzPVWzp ASMw== X-Gm-Message-State: AOAM531mDaTFxbJVZMMp24gkiuXMdjnZLD2E4WI83na6gS6JUcLQIEG3 Sv29L57leZNim94NpBSsRlUSxJldOVrgEdFSXxQ= X-Google-Smtp-Source: ABdhPJwE2hJ2bZ6/gI1yiZGtfLb5jDP+1fnoSM0u+oK7QO+ypZXmlRJVxK7kviW6H/bchp2Ww5ieUQ0jB2S4oxrPnQo= X-Received: by 2002:a17:90a:245:: with SMTP id t5mr5732378pje.133.1634982500037; Sat, 23 Oct 2021 02:48:20 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 23 Oct 2021 02:48:19 -0700 In-Reply-To: <83h7d85ec3.fsf@gnu.org> 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:217965 Archived-At: Eli Zaretskii writes: > More generally, I'm not sure mailcap is the right tool for the job: > its main purpose is to view attachments to email messages, where we > generally have metadata (MIME etc.) which is not necessarily available > for arbitrary disk files. Isn't that just "file --mime-type -b"? file is a BSD command AFAICT so it should presumably be available almost everywhere. I also see in the man page than a certain Reuben Thomas has been involved in its development so maybe he has something to add here. :-)