From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GFeCDoLyAGQNtwAAbAwnHQ (envelope-from ) for ; Thu, 02 Mar 2023 20:01:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6KjJDoLyAGQfVgAAauVa8A (envelope-from ) for ; Thu, 02 Mar 2023 20:01:22 +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 DD5733B0FD for ; Thu, 2 Mar 2023 20:01:21 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NT3tq0GP; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677783681; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hjedklwUWJpn5w6RDdFyr7AVsbpoDM+KTLemY+u90T4=; b=ZYGd5hQUFe87mW8hEA5GO8ETuAv5P9080M9ZH9o91KwQDWumE740krZ4auGIFlJzuqto0K /3I4bAzbArTMQE7ueP2DlEvy8ck/I7GAbjyEJ8SlROO2NBOFl0p0gmxKbP5OWVRQC9G+Xv B4P1WaU0QqfaGZ1VbAj8FJ7nz3k+0m+z3CqCwpMtkX6b5t0nqRrtXsE8MUEua41obofhi5 yojbmelxdv5MajOl2Iv78pkMLREcJxGTxI00E6J+Q7kSHqhXAPuy/yy+74IROhkL708T8e OZhX/gaUmb6Wnn+g0iitytcheND9bQXJy7jV7f/0XjEY30lTcJIuuiE3uMWrfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NT3tq0GP; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677783681; a=rsa-sha256; cv=none; b=SVNNF+kIeOUoYGC5EVHL9mjmFxi+wOh9YfExb5OyI/C7DXc3tRgVFoCyKV8B++YX4rzx+y 1wAZn5nd2GuaA2rFD8RDEDxP/L2Jz8wbpZbmnFX8cOaI/77VxSOB6h5owMvM4McsweJ3Wb BoS/WA2Hg8tphE3Po3hgeVYvxbk7JcQRxTRnvOEMb+Tf1XlEpKTzQwUkhySjHzQu/FVeBv 54GzwqZ2jCC5HBx4/5TtakyRJ4Thta811Mp41PfCxcYkrtwZMdG2PQwOZ/7RSKueUnAUG8 iJpNU+iXlsLgOyOsrfStb9xORc9wX3yzdHtmb5mZxkGc+4UcWNTB/eZdhfNJ8g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXoAN-0003lD-MP; Thu, 02 Mar 2023 14:00:35 -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 1pXoAC-0003j7-E0 for emacs-orgmode@gnu.org; Thu, 02 Mar 2023 14:00:26 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXoAA-0002Dy-FM for emacs-orgmode@gnu.org; Thu, 02 Mar 2023 14:00:23 -0500 Received: by mail-wm1-x334.google.com with SMTP id j3so280163wms.2 for ; Thu, 02 Mar 2023 11:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hjedklwUWJpn5w6RDdFyr7AVsbpoDM+KTLemY+u90T4=; b=NT3tq0GP26o/w9/fW5RKFQzGVAy4ZmX28KbkzZCvdw8HWcHJkUrhF8DdOuyVEvi0ph rb3L64c/4SNn1mApw+hvikplt0zkXvBy71PL7kqQlYxhcXUh7HnABq3XIMLtEfex68lN DYfJXBkdTGJZXz8E0IUn+/uwNCJuPkIg4XfZc/flE9fJNwQrK/MMsyyu6aMQfOYjCO5F 0v7/+h9F0UWUisKQqN45zMnoiy/DME866DC9ViCEVo8n2j9GCLWZgTCenuunLG8E2WLs NtHgDDWB25SgjwFw/jEHNURobx/E9Jw3o/ctQdBw37qJb+kuBoEOpC7ByQUavnrdswzd 469A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hjedklwUWJpn5w6RDdFyr7AVsbpoDM+KTLemY+u90T4=; b=0g/ZD0Bj1KHNJBsIzGRAGsVzPmh1paxNx+IQGkcC8GsSEnzzDaAwfNWhkKSdZCD+Ku 9rf0eECFBMvY+dGjUHOyYkvlhF+3rr7oar8MoaF0wWdmaYOq/UnstFEuXLItEf/CrXRV 878s5bvfNGOJCrvritIOVAvc9TopBeXi3HMsUIU4HjNHGh1dmtDbHqh2BpdQ6x/w0dTK opwKEV2rtkxxECe/VkKy4iwLkZGHK2B2N93cazSssDI7UoWY6bzhi2uIf9D4583RQUc6 rYTFUV+tPcX5NdOAOUiT6v4k5/o8vleVluZxfWwhFgOSm2WKjZM4c9YbTeun2R1vDOuX YNtg== X-Gm-Message-State: AO0yUKUTkH0IzP8aW3h7GuL2OAzlalvdwEoDGjnL9aZ7taGafjuGSmCJ vF+50Ki6Pamf4QYHBJEUf/g= X-Google-Smtp-Source: AK7set+HwK1+CeJJsFlENGMqvduJe3S5mZHb+/uiFPbT9B1/wy+yjSJFJxXgj04YXyge5IC1Zd0z+g== X-Received: by 2002:a05:600c:a29d:b0:3df:e1e9:201d with SMTP id hu29-20020a05600ca29d00b003dfe1e9201dmr8239663wmb.40.1677783617285; Thu, 02 Mar 2023 11:00:17 -0800 (PST) Received: from keynux ([2a01:e0a:505:3460:169:7511:f49a:58eb]) by smtp.gmail.com with ESMTPSA id r9-20020a05600c458900b003e1f6e18c95sm4260954wmo.21.2023.03.02.11.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 11:00:16 -0800 (PST) Message-ID: <6400f240.050a0220.19031.cb2b@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Thu, 02 Mar 2023 20:00:14 +0100 From: Bruno Barbier To: chris , emacs-orgmode@gnu.org Subject: Re: visual-line-mode don't play well with org-latex-preview In-Reply-To: <4782493.GXAFRqVoOG@pluto> References: <4782493.GXAFRqVoOG@pluto> Date: Thu, 02 Mar 2023 20:00:14 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=brubar.cs@gmail.com; helo=mail-wm1-x334.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: X-Migadu-Spam-Score: -12.22 X-Spam-Score: -12.22 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: DD5733B0FD 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-TUID: FykOuXgZLpV5 Hi Chris, chris writes: > Hi all, > > ``` > hello hello hello hello hello hello hello hello hello hello hello hello hello > hello hello \(\text {hello hello hello hello hello hello hello hello}\) > ``` > > If you put the above text in a org file, and activate `visual-line-mode` and > `org-latex-preview`, depending on the length of the initial part of the text, > the generated png/svg image from latex expression can be displayed in full, > partially hidden or totally hidden. > I'm observing the same behavior. The preview is not always fully visible. But, after adding some text (at least one space after the preview), Emacs wraps as needed, so that the preview remains visible. Emacs is just not wrapping correctly in that edge case, where there is nothing at all after the latex preview. The behavior looks the same using only text-mode (without using org). You should probably report this as an Emacs bug (see M-x report-emacs-bug). Bruno