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#51284: application/x-perl is missing Date: Tue, 19 Oct 2021 02:07:11 -0700 Message-ID: References: <87pms14fnr.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12383"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51284@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 19 11:13:47 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 1mclBr-00030b-Qz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 11:13:47 +0200 Original-Received: from localhost ([::1]:44330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mclBq-0006Ke-N4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 05:13:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcl6I-0006Nw-JX for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 05:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcl6I-0004i9-6H for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 05:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcl6H-0003Tx-RP for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 05:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2021 09:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51284 X-GNU-PR-Package: emacs Original-Received: via spool by 51284-submit@debbugs.gnu.org id=B51284.163463444213329 (code B ref 51284); Tue, 19 Oct 2021 09:08:01 +0000 Original-Received: (at 51284) by debbugs.gnu.org; 19 Oct 2021 09:07:22 +0000 Original-Received: from localhost ([127.0.0.1]:49398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcl5d-0003Su-RE for submit@debbugs.gnu.org; Tue, 19 Oct 2021 05:07:22 -0400 Original-Received: from mail-pj1-f47.google.com ([209.85.216.47]:37467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcl5Z-0003SX-JW for 51284@debbugs.gnu.org; Tue, 19 Oct 2021 05:07:20 -0400 Original-Received: by mail-pj1-f47.google.com with SMTP id lk8-20020a17090b33c800b001a0a284fcc2so1503513pjb.2 for <51284@debbugs.gnu.org>; Tue, 19 Oct 2021 02:07:17 -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:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=e9oE5Akf7C5Dwe43bVz7/pO84XXt5Yv12xMQccwWWq4=; b=AcQQ+aw76VQdO/XLvMa+luO7z/F/FsMPZWwC7OEOdbgsWy6VDSmBUtIQ1ep2zalm/c RrY65H53EzMuVV3gWdtzZrYJtHsoXMRYwYgtapnXfrmgR8opixS+8yTaCF2jyWVnoc94 dyc+qK5xKj1jsTDBF/IlsBs/7eVZSEORXKvBvrfy3SaMbvUiDXoZpp3OU2fdrMY/RCdy sBY8ZAIBRYqCAiNTbC3XPRl3SQxRJqiPHYnkzOir/WMxgD495kpVHTmwdRZbcDfxQlIz H0v0OGfB4kKzdZxFti8AgtaQgh3q23x0RFS6TSxrz92rhDWcSBKE/16M/ByV9aooZ3R4 hhew== X-Gm-Message-State: AOAM532D79CjBcJONNao1L7vP+6da+MZWzBH7g2QXnOZ9QBeOT3pIYnb JVVc9toONIkt/bhTc/eh/cnPul95YLJI9pYKqUo= X-Google-Smtp-Source: ABdhPJzUpPEE4m9xZjAGAiRPF5JpdfL/gBncVpTGQ7vSLYmTVprjpfYYAkcPThKbhuhX/LbCr7RC4W17TbLLaMYyFC4= X-Received: by 2002:a17:90a:c70d:: with SMTP id o13mr5137527pjt.143.1634634431841; Tue, 19 Oct 2021 02:07:11 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 19 Oct 2021 02:07:11 -0700 In-Reply-To: <87pms14fnr.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Tue, 19 Oct 2021 15:50:16 +0800") 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:217555 Archived-At: close 51284 tags 51284 + notabug thanks =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > C-c C-a runs the command mml-attach-file. > When we get to > Content type (default application/octet-stream): application/x-p > application/x-perl is missing. > https://reposcope.com/mimetype/application/x-perl This seems to be working as designed. The mimetypes come from `mailcap-parse-mimetypes' that parses a bunch of different files, including "/etc/mime.types", where on my system I find this line: text/x-perl pl pm So I think you should raise this with your GNU/Linux distribution to get the "application/x-perl" line added, if that's the right thing to do. You can also add such a line to "~/.mime.types" and it will work as expected. I'm therefore closing this bug report.