From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IPjuIOI55mSuXgEASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 18:54:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uN/nIOI55mQVcQAA9RJhRA (envelope-from ) for ; Wed, 23 Aug 2023 18:54:58 +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 39B51550B0 for ; Wed, 23 Aug 2023 18:54:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ECjaEBik; 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=1692809698; 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=4/vdz36ZHPPRKSNfYGsyr6Xc9HPWc3YWQsj/BizIPYI=; b=spxp9bnDNl39qG/8dMek/jL9GJ0WiCerX19/gwmsrOs4dGhNKxiMvJtpC7mxdiDGSbwvRf rMiRgIjPyoNQZ29J/qwcWuXW32r1ApODMhXyIeh3ed4Kz540Ho3A7F69UIEnkjZPwAINH2 oiKDQSAaap3v+m1FCJkF1/3QaFbPHkUWXoN68hSzXusMd631n/MBPojF1/DQ2KX1wR1020 o2Fa0aovwXMWEdsjh5NETwZwp6ujvu5ReYqo+YwT9oyhl87Bii6w+AHvKlrwaEoEDF+HTb GKHRPQj/6SbPlnqIyOGmeeYqazo9mhHOSG19YB/7bWLm8a3eDirv9iUAIj2DDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ECjaEBik; 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=1692809698; a=rsa-sha256; cv=none; b=Zwe0TuEZ4a3R5DSVvljLBryUH3qDOWrv7UZWP+shWy3UgSGF+XJxN/ir0mcHnIHefuej06 dzlw1LTwGy3suXlePlzpekqtktebPr/f2gVYAo2Qa//cVxmXbGkan8PfKul2XOzx7rHFaZ OduvHA4ZrTwxAAl12zZgULMbIA9Or+Muq5jaNF3llJ+eAl45ih1qh4DqrlXU5jFA3gzB0+ k6sdso9v+JFxCn48Twt36jz9GoUe/9OhRNcYQJj5YDnkflX7e2gAM1DiwXh/Vc/2QEPQVk +hESPTtoQg0kpWB5smOm3wOA5ffmmtVWaYW7mxhorhz03m0pUK5JzNKNYmgYGA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYr3V-0007gh-A6; Wed, 23 Aug 2023 12:50:05 -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 1qYmyL-0002VL-7S for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 08:28:29 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYmyI-0001ow-S6 for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 08:28:28 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-76d7b5e374fso361835585a.2 for ; Wed, 23 Aug 2023 05:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692793705; x=1693398505; h=mime-version:message-id:in-reply-to:date:subject:cc:to:user-agent :references:from:from:to:cc:subject:date:message-id:reply-to; bh=4/vdz36ZHPPRKSNfYGsyr6Xc9HPWc3YWQsj/BizIPYI=; b=ECjaEBikvMWndgA9C7udSS8LkiU5WtZ5I7BUKtgNBygI5byxlT9X2kNGjpPoFLhBKr BKJ2ZBUyv2yOqSZuTAWcvvfPvSQck1fJrkJ2dEyVsNmjKAgBzGNfdim13sX5oTZkdLWU xN9vBtx1ROSxpLfEnRw3J3TKGBMkQ4Lzt5Zolkx6SRxp+GS6CZp2aJEHn76WGZRMqxWg JiioERgHIM6qy9NLLtUj3zPRGyMkAAiJh0Yv3eRUvHnx5eNelJiV0WmqfotwIDH55NbJ BPDmKcwrXklorMztk8QHQPi011faNT/7h9TsxeGIBBGMztYFS5d1tQrBUnW23wrozYWM ssiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692793705; x=1693398505; h=mime-version:message-id:in-reply-to:date:subject:cc:to:user-agent :references:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4/vdz36ZHPPRKSNfYGsyr6Xc9HPWc3YWQsj/BizIPYI=; b=O1rGLtsMsdJnVBaAsNs+0sAqqaI3mrDYZ3CFT50TeL+i+QzcxIspvus7hv7ixLKqqF 9/EM7JS9siqtYbyhav3bJGeh0F6ym69Uz/2BV+9q9p+8eD+LmFMTIbe2XuiYZVW5dYP7 cVH7pjlOItJdbgptHmIqCiBNyLOImnroN5zgnQrQpkKFeZ1fkpVom2qlqlwVihJtBD+6 cej/tH+IqNfiOPXSPFRz/dI2EVxajTB2aYyb+JZPSfYJ8falV1+akLlfmIEjJICOjqT8 zOzdGe6usYas/nrrBP/y62pXRI6ke4mz38sn43QrxLyAzK+8+OqFnRpR0SUG3SHuEXFw gxzg== X-Gm-Message-State: AOJu0Yx58mfBgcXoPsPfgBqp7vToQDs1rByupEhoGZp6CuZKEYMf73KO O8LLRaJG34nz5BGAAIOLa1tPGp3CGj2ykQ== X-Google-Smtp-Source: AGHT+IHIhH4xEzPDnZMeZEHJ3lAa860YIVCdggHEZnDnbUfE7nRviZy74Jm7VWouffxavsuUiktJHQ== X-Received: by 2002:a05:620a:459e:b0:76c:d3d1:6a26 with SMTP id bp30-20020a05620a459e00b0076cd3d16a26mr15593010qkb.38.1692793705262; Wed, 23 Aug 2023 05:28:25 -0700 (PDT) Received: from archlinux ([138.29.11.2]) by smtp.gmail.com with ESMTPSA id m16-20020ae9e010000000b0076cc4610d0asm3867608qkk.85.2023.08.23.05.28.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 05:28:24 -0700 (PDT) From: Christian X-Google-Original-From: Christian References: <874jksl3uc.fsf@gmail.com> <87a5ui8adp.fsf@localhost> User-agent: mu4e 1.10.5; emacs 28.2.50 To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Hang on latex preview [9.7-pre (release_9.6.7-661-g34ee6f @ /home/csj7701/.emacs.d/straight/build/org/)] Date: Wed, 23 Aug 2023 08:26:07 -0400 In-reply-to: <87a5ui8adp.fsf@localhost> Message-ID: <87jztmgcyf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=shipley7701@gmail.com; helo=mail-qk1-x72d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: 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-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.59 X-Spam-Score: -6.59 X-Migadu-Queue-Id: 39B51550B0 X-TUID: KGJlBiMIvD5V --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Following your suggestion, I am able to preview the latex snippets=20 without any issue. I also tried removing org-fragtog from my config and previewing=20 manually; I still get an org-element-cache error. I haven't yet=20 seen emacs hang without org-fragtog, but I suspect that that is=20 just because the latex previews are happening less frequently=20 because I'm triggering them manually. Not sure.=20=20 Ihor Radchenko writes: > Project writes: > >> I take class notes using latex. I >> use org-fragtog to automatically >> preview inline latex snippets as I type. My org documents are=20 >> usually >>=20 >> full of small snippets of latex: >> =E2=80=94 >> E.G.: >>=20=20 >>=20 >>=20 >> Basic Addition >>=20 >>=20 >> $5+5 =3D 5\( >> --- >> Lately, whenever I write a new latex snippet and move my=20 >> cursor outside >> the two dollar >> signs, instead of rendering the latex, my entire emacs >> instance hangs. I then have to run "pkill emacs", >> restart the daemon, go >> back in and run "recover-this-file" to continue my work. > > Thanks for the report! > Does the problem happen if you run emacs without your config and=20 > toggle > latex preview? (emacs -Q) --=-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Following your suggestion, I am able to preview the latex snippets without = any issue. I also tried removing org-fragtog from my config and previewing manually; I= still get an org-element-cache error. I haven't yet seen emacs hang withou= t org-fragtog, but I suspect that that is just because the latex previews a= re happening less frequently because I'm triggering them manually. Not sure= .=20=20 Ihor Radchenko <yantar92@posteo.net> writes:

Project <shipley7701@gmail.com> writes:

I take class notes using latex. I use org-fragtog to automatically preview inline latex snippets as I type. My org documents are usually

full of small snippets of latex: =E2=80=94 E.G.:


Basic Addition

$5+5 =3D 5\( — Lately, whenever I write a new latex snippet and move my cursor outside the two dollar signs, instead of rendering the latex, my entire emacs instance hangs. I then have to run "pkill emacs", restart the daemon, go back in and run "recover-this-file" to continue my work.

Thanks for the report! Does the problem happen if you run emacs without your config and toggle latex preview? (emacs -Q)

--=-=-=--