From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 90e9cf8: * lisp/gnus/mailcap.el (mailcap-mime-data): Date: Thu, 22 Oct 2015 07:22:43 +0900 Organization: Emacsen advocacy group Message-ID: References: <20151020111910.1636.10529@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1445466195 24304 80.91.229.3 (21 Oct 2015 22:23:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 22:23:15 +0000 (UTC) Cc: Michael Sperber , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 00:22:57 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zp1mZ-0005xs-Ks for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 00:22:55 +0200 Original-Received: from localhost ([::1]:54660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp1mY-0001ca-Kj for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 18:22:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp1mV-0001bv-G3 for emacs-devel@gnu.org; Wed, 21 Oct 2015 18:22:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp1mP-0002V2-UV for emacs-devel@gnu.org; Wed, 21 Oct 2015 18:22:49 -0400 Original-Received: from [216.246.47.56] (port=39520 helo=memphis.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp1mP-0002Ut-Q9 for emacs-devel@gnu.org; Wed, 21 Oct 2015 18:22:45 -0400 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:62400 helo=localhost) by memphis.hostforweb.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1Zp1mM-00498H-4z; Wed, 21 Oct 2015 17:22:42 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130014 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.14) Emacs/25.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:aImxHF0Y3C1qbZL2hVMCs+zGprU= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - memphis.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: memphis.hostforweb.net: authenticated_id: yamaokac/only user confirmed/virtual account not confirmed X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 216.246.47.56 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192332 Archived-At: On Wed, 21 Oct 2015 12:11:12 -0400, Stefan Monnier wrote: >>> Should this be redundant? I mean shouldn't the generic code check >>> fboundp of the `viewer' anyway? >> Well, do you mean we should not add non-existent viewer to >> mailcap-mime-data in like this way? > No, I mean that which ever code runs the `test' field should also check > that the `viewer' actually exists. I see. I'll remove the fboundp checks from `mailcap-mime-data' and make `mailcap-mailcap-entry-passes-test' do it. Thanks.