From unknown Mon Jun 23 07:47:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25472 <25472@debbugs.gnu.org> To: bug#25472 <25472@debbugs.gnu.org> Subject: Status: 25.1.90; typo in mailcap-mime-extensions Reply-To: bug#25472 <25472@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:47:11 +0000 retitle 25472 25.1.90; typo in mailcap-mime-extensions reassign 25472 emacs submitter 25472 Tom Tromey severity 25472 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 00:00:55 2017 Received: (at submit) by debbugs.gnu.org; 18 Jan 2017 05:00:55 +0000 Received: from localhost ([127.0.0.1]:34258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTiMg-0004Pu-Uz for submit@debbugs.gnu.org; Wed, 18 Jan 2017 00:00:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTiMe-0004Pi-HL for submit@debbugs.gnu.org; Wed, 18 Jan 2017 00:00:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTiMX-0000ni-RS for submit@debbugs.gnu.org; Wed, 18 Jan 2017 00:00:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTiMX-0000na-OL for submit@debbugs.gnu.org; Wed, 18 Jan 2017 00:00:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTiMV-0004Io-U9 for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 00:00:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTiMS-0000j1-GZ for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 00:00:43 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:37202) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTiMR-0000hL-VX for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 00:00:40 -0500 Received: from CMOut01 (cmgw2 [10.0.90.82]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id C1024175CAF for ; Tue, 17 Jan 2017 22:00:33 -0700 (MST) Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id Zh0C1u03n2f2jeq01h0FVy; Tue, 17 Jan 2017 22:00:17 -0700 X-Authority-Analysis: v=2.1 cv=H75InYoi c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IgFoBzBjUZAA:10 a=lNy37MR8R9JG7-TCukAA:9 a=zstS-IiYAAAA:8 a=Gv0YJnPt5VbZFXuL7SsA:9 a=l05HkUJgB8fd0-uaMoQA:9 a=YhCItW5VUfsedpRT:21 a=71-0RwHeFvW7zh7O:21 a=QEXdDO2ut3YA:10 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=f/QkoGlqqzYvAyWLFWQDDhavoVkXwFjZkr2z7LtVI2M=; b=B0rWdF1k4ATOg73aaGXUn2sGGs p5w9aSt82znV9wnBRmBjiNpotQc5SL/+y4PpofwooTJQrHaeHd+1j0VDicBQtWz49wxOWQmfuXo1/ JnZ7fFn6ImARo3QNGM7RPFX2j; Received: from 174-16-146-181.hlrn.qwest.net ([174.16.146.181]:35976 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cTiM1-0001X2-EV; Tue, 17 Jan 2017 22:00:13 -0700 From: Tom Tromey To: bug-gnu-emacs@gnu.org Subject: 25.1.90; typo in mailcap-mime-extensions X-Attribution: Tom Date: Tue, 17 Jan 2017 22:00:12 -0700 Message-ID: <871sw1hsir.fsf@tromey.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.16.146.181 X-Exim-ID: 1cTiM1-0001X2-EV X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-16-146-181.hlrn.qwest.net (bapiya) [174.16.146.181]:35976 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) --=-=-= Content-Type: text/plain I noticed that Emacs would offer "test/x-patch" (not "text/...") as a completion when I was attaching something to a message. I don't think this is correct, and in the end found what I think is a typo in mailcap-mime-extensions. This patch fixes the typo. Let me know what you think. Tom --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=P Content-Description: the patch commit 1b817d0a063dfdbb0ca0e9c870ed411a4f8e9c79 Author: Tom Tromey Date: Tue Jan 17 21:58:09 2017 -0700 fix typo in mailcap-mime-extensions * lisp/net/mailcap.el (mailcap-mime-extensions): Use "text/x-patch", not "test/x-patch". diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index 4e53b5a..89f6c91 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -853,7 +853,7 @@ mailcap-mime-extensions (".css" . "text/css") (".dvi" . "application/x-dvi") (".diff" . "text/x-patch") - (".dpatch". "test/x-patch") + (".dpatch". "text/x-patch") (".el" . "application/emacs-lisp") (".eps" . "application/postscript") (".etx" . "text/x-setext") --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In GNU Emacs 25.1.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-12-20 built on bapiya Repository revision: 88cdf14b37a7344bb266e94512485e3cc738c23d Windowing system distributor 'Fedora Project', version 11.0.11901000 System Description: Fedora release 25 (Twenty Five) Configured using: 'configure --prefix=3D/home/tromey/Emacs/install/ --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: VC dir Minor modes in effect: diff-auto-refine-mode: t which-function-mode: t erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-netsplit-mode: t erc-hl-nicks-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Scanning for dabbrevs...done Expansion found in =E2=80=98mailcap.el=E2=80=99 Mark activated Mark set funcall-interactively: End of buffer [2 times] Checking in /home/tromey/Emacs/trunk/lisp/net/mailcap.el...done Hiding up-to-date and ignored items Scanning for dabbrevs...done Load-path shadows: /home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/ins= tall/share/emacs/25.1.90/lisp/play/bubbles Features: (shadow emacsbug log-edit pcvs-util whitespace idutils derived noutline outline find-dired bbdb-sc supercite regi css-mode smie js sgml-mode json map cc-mode cc-fonts cc-guess cc-menus cc-cmds apropos debug dabbrev eieio-opt speedbar sb-image ezimage dframe find-func copyright misearch multi-isearch add-log jka-compr bbdb-message vc-mtn vc-hg mailalias mail-hist nnir vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-git diff-mode easy-mmode term/xterm xterm flow-fill shr-color url-util url-parse url-vars shr dom subr-x browse-url mm-archive sort smiley gnus-cite gnus-async gnus-bcklg mail-extr qp gnus-ml disp-table gnus-topic nndraft nnmh nnfolder utf-7 bbdb-gnus bbdb-mua bbdb-com crm network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnus-registry registry eieio-compat eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo smtpmail sendmail gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message idna dired rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils flyspell ispell diminish edmacro kmacro projectile grep compile ibuf-ext ibuffer dash appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs which-func imenu minimap autorevert filenotify cus-start cus-load status erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-netsplit erc-hl-nicks color erc-button erc-fill erc-stamp wid-edit erc-goodies erc erc-backend erc-compat format-spec auth-source eieio gnus-util mm-util help-fns mail-prsvr password-cache thingatpt pp warnings advice vc-dir ewoc vc vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs bbdb bbdb-site timezone ange-ftp comint ansi-color ring server savehist finder-inf dwarf-mode-autoloads gdb-shell-autoloads eieio-core lisppaste-autoloads pydoc-info-autoloads info-look cl-seq cl-macs cl weblogger-autoloads info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib bbdb-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 956415 363994) (symbols 48 112218 0) (miscs 40 22147 3169) (strings 32 407081 133249) (string-bytes 1 9887367) (vectors 16 92936) (vector-slots 8 2196949 193007) (floats 8 781 856) (intervals 56 39194 1415) (buffers 976 321) (heap 1024 259220 12973)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 10:29:43 2017 Received: (at 25472) by debbugs.gnu.org; 18 Jan 2017 15:29:43 +0000 Received: from localhost ([127.0.0.1]:34866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTsBD-0004eL-Br for submit@debbugs.gnu.org; Wed, 18 Jan 2017 10:29:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTsBB-0004e8-DG for 25472@debbugs.gnu.org; Wed, 18 Jan 2017 10:29:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTsB3-00006w-2l for 25472@debbugs.gnu.org; Wed, 18 Jan 2017 10:29:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTsB2-00006r-VN; Wed, 18 Jan 2017 10:29:32 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2165 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cTsB2-00054x-7B; Wed, 18 Jan 2017 10:29:32 -0500 Date: Wed, 18 Jan 2017 17:29:19 +0200 Message-Id: <83k29s8jzk.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey In-reply-to: <871sw1hsir.fsf@tromey.com> (message from Tom Tromey on Tue, 17 Jan 2017 22:00:12 -0700) Subject: Re: bug#25472: 25.1.90; typo in mailcap-mime-extensions References: <871sw1hsir.fsf@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: 25472 Cc: 25472@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) > From: Tom Tromey > Date: Tue, 17 Jan 2017 22:00:12 -0700 > > I noticed that Emacs would offer "test/x-patch" (not "text/...") > as a completion when I was attaching something to a message. > > I don't think this is correct, and in the end found what I think is a > typo in mailcap-mime-extensions. > > This patch fixes the typo. Let me know what you think. Thanks for tracking it down. Please push this to the emacs-25 branch. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 18 11:57:26 2017 Received: (at 25472-done) by debbugs.gnu.org; 18 Jan 2017 16:57:26 +0000 Received: from localhost ([127.0.0.1]:34904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTtY6-0006xV-Nm for submit@debbugs.gnu.org; Wed, 18 Jan 2017 11:57:26 -0500 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:41797) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1cTtY5-0006xI-P2 for 25472-done@debbugs.gnu.org; Wed, 18 Jan 2017 11:57:26 -0500 Received: (qmail 10767 invoked by uid 0); 18 Jan 2017 16:57:15 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy8.mail.unifiedlayer.com with SMTP; 18 Jan 2017 16:57:15 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id ZsxB1u00q2f2jeq01sxEaB; Wed, 18 Jan 2017 09:57:15 -0700 X-Authority-Analysis: v=2.1 cv=YuCcGeoX c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IgFoBzBjUZAA:10 a=5oVuagdeApcEKmXZt9IA:9 a=HEbvQTcNz6MA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8UiUvfTgde8/IcvAs2cjrfkK0fKw+DoOMv4NQYJM/zE=; b=dNE6oOzDNPT1U06+mxU4LLj4CX 522yB/zeuv9g+6gcqyWdTQEtT42mtzY/Moz8PRTbMn3rrr34Q2DqfGA0BaoQCe2sgP3hjs4Doucz6 yEq8NGKNFqaKQQE4leoRX6DnB; Received: from 174-16-146-181.hlrn.qwest.net ([174.16.146.181]:36474 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cTtXr-0000Zl-CN; Wed, 18 Jan 2017 09:57:11 -0700 From: Tom Tromey To: 25472-done@debbugs.gnu.org Subject: done X-Attribution: Tom Date: Wed, 18 Jan 2017 09:57:09 -0700 Message-ID: <87tw8wgvbu.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.16.146.181 X-Exim-ID: 1cTtXr-0000Zl-CN X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-16-146-181.hlrn.qwest.net (bapiya) [174.16.146.181]:36474 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 25472-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) Patch checked in on emacs-25 branch. Tom From unknown Mon Jun 23 07:47:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 16 Feb 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator