From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YL+BBKAvZ2OeBQEAbAwnHQ (envelope-from ) for ; Sun, 06 Nov 2022 04:53:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iF6XBKAvZ2O4SQEA9RJhRA (envelope-from ) for ; Sun, 06 Nov 2022 04:53:04 +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 DE3093E60B for ; Sun, 6 Nov 2022 04:53:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orWhu-0001hY-Th; Sat, 05 Nov 2022 23:52:26 -0400 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 1orWht-0001h7-5F for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 23:52:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orWhr-0004em-5w for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 23:52:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5714E240101 for ; Sun, 6 Nov 2022 04:52:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667706740; bh=Fpzq1IyriE/kkOrA/Br5mKZn+pa1wxhAnlb8cNKqZC0=; h=From:To:Cc:Subject:Date:From; b=gn+ljCBIccM9NEEJYgw58s43/sf7nE0xyh6uzGERgc6Qi8d8km9L4RA18AnfcN69j rn1zkypgqTAwRo5vRPbgqrY6oHm7ez/omtmQR/Gh+tz5iZ0N1jwJbtHNVDiF+Sc6Nj VrYsJn8LICN1eB3IcfMU/iGGWuOAbOScpaHnTC6r4R5tWrbwisSYrhySj8a4pcz5Vo jXO44sVqa0W61QfkFN7A4nPxXoYMkME1KeQOHoV13KrFTvcJojxvyw9Q2j+fwSB6uq yyrYF/ujt2tNgKlLt7n1msjunvSseUwbvsglOY2fBe5rAT99A970ZT/Q1V36z9K0U0 kr1z8ZhakMQSA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N4gRP4Jxpz9rxL; Sun, 6 Nov 2022 04:52:17 +0100 (CET) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: Update Org to MathJax 3 In-Reply-To: References: <87h70ekci6.fsf@localhost> <87sfixk3u3.fsf@localhost> Date: Sun, 06 Nov 2022 03:52:56 +0000 Message-ID: <87v8nslox3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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: , Sender: "Emacs-orgmode" Errors-To: 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=1667706783; 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=Y7mfIp8qALEGWk/m/43f48bkAlNglZ4tWjXJBv7THnc=; b=V6p3x5Ahk0N1mLKZBlfMwJ42WFhllP8nYe/WAS2ECYZ6U1ivJPGNhAg4CAtBzlMS3pIBIm yirvuF6Zj6atJL78fuwk6wH8BsEjyFvEAhtAC86kpvOeiT+sxQt8J+xSHaQjGMNfNCHIBf abugZOhvl55rALYhMqyb24hPJU04RQTsMDMRn6+vxTMe+gL3C8jXIO8+Ow3zoNkcAl3MD7 ipmb8eTrQ7n/1tL1YxYoLENzCk/MlA5A0Qt1RKhcLBY6jmPVJ2tE/awelTbGRVQc5XLWKr rRMTVdOpICZMQaRPkjSX/djjWDjRHl9Lhoyq4burCUrDJ6/X+ELeVhs8jJeWFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667706783; a=rsa-sha256; cv=none; b=M763xz0t46fq2yKoLvo8A6vouZm4Ku+z/bE1oexR2IVZZW9gbP2MFq+KjeLLCPtSxM90pQ Vw+HYzO2ot60UcHT6bkZDJzjqL6eBhmQS+H1gX2LgauQ7AfRxXf/NlYDdhtiMOcFzdWFzV nXMaV3P1FLJWvRRHWXPr5HyifrVJqHY2x0dYbLEyChPnv6cYMfsXEOu5FSQNbfGPTuck/d WMG/PVbj8D2FusLhwAP6oQ9aUrmVo9948CQnWW/tf4bEsBz3sNI8nsAy2SN+SZfq3qf293 dePHNhRgi5pOAWRWXZ1GduaJloegGB9ISvVplnJPLR17CRHPGPuQKt8otHoYxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gn+ljCBI; dmarc=pass (policy=none) header.from=posteo.net; 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: -5.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gn+ljCBI; dmarc=pass (policy=none) header.from=posteo.net; 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: DE3093E60B X-Spam-Score: -5.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6xKgPjY0f3TQ Rudolf Adamkovi=C4=8D writes: > Rudolf Adamkovi=C4=8D writes: > >> Good points; I will fix everything. > > Please see the attached (3rd) revision of the patch. Nothing is attached. If you are using Emacs to send email, I suggest you to enable checks for attachments, as I do in notmuch (add-hook 'notmuch-mua-send-hook #'notmuch-mua-attachment-check) I am sure that similar functionality exists in other Emacs mail clients. > It seems that some part of the *batch* testing swallows the messages in > a way that makes `(current-message)' work incorrectly in tests. > > Any ideas? Asking for an Emacs veteran. :) AFAIK, `current-message' always returns nil in noninteractive batch mode. Messages are written directly into stderr. You need to use a different approach for testing. > P.S. As a workaround I also tried to set `set-message-function', > dependency-injection style, but it did not work either. I do not think that this function is ever executed in noninteractive mode either. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at