From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Patch/Question] Likely bugs in mailcap docs and mailcap-view-file Date: Sat, 15 Jan 2022 09:52:33 -0500 Message-ID: References: <875yqmvvx1.fsf@gnu.org> <87v8yljnbs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38671"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 15 15:53:52 2022 Return-path: Envelope-to: ged-emacs-devel@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 1n8kRE-0009tV-45 for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Jan 2022 15:53:52 +0100 Original-Received: from localhost ([::1]:42896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8kRC-0006hw-Jy for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Jan 2022 09:53:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8kQ8-0005yj-HD for emacs-devel@gnu.org; Sat, 15 Jan 2022 09:52:44 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8kQ6-0007dp-H5; Sat, 15 Jan 2022 09:52:43 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9584780530; Sat, 15 Jan 2022 09:52:35 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 42B1C80066; Sat, 15 Jan 2022 09:52:34 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1642258354; bh=K1KKhTo1OprcNwNArkm2EOpSa/3cpDgEiYnC2SJ7rU4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Bbvvhg/IY/jWZTMzIju3IPOgnutZyUH42Fpmte4z+jb+u0fJW21U5ZitWBqY6ZvSk Amf9QbWvZsn9iXZe9uu20b/hRyxJ3lmn1PNZp/emNWxd2vMZqHO0PP9i/PsUTTFkFC ZVLimG2GA2XXHhbvVOJ0O8abZBvz/Om3Os8h38CWCB/bf8GF8xjhTuRjBxdnAdboi6 GNavdHKbhY0XJt2hwVS9awdm9vLiISNBGMgFu5zydwPA/+PiIy9xAXn4xbJ/Jq9ej8 uphhxTJ29+ys7bvrpC+fvaqB8JJI2ir51Hn6qZTzlD8MuFqcAhho8cljYZri1fhto4 M/YLAKkl5cnOA== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E08071207AA; Sat, 15 Jan 2022 09:52:33 -0500 (EST) In-Reply-To: <87v8yljnbs.fsf@gnu.org> (Tassilo Horn's message of "Sat, 15 Jan 2022 11:27:30 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:284778 Archived-At: > Wrt. the changed function: I'm not exactly sure how I would test that. Neither am I. > I can probably test that the right viewer function is selected and run > on the right buffer That's what I was thinking about (which includes "called with the expected args"). Stefan