From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CGwxBaw3AGdTbgEAqHPOHw:P1 (envelope-from ) for ; Fri, 04 Oct 2024 18:45:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CGwxBaw3AGdTbgEAqHPOHw (envelope-from ) for ; Fri, 04 Oct 2024 20:45:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=IOFGjh8P; dmarc=pass (policy=none) header.from=gmail.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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728067499; a=rsa-sha256; cv=none; b=GY+l8CYXbLl944k9DrISmREDwvkJphMigo8J16V7KjzSQ/vruk+muU0HDuSEbFx8Q/+Sfp Vt7GjCmsUGDuaGo+mOe+cei36QkUJy5XHarDzUxJOi7cEhk0BTu/yNjtc55eMz9dRMZn1W tMfSXcqnjDlJhjAUpmnluWcg+fAtNobS5w5l7GYTgtHGISTwT62owxDkYL7TdwhfzsWu5U Tldr4MpgAf+4JHQP14krQurpWfQlqi8Ls9wEWlQd8KrZtuiS0sGZKL9t4l0umTQDjoIXXx o0EFaR5YYnWARjMkH8NbTL5AiP99C4PEV2RKoFQgTdQHtuEPzOQn4Rkt//qVYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=IOFGjh8P; dmarc=pass (policy=none) header.from=gmail.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728067499; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NihmbLidqnTmhCn8S01o3c5raYud1RwhcqHmbyHVhE0=; b=krlHm5a2ApMpXywzHYFUJ4YHlA5mb8TluDSHLHPhxYTJ7nTEQ72rYWwLOMngCIh2aQ3/rg oMykdWsGmb7b2loYdfuFIR3wCOy6pNuEhWbEbp07cyDDCx/ISgiND56VrCiuPKY4hUgdqS ywIXYsTPMA9oOsuq9+nHsKMx08KLGho817LCjJUZYPV0ewkgP0CI0tQCKq3PxUrm34WtiZ 8kNN2KkBBTxf+aQ4YAfZINPucydNvQJ5hIoShHaTEXFgz7m/Bvwr3EPr+zlck76Y0k+Ng+ vihdVG893ltxXEHO0FanLA0jJf+D4Lmi+BuPdLG6PUWfwOgxkvgwRuFWbjnAyQ== 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 9B8AA7A830 for ; Fri, 04 Oct 2024 20:44:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swnHe-0005J1-Qs; Fri, 04 Oct 2024 14:44:11 -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 1swnHZ-0005Ii-3S for emacs-orgmode@gnu.org; Fri, 04 Oct 2024 14:44:05 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swnHW-0004qz-S9 for emacs-orgmode@gnu.org; Fri, 04 Oct 2024 14:44:04 -0400 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-20b0b5cdb57so26361135ad.1 for ; Fri, 04 Oct 2024 11:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728067440; x=1728672240; darn=gnu.org; h=mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=NihmbLidqnTmhCn8S01o3c5raYud1RwhcqHmbyHVhE0=; b=IOFGjh8P7RkA2nSeQOU7yuWGii4QXlqKNG1FdQLX280XBSCRODXYbWgAjHu+ewnbqY /vIUt4db8FCks7eVQSwurlDeX8w8Gu/Tpl8mS2B7KnQHooF6uSLzCQCV5idpGdU2mxxQ o8N6QQ+BbmwtjQ716bTNvuLI/oItM3DQCqn0YNLc6UOfFia4uo4sssLF1XN3C62341Jg 5mHtQlObPgT806iS/rCmrSBq3SzrjZc8E9BKDOWPGDUwLssCV7do6da2jAxUIIDhLNNM fRNc5KmQnP+Fr7gyM0gCH2PnNzqtNaeGKg9Cw9OIsP7bOHBljrhKwdTd21t2GBTJRp5A jygQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728067440; x=1728672240; h=mime-version:subject:message-id:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NihmbLidqnTmhCn8S01o3c5raYud1RwhcqHmbyHVhE0=; b=DTzvKk9bc/RpwD0SQZK7cylIwffS4VFoiMgBhHCRhuQstKl0Kw5DQvSyY4nwOUWlTN 6gKRSC/rvVTu+m9eAH+eXO8IY/2uK0gJIF+K1x0aLXilG65wSQKBETP7Q3lrU8CfqO4h 8YEXaJU4gefVZliJX+NyKenn2yCMKrC6/PVFMcHQFidnhRrbPnjSXaKP/1DaMa+F9T7n z6pIs7IxNmtwXLmUXCOIDuiKCdOhPUPcGQM86ZJlzjk5ukAjSWNNj6MMCZ9HjVlSIeSa 7hXL1mSmha9i2l6STlqN+x/h2mwpFnBklz7OIra/HvgSEf/ZlJtL9dFZUnBYMod+KUHv RjYw== X-Gm-Message-State: AOJu0YxDrRhTrazCJNXbGSILXaSL8n6C3WmqH0Ecx4lWphAnoV/KBOe2 lvab0BKvZt/x6Mk/HhPMLyCfhRRrNTChPJ6vsooLN5VVRtiIeZf3/ziaYYRQ X-Google-Smtp-Source: AGHT+IEZBILYFg88g9swK0Gh/vInCDqzE+qpiKk7QST/oY6+i/i+JrcP2EstuoANBdst+FntMQT4wA== X-Received: by 2002:a17:902:d50d:b0:205:59b7:69c2 with SMTP id d9443c01a7336-20bff3912e8mr50632775ad.7.1728067439714; Fri, 04 Oct 2024 11:43:59 -0700 (PDT) Received: from dan-laptop ([2405:4802:93f3:5733:a41f:8065:d161:5b80]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c1395a1easm1625055ad.183.2024.10.04.11.43.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Oct 2024 11:43:59 -0700 (PDT) Date: Sat, 5 Oct 2024 01:43:54 +0700 From: Daan Ro To: "=?utf-8?Q?emacs-orgmode=40gnu.org?=" Message-ID: Subject: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)] X-Mailer: Mailspring MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6700376a_507a25bc_1469a" Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=daanturo@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 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, HTML_IMAGE_ONLY_12=2.059, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01 autolearn=no 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 X-Migadu-Spam-Score: -4.63 X-Spam-Score: -4.63 X-Migadu-Queue-Id: 9B8AA7A830 X-Migadu-Scanner: mx10.migadu.com X-TUID: pQb8Xz+yUJbD --6700376a_507a25bc_1469a Content-Type: multipart/alternative; boundary="6700376a_562ed38a_1469a" --6700376a_562ed38a_1469a Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline [PATCH] org-latex-preview: add org-latex-preview-quiet customization * lisp/org.el (org-latex-preview): define customizable boolean org-latex-preview-quiet. Emacs : GNU Emacs 30.0.91 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2024-09-30 Package: Org mode version 9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/) Daanturo --6700376a_562ed38a_1469a Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
=5BPATCH=5D org-latex-preview: add org-latex-preview-quiet customiza= tion

* lisp/org.el (org-latex-preview): define customizable= boolean
org-latex-preview-quiet.

Emacs : GNU Ema= cs 30.0.91 (build 2, x86=5F64-pc-linux-gnu, GTK+ Version 3.24.43, cairo v= ersion 1.18.2)
of 2024-09-30
Package: Org mode versio= n 9.7.11 (release=5F9.7.11 =40 /usr/local/share/emacs/30.0.91/lisp/org/)<= /div>

Daanturo
3D=22= --6700376a_562ed38a_1469a-- --6700376a_507a25bc_1469a Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-org-latex-preview-add-org-latex-preview-quiet-customization.patch" RnJvbSAxYjE2NDJiMTczM2FmMTMyMWI2ZWMzOTBlMjFiYjcwMGEwOTA2M2FmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYWFudHVybyA8ZGFhbnR1cm9AZ21haWwuY29tPgpEYXRlOiBT YXQsIDUgT2N0IDIwMjQgMDE6MzY6MjEgKzA3MDAKU3ViamVjdDogW1BBVENIXSBvcmctbGF0ZXgt cHJldmlldzogYWRkIG9yZy1sYXRleC1wcmV2aWV3LXF1aWV0IGN1c3RvbWl6YXRpb24KCiogbGlz cC9vcmcuZWwgKG9yZy1sYXRleC1wcmV2aWV3KTogZGVmaW5lIGN1c3RvbWl6YWJsZSBib29sZWFu Cm9yZy1sYXRleC1wcmV2aWV3LXF1aWV0LgotLS0KIGxpc3Avb3JnLmVsIHwgMjkgKysrKysrKysr KysrKysrKysrKy0tLS0tLS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAxOSBpbnNlcnRpb25zKCspLCAx MCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9saXNwL29yZy5lbCBiL2xpc3Avb3JnLmVsCmlu ZGV4IGRmNThiNDdiZS4uYmNkMzA1ODVlIDEwMDY0NAotLS0gYS9saXNwL29yZy5lbAorKysgYi9s aXNwL29yZy5lbApAQCAtMTYxNDgsNiArMTYxNDgsMTUgQEAgQkVHIGFuZCBFTkQgYXJlIGJ1ZmZl ciBwb3NpdGlvbnMuIgogCSBkZWZhdWx0LWRpcmVjdG9yeSkKICAgICAgICAnb3ZlcmxheXMgbmls ICdmb3JidWZmZXIgb3JnLXByZXZpZXctbGF0ZXgtZGVmYXVsdC1wcm9jZXNzKSkp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