From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ADxfLcbXoGIhQAEAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 19:09:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AOstLcbXoGL+qgAA9RJhRA (envelope-from ) for ; Wed, 08 Jun 2022 19:09:26 +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 0B8CE3DA0E for ; Wed, 8 Jun 2022 19:09:26 +0200 (CEST) Received: from localhost ([::1]:45614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyzBN-000761-7O for larch@yhetil.org; Wed, 08 Jun 2022 13:09:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyzAU-0006o3-EB for emacs-orgmode@gnu.org; Wed, 08 Jun 2022 13:08:30 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:50796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyzAO-0002uP-MG for emacs-orgmode@gnu.org; Wed, 08 Jun 2022 13:08:30 -0400 Received: by mail-wm1-x332.google.com with SMTP id e5so4400825wma.0 for ; Wed, 08 Jun 2022 10:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=a21KdTeZFgDGfjGTD+hHunuA3VjTau2wpNEIWbwsmwY=; b=jiFm2pmrkJpBbgue/olLLOh1gXr15zILSavas4vetMBXanKD7fYbLalTv8qBfH3fzT 6fn+Dv7clHcY6vlmXL5RKgA41Mz3lQ06qSfpZ99lGTF8SpYKC7C6mdSteUfa3X+OuJ/l IrmMcYikc2Fg85rZ3UvIy5B8fBLMJk6rhW3Hf9r6yq9JNzCwzi25yQXZjOEEhabFveMK d+GhzqDTEHBH6yjiBi6huM4NXoXaDSs4981/gQ3KEn08ECPhO0TJWaSuplQ6W5zQguWx RURy3w/w12Zqgb3TBnV0ZD1Ef9DXeDThufXByFf+/sgz3vXt6zCiLrwXWPHY2CAIOm+G f3fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=a21KdTeZFgDGfjGTD+hHunuA3VjTau2wpNEIWbwsmwY=; b=W8O4e0j0kw5L+IUNaMidtZw9IueMX0fsrDsUDiVsRz7Cl8LwAJyomh31tVwpKlFITw ASLKlVkzsJ6lmRWxSTdC2XQaoQyOlvOZey2L7/VJValngcZYF2m10YMZLBjiBqIjmlAP xuaneIA77sxesBTdbvfcRzjRE7LoIuNcf1gQZoXrSJtGnLd56545gqncheqlgXq5V5el 8g5+VqB4i8c1pL49j3dyNDYhxYmNRa17w6a+r4mGnMOOkel2JXvmXtwnTEvmZOzlI2Ve wdnHSzYOBZCN1maxoJfV0wnuvlHTWuMrTwt7Q/QT4gpJMj2AFDlwqFmGvwWbguxEyBc6 nBXg== X-Gm-Message-State: AOAM530Xc3Eom8yr8lMOyLhwU2NTewrDwzwzcr4pFHKmSN5mDJ3eO4nn HpnefgikNvALR12+j1v4/Lf65ZVaBNl++g== X-Google-Smtp-Source: ABdhPJw1lHaOhDfhRnveW4kislLplzJ9S5u7LDKPbWpzd/zC7XewU6dyHcct+3KxoT3nHwRJhMsF6g== X-Received: by 2002:a05:600c:1caa:b0:39c:49a4:2e34 with SMTP id k42-20020a05600c1caa00b0039c49a42e34mr217012wms.82.1654708102413; Wed, 08 Jun 2022 10:08:22 -0700 (PDT) Received: from Home-Mac ([94.230.83.63]) by smtp.gmail.com with ESMTPSA id i8-20020a05600c354800b0039c6390730bsm2970326wmq.29.2022.06.08.10.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 10:08:20 -0700 (PDT) From: Daniel Fleischer To: =?utf-8?Q?S=C3=A9bastien?= Miquel Cc: emacs-orgmode Subject: Re: [PATCH] org.el (org-latex-preview): With an active region, act on it References: <0af38c34-2513-2f17-8b83-4ba3ad5724d7@posteo.eu> Date: Wed, 08 Jun 2022 20:08:18 +0300 In-Reply-To: <0af38c34-2513-2f17-8b83-4ba3ad5724d7@posteo.eu> (=?utf-8?Q?=22S=C3=A9bastien?= Miquel"'s message of "Wed, 8 Jun 2022 11:35:51 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=danflscr@gmail.com; helo=mail-wm1-x332.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654708166; 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=a21KdTeZFgDGfjGTD+hHunuA3VjTau2wpNEIWbwsmwY=; b=WaL2F3dltIWvIDbHV780JqYe63Y++y2VQZObUBQSpheYmWZtumOfriSdPQHsJcci8dAe6M CIRlQXMMsx2Cab+fz9UghfWXL0mYJFlIN2vcMPhbgDpkiswvSk1BW1ITZe2y1uByfBBojG 8qlS/FWu+lLm4qm9HV+mY5nID56Zn1Fm9nB9VxoHYd2BchQIgh91mxcnCW0CcCkkN1gdYh 2UQaWswJh5j1ZJTwKrluSObYulwuNa93X+HyA/M4v9HezblURX/rjD7csFpVZuznuC58F+ UiaQljvU4jvFpw9+VhgMdX8EhvYYqCSNKTaRH0LleQxPM58ijilHUGmpKGmhAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654708166; a=rsa-sha256; cv=none; b=ZODDD89h5gUbISeHfzCA7HKr+b0KC9W3fcHdGGTVradkJr/TpsGKdn0pzsNi6m8twOdnDa GcA++H92CJ2U3AzWGnybrmrlDqG3BQ8WOMKr6V/hQYCH/dbzc7St2wy1+qirKS9eGS8pQe BpNn7Y49kjxvURM1EYKv6YNSpXyCLTqNcxpwolT8pj6KrdLi07PCV0PeMHZX9+Xi1/7B+E d8eWi9zbasK+plmSg+CVm80KMq+gCV1ZSwPZYIKzyLuuMiKCt9JQnwm92rymjjQ+ypV5Mm cvUO9RayDvN0wMrXRKsoQBSZnvnq9QAtmwe7hjcOhiPWDoYplfG+JeTsighe1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jiFm2pmr; 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" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jiFm2pmr; 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" X-Migadu-Queue-Id: 0B8CE3DA0E X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: KDrleV9s++BD S=C3=A9bastien Miquel [2022-06-08 Wed 11:35] wrote: > The attached patch modifies org-latex-preview to display all images > of latex fragments in a region, when one is active. > Using prefix arguments it is already possible to display all images > in the buffer, or in the current section, but I find it often too slow > and unnecessary. Hi Miquel, thanks for the patch! It's useful and works nicely - both in creating and removing the previews. Let's give it a couple more days for feedback and then feel free to merge the patch. Thanks, --=20 Daniel Fleischer