From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#46318: 28.0.50; mailcap-file-default-commands missing entries Date: Fri, 5 Feb 2021 10:54:06 -0500 Message-ID: References: <877dnmluxt.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32057"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46318@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 05 16:55:10 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 1l83Rt-0008D6-Oq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 16:55:10 +0100 Original-Received: from localhost ([::1]:35758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l83Rs-0002h3-Az for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 10:55:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l83Rm-0002gv-3i for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 10:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l83Rl-0007xE-S6 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 10:55:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l83Rl-0005dU-Ri for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 10:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2021 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46318 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46318-submit@debbugs.gnu.org id=B46318.161254045421608 (code B ref 46318); Fri, 05 Feb 2021 15:55:01 +0000 Original-Received: (at 46318) by debbugs.gnu.org; 5 Feb 2021 15:54:14 +0000 Original-Received: from localhost ([127.0.0.1]:44527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l83R0-0005cS-8e for submit@debbugs.gnu.org; Fri, 05 Feb 2021 10:54:14 -0500 Original-Received: from mail-qk1-f174.google.com ([209.85.222.174]:42804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l83Qz-0005cD-63 for 46318@debbugs.gnu.org; Fri, 05 Feb 2021 10:54:13 -0500 Original-Received: by mail-qk1-f174.google.com with SMTP id l27so7269318qki.9 for <46318@debbugs.gnu.org>; Fri, 05 Feb 2021 07:54:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel.edu; s=google-20200914; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uZcEv4cz/SzgUixdZNu9bLDtzTnSCHT0BT0eWMVufvM=; b=WKJfazdHoOtvT9qw4cgLftleByvOB2InfvZikA9hIiWwiswAM36Vf7J2/W+2RgsX92 57Ic+xZkQHcsmw3EKLU3IDTBURIOclPtaJa0FcUL4DOKWojncpJ1hL0BO2T5CcZkPult IDYfR7PIFwuV6MkLA5i5CvzW/04NulxF6QVbxoBOnj2GumO5KT7YSfL3SjON8k6K2tam 8akv465OgB5BNWKkHD5vBXXvh/oHwJbqipHU3Fv/LeUCtE/ds0H7LH7voz76/otTejKN 8fWYF0mZAtO7pdMPgajGsPA6n6DB5CJqGpHK/k2AgjnsoY1B1mj8RfppU3jpnW5Dnq16 2zqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uZcEv4cz/SzgUixdZNu9bLDtzTnSCHT0BT0eWMVufvM=; b=SRBtRfvxDWyXR+r8NyWToWTXWzKmoLbW8Sq6Ri2xaOi1KVHV47ZaMh6Sjt9RX3hSkA MzTT44alXbjEzug3pgYv/6j6nGwBixskYnsFc77TuqiQJ9PDkYRgrKIeikgwp/IwtGWx W6QkMaTcXfnIcaRyqQqWnahS5hJpQV0++eTUXSFf0g7S2Qyi8vgKi+chjFQNyFmYKwAs KJ5myvGO8fItVTlTdF5nldwv/xjYKg8kH2uxbVAre91srXfnZ31FB6fKwsP1P9cqBfQN Oq/P9aX7iAe/vrn3kJJUcrgvBZJ9udAtQt4SFO9EYIqsL/HEUFjN6bdX95rtZNzAJeZF WdLg== X-Gm-Message-State: AOAM530zbL3/jamCOpbEiqAuJDRglMp+bGSCm2cXyGSPO13Q3AgTG0qG RyEPgK3ha0g1hhlYMeuSAah/tw== X-Google-Smtp-Source: ABdhPJzFwHcuBIrN0pTRsPmI6gqsLR3mLgfrj49Z9uvLiGv47QttKilYw4IwbG/1ALDx2rrnnxXPMA== X-Received: by 2002:a37:64d0:: with SMTP id y199mr4865823qkb.238.1612540447449; Fri, 05 Feb 2021 07:54:07 -0800 (PST) Original-Received: from logos.localdomain ([2601:144:c100:d150:9a48:27ff:fe52:a653]) by smtp.gmail.com with ESMTPSA id y35sm180577qtd.10.2021.02.05.07.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 07:54:07 -0800 (PST) Content-Disposition: inline In-Reply-To: <877dnmluxt.fsf@gnus.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:199392 Archived-At: On 05/02/21 at 10:34am, Lars Ingebrigtsen wrote: > Mark Oteiza writes: > > >>From -Q: > > 1. ~/.mailcap contains lines: > > audio/*; mpv %s; > > audio/*; play %s; > > 2. (require 'mailcap) > > (mailcap-file-default-commands '("lol.mp3")) > > ; => ("mpv") > > > > I'd expect it to return '("mpv" "play" ...) > > The function will only return the commands that are actually installed. > Do you have "play" installed? > When did it start checking for things being installed? I don't see executable-find or anything there. FWIW, on another system with 24.5, the recipe returns ("mpv" "play" "showaudio") and I have none of those things installed on that system.