From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mDrQBwNN32DvBAAAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 19:29:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4JluAwNN32A0GAAAbx9fmQ (envelope-from ) for ; Fri, 02 Jul 2021 17:29:39 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4FC042DB09 for ; Fri, 2 Jul 2021 19:29:38 +0200 (CEST) Received: from localhost ([::1]:49238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzMyu-0008Bs-6B for larch@yhetil.org; Fri, 02 Jul 2021 13:29:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzMyM-00088I-M8; Fri, 02 Jul 2021 13:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzMyM-0000KB-Cp; Fri, 02 Jul 2021 13:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzMyM-0004oQ-6t; Fri, 02 Jul 2021 13:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#44824 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Fri, 02 Jul 2021 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12972 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: patch To: Maxim Nikulin Received: via spool by 12972-submit@debbugs.gnu.org id=B12972.162524689518435 (code B ref 12972); Fri, 02 Jul 2021 17:29:02 +0000 Received: (at 12972) by debbugs.gnu.org; 2 Jul 2021 17:28:15 +0000 Received: from localhost ([127.0.0.1]:37109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzMxb-0004nH-8F for submit@debbugs.gnu.org; Fri, 02 Jul 2021 13:28:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzMxZ-0004n2-EY for 12972@debbugs.gnu.org; Fri, 02 Jul 2021 13:28:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41722) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzMxT-0008Bo-VR; Fri, 02 Jul 2021 13:28:07 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4833 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzMxT-0007yv-J2; Fri, 02 Jul 2021 13:28:07 -0400 Date: Fri, 02 Jul 2021 20:28:07 +0300 Message-Id: <831r8gk4m0.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Maxim Nikulin on Fri, 2 Jul 2021 23:24:23 +0700) References: <87r1hmdqek.fsf__16088.3597027109$1622530682$gmane$org@gnus.org> <835yxtlw14.fsf__2546.8955327355$1625164803$gmane$org@gnu.org> <1ddf1c46-0a28-4a2d-cc40-094ff74ee0ac@gmail.com> <837di8ki24.fsf__46278.4886871063$1625229533$gmane$org@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 12972@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625246978; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=EmMhxQkiF2J3i2JXXguppPxIJ87wh+9hOpN/INK7Z5s=; b=JIxERr3qAB146RYBoPZ5Z+f/eW1VRL/w5LXz6J62tOMPSzapPtEqg/JHbU5SeHvN+nrWbN 2A9GNqYkr4ma/B4AIeMumv2rQLrZ+GJ1BSLUc7yo2suuX8bBlWALMAXFPo7Cee4riOvdON 4lf4XjULksD6cK0k+GrlWj5IGoepm3vmb/kdYJWj4DoVLsEwmNNQptcwFuIC0cm+W3MBtS rBcd86kSU+PwfVteAzb64BJB6ahtHEdT6JDdCJqjXNtOz4GI2dFwe3EcQ5/azqKAfEiXRy tSsH7gR+FMtDEvSZPR//uKwOo7rRL5jT5LCRugU2FQMoKZOBBnc+B+Y2pr2AWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625246978; a=rsa-sha256; cv=none; b=EPRMasvqvboB0cul4yKTMHTU4c7+ysdkuWWTCvQ24Z5lF7+7n32v2VDrd40NJ4vR5WWKYo C+HxiZrdM4CAEhil2pwVVh4e0m3YyiXcrfr6jbW8HE3u1orIW+AI9CgTKD1YSbdNn9HdVk tBTDI+CyPKBg/hWBXcUAueKUeHfCXLh0YneEaIYdoZw9PFUAux0+bqu/TC3JKmapCxZEvB /EPZOFL7TQO7g9XNHyfTnPa5oW/jlJYq63/tadcFmS0BPX8u8erCd3x1+k3zMichblywoy WMJEavBNt4j+dEtd/dtpGmY+oe7vtTIXJ8LdM+UDqTgZ+XKBp+aoDCgC1pM3hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4FC042DB09 X-Spam-Score: -2.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: i1GACcUTZOD4 > From: Maxim Nikulin > Date: Fri, 2 Jul 2021 23:24:23 +0700 > > On 02/07/2021 19:37, Eli Zaretskii wrote: > >> From: Maxim Nikulin > >> Date: Fri, 2 Jul 2021 19:21:55 +0700 > >> Cc: Lars Ingebrigtsen > >> > >>> And with other handlers, this could be an > >>> incompatible behavior change if the handler behaves differently when > >>> its standard handles are connected to a pipe rather than a terminal > >>> device. > >> > >> Example of such handler, please. > > > > Why do you need one? > > Because of I can not imagine such case for mailcap handler in Emacs yet > and, accordingly to you, "this could be an incompatible behavior change". You don't need to imagine it, you just need to trust me that I know what I'm talking about: it would be an incompatible change. Is it possible to detect that the handler is one of those that are affected by this issue? If so, let's do that; it cannot be worse than what you suggested, or worse than the current situation.