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 08:45:02 -0700 Message-ID: References: <87d2cn67zo.fsf@mail.jurta.org> <87bns6dcul.fsf@mail.jurta.org> <87silbstsc.fsf@mail.jurta.org> <83lf2k5gna.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="16333"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 18132@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 17:46:14 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 1meJDo-0003vC-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 17:46:12 +0200 Original-Received: from localhost ([::1]:55268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meJDm-00066F-UD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 11:46:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meJDe-00065a-Ga for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 11:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meJDe-00040F-8V for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 11:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meJDe-0007rT-6o for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 11:46: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 15:46: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.163500391130099 (code B ref 18132); Sat, 23 Oct 2021 15:46:02 +0000 Original-Received: (at 18132) by debbugs.gnu.org; 23 Oct 2021 15:45:11 +0000 Original-Received: from localhost ([127.0.0.1]:36977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meJCp-0007pO-0d for submit@debbugs.gnu.org; Sat, 23 Oct 2021 11:45:11 -0400 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:43530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meJCm-0007p1-TZ for 18132@debbugs.gnu.org; Sat, 23 Oct 2021 11:45:09 -0400 Original-Received: by mail-pf1-f180.google.com with SMTP id 187so6362136pfc.10 for <18132@debbugs.gnu.org>; Sat, 23 Oct 2021 08:45:08 -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=mLqvl/Eo/7+rM8vjmeByhkUF6Yp7w6uZdZ34LAHbhjo=; b=GSRPYQ0A95NkksSaagoZKs5b7AMAnIJezDYPj6qm31QH+4OFHRjZudERMhcitzfLg3 cuTCM7kHr5/AoG5QCu5l+JIXQS0cY9D5Jo4gi7Mf/Bja00khznSry7lVEkEaojxHTVIT 20s+lHXqT3ew7ngZerP6VsDkRiQmsOkBVT35i21mbiDH5QSOm2wLuxD0kUNllkzIYgzT T/9iH9dLI0OWNqX6Ah5B+RRHVaAjg6XroEbYoWpaYGKLorPb4JiaE2s2bHfApCRBojat TtLCMRf1NAaRbfaVZvBPH+JAzcAuzKGijUk5cZXImBgfiVUuvn9DBoOx+b3PXaBahNmR RUag== X-Gm-Message-State: AOAM532XQPAFC/LLa002/zcHI65L3BqKrHNjwSK+YsElpVN7gkvrARCr sBCLBglBiHxIZruIvFsYlxNoMgFYLnCQZWWuzBg= X-Google-Smtp-Source: ABdhPJwq/Ziz8+mUERNo5TYX7DgtZOo/tGZhJCI9nS72UsVQzVZ2AUEFjyGIQdFXLDsMTcPoxLByRf3ElYzbbbHPLxQ= X-Received: by 2002:a63:81c2:: with SMTP id t185mr5143344pgd.114.1635003902965; Sat, 23 Oct 2021 08:45:02 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 23 Oct 2021 08:45:02 -0700 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:217999 Archived-At: Reuben Thomas writes: > On Sat, 23 Oct 2021 at 14:57, Stefan Kangas wrote: > >> Maybe I want to open PDF:s first with >> one and then another PDF reader to see if it looks the same, just as I >> would be able to from a graphical file manager. >> > > Then you won't be using the default command anyway. What I want is more or less the exact behavior of xdg-open, but I want to be able to check the actual command (e.g. "evince", not just "xdg-open") before pressing RET. I also want to be able to override xdg-open with customizations inside Emacs. > I agree with Eli's reasoning. Please bare with me as I'm trying to understand. Is your preference still to just run "xdg-open", as you explained in your original bug report? (It was quite some time ago, which is why I'm asking, in case your position has changed.) Do you agree that if we could get my idea to work, you could have your cake and eat it too? IOW, do you disagree with the approach because you think it is infeasible to make it work well, or because you don't think that the feature sounds useful? Or do you merely disagree with using mailcap to implement it? Thanks.