emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian <shipley7701@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
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	[thread overview]
Message-ID: <87jztmgcyf.fsf@gmail.com> (raw)
In-Reply-To: <87a5ui8adp.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]

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 without org-fragtog, but I suspect that that is 
just because the latex previews are happening less frequently 
because I'm triggering them manually. Not sure.  
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:
>>  —
>>  E.G.:
>>  
>> 
>> 
>> Basic Addition
>> 
>> 
>> $5+5 = 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)


[-- Attachment #2: Type: text/html, Size: 1617 bytes --]

  reply	other threads:[~2023-08-23 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 17:08 [BUG] Hang on latex preview [9.7-pre (release_9.6.7-661-g34ee6f @ /home/csj7701/.emacs.d/straight/build/org/)] Project
2023-08-23  7:51 ` Ihor Radchenko
2023-08-23 12:26   ` Christian [this message]
2023-08-23 12:31     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jztmgcyf.fsf@gmail.com \
    --to=shipley7701@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).