From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uN7MKIlIgGTRdQAASxT56A (envelope-from ) for ; Wed, 07 Jun 2023 11:06:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gP/VJ4lIgGRyGgAAG6o9tA (envelope-from ) for ; Wed, 07 Jun 2023 11:06:17 +0200 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 5CCEA31E2B for ; Wed, 7 Jun 2023 11:06:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6p6t-0004Hf-88; Wed, 07 Jun 2023 05:05:43 -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 1q6p6r-0004HU-RM for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 05:05:42 -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 1q6p6f-0000N3-Kh for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 05:05:41 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 83E0F240103 for ; Wed, 7 Jun 2023 11:05:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686128725; bh=M9crZS9FvhaluAPDbW1FupSIXWiiHhXbn+xK/UDF8Es=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=Y5+nQZoRKW81LwJ7QS3Lf+B8c0Z580uoV8a4aRhltnp7PrNLOUVDKQp0yic8lrDjc ctu1fhGP9b4wgYRhEhdIGmjQloty75tp/knyTT2EH8r2jjFaBRCYzuTTwWD+mKkpgm 7wIHoUH62n/Kl0F0uR5NA2RRtFVxF7/9oUCcQGiuy/mYv9SSxVCqnmgGa16Ym2i/SI I43BUUya9oUFBoMYchf/qXATuUIU8d6o6LALPEEaqWGIK/1q1y3YpouIgVv3hXi+s6 hA7BhbMazlb23ztuqRabU+uno3n2VbOKzWFHRJskkEeXUvsCLLFn8GOWHwZzrFFa5A T0vP46rVzi+qA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QbhJN5TcNz6ty0; Wed, 7 Jun 2023 11:05:24 +0200 (CEST) From: Ihor Radchenko To: gerard.vermeulen@posteo.net Cc: Emacs orgmode , Maxim Nikulin Subject: Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG In-Reply-To: <4cd10b8badc195dd6640559cd2cf739b@posteo.net> References: <747f75b6-2b0f-5be3-d15b-84c49c96fe56@gmail.com> <4cd10b8badc195dd6640559cd2cf739b@posteo.net> Date: Wed, 07 Jun 2023 09:10:10 +0000 Message-ID: <874jnjeiz1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686128777; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8nUb4m7vpRljRQ5LTSKFRY7fqjqlOkpKzZDDrrqqp00=; b=GpZ7rcrRuXglGapYnJ8z0zail2TTrUbvo+FiBjc7T/pK0OG/JrHeSSSVnlWSdBNg9OiuEh 2DJ5U/D5NVPQjWAc1CqFwl84cJbtLY6z2c/aaP5OODvjU1lbGqbsE/tekN704FqjAc5bZS wN3Lu27CHKCjxY81SKTsSSZDwl2JChjQjkEDHhdEKYYCki2nxKdFHOeb0s3+Djl32PBVv7 fG2iXi9p7OpczLeMZ3f8azwwkrQ4BNaUb2KnQwrFzg67Df96tVmazo+6Ka7KtNBvTI8vS1 /li1OF6m6XEkqE+PNjGDT1oDgjYhHAzXPoRrAiunKw5mfzPdjxPDHYOXuEt7ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y5+nQZoR; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686128777; a=rsa-sha256; cv=none; b=Ywqhwlzn1X1L5gZfBiN0xJqlmVqT/s9c4whwD821fZrwQgQKFVUMcN4ATAeeTjLtXRn72z y5BhAR9vLlbK4mLz559kozJIqdfvOPvTcvPaQedg05PP8i97/Bcpk8/iR860yrAj1988cG JtNjLVCiXhN1Smku7Rt2lYQeEvzJDeZtL/2iTHP6cJveP8+27N4OXqxKnMguMV1FcX3HDA fkJ47LTqEIoz6Sec1kIAGVVq8JMRhyyaBCqc7oyW5/Ua+jhHwZqDf6iW7farriRPDS4ssT u5FDQsrT6yUMj6nUcU6cw3mdZpe/QLDEySP8GM6keYugS0eVN3YvtAA9RahnAg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y5+nQZoR; 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: 5CCEA31E2B X-Spam-Score: -6.16 X-TUID: e22hqNTtg4h+ gerard.vermeulen@posteo.net writes: > I had been think about names like > :with-svgs-to-embed (...) > :sans-svgs-to-embed (...) > while preparing the patch. I decided to err towards verbosity. I think that the idea with putting explicit file names is not good. It will force extra work for users. Instead, it should be possible to switch embedding on/off right at near image link. And more global setting should deal with regexp patterns or enabling/disabling embedding globally. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at