From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2Ij/K1dxaWOYLwAAbAwnHQ (envelope-from ) for ; Mon, 07 Nov 2022 21:57:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MLUXK1dxaWOMNgAAG6o9tA (envelope-from ) for ; Mon, 07 Nov 2022 21:57:59 +0100 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 61A25AE69 for ; Mon, 7 Nov 2022 21:57:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os9Ar-0003Kb-L8; Mon, 07 Nov 2022 15:56:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os9Ap-0003K7-HA for emacs-orgmode@gnu.org; Mon, 07 Nov 2022 15:56:51 -0500 Received: from ci74p00im-qukt09090502.me.com ([17.57.156.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os9Ao-0001e7-4P for emacs-orgmode@gnu.org; Mon, 07 Nov 2022 15:56:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1667854609; bh=lZKFey9mFZutfVKT0PZbKICYEIi5LdIZTwcwi9bdAGo=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=0XQSb3cTu/nqWkzt0INvbsM3d3wTzQGw0oG+2dYoKSfMQRtv4EoybYD/LWE9PZXw7 UfNyTzH+1oWvE3BhfnS1CHnx+gEdxoRQgnfjFsCI6yuzBkEMEmkRzRXjNsJLi00iic pflmNUWjHWlOZHLAK8oIx7y+FHPVzrbzrIul27OAGQKSJCrsrnL10JkjbllqTbTQ0g xYD6ghI9E7VuHGlpJdN3yHHvCliNP9WGqxVmU1KJlVbkBuOa14ECm/8Agx2vT38Q4C VF3+HFqzM3pEvjz6YwFkoM76D0ISkapmf6C/9f63EnGGM9i20YFZFw66sIaZ9uSGsG OzwYvF+rHwHbg== Received: from Rudolfs-MacBook-Air.local (ci77p00im-dlb-asmtp-mailmevip.me.com [17.57.156.26]) by ci74p00im-qukt09090502.me.com (Postfix) with ESMTPSA id 0C76A32005BE; Mon, 7 Nov 2022 20:56:47 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: Update Org to MathJax 3 In-Reply-To: <87iljra2lw.fsf@localhost> References: <87h70ekci6.fsf@localhost> <87sfixk3u3.fsf@localhost> <87v8nslox3.fsf@localhost> <87iljra2lw.fsf@localhost> Date: Mon, 07 Nov 2022 21:56:45 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: ZG-WjOJPCGfO_Dv5ZoiQB34rEKZ4AHVF X-Proofpoint-GUID: ZG-WjOJPCGfO_Dv5ZoiQB34rEKZ4AHVF X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.790,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2022-01-12=5F03:2020-02-14=5F02,2022-01-12=5F03,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=546 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 spamscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2211070162 Received-SPF: pass client-ip=17.57.156.23; envelope-from=salutis@me.com; helo=ci74p00im-qukt09090502.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667854679; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lZKFey9mFZutfVKT0PZbKICYEIi5LdIZTwcwi9bdAGo=; b=oiJXz8BPAT/xFYF8DMUtAbz9aAkt8wnrwzM3q5QWIogsOg2TlIOddruOli2MoyG/b9FZVf C6lVkzFBatVn2Osu03soC+aFbGWDV8eFkcP2Pg8U2Q7hTso0AT1+fdYDuJU0fN/NgX+CAC p3GLDNKRebb9yLrYDPFADIG1eemKWg6QICpi+ku/qEQK2LvyWhZQcaQnaVNdouuFDLf9qn 1A57hQUoY+vPKWmyc1Z+V4ry/VO7/wT8jBGyXDWBJ7zUM5eSusPBXz494cNo75o/a779Vf 0W1BxeCAmlTXjdbQ7grUpwTGo602XleuqvLUZy6q/GButNlXR470gsV4gu8a3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667854679; a=rsa-sha256; cv=none; b=VoYaHRo0hsMh7Qy6/s9snFFW1It1jkZLhGjsYvX2SBQUe/TvXZR3sLJIyw3nH4+/nKkaoC 5XI7HV/Di3XIMDSwhOtVTMkhXbhTK0bXMLFxWKxQJHRdPcv0Q+TH3crNQFV8wN7MF6l/Rq 1D5sEqi4w740qQRBYc5LpK3eoQp61io66dRTKUnBWZ86r9e/9vtIe22eL06f/5o4XbNykN /SRZ0TBewyqodElLtJuRpJ3FmlrNjfx5L8Z3tAHPY/h5JTV4aJflY4RJ2DgdMaHQ2q6egm InraOmiTHkaOZDrrmzxY0akTbprAVlcOqc1UBJD5I6Wf0SqlRpjklyEL/7KT+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=0XQSb3cT; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=0XQSb3cT; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 61A25AE69 X-Spam-Score: -9.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: DH2i8NXBVWsw Ihor Radchenko writes: > The proper test is not presence of the message, but the correct > conversion of the legacy options in the actual html output. We do test the results in the HTML output, of course. Still, I would like to test the user messages too. By my definition, "proper" tests verify all requirements. Hence, I ask: Do we want to reliably notify the user? If we do not, we can remove the messages. If we do, then we either test the messages or they will break at some random point in time and generate yet another pointless mail thread. If we do not have any better idea, then I can define a variable that points to the 'message' function by default. The relevant tests can then set the variable to a function that gathers messages in a list. With that, the tests can verify that the list contains exactly one instance of the expected message. Rudy --=20 "It is no paradox to say that in our most theoretical moods we may be nearest to our most practical applications." -- Alfred North Whitehead, 1861-1947 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia