emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs really slow when inserting a new source code block


From: Luca Ferrari
Subject: Re: emacs really slow when inserting a new source code block
Date: Tue, 27 Sep 2022 14:42:13 +0200

On Mon, Sep 26, 2022 at 5:16 PM Ihor Radchenko <yantar92@gmail.com> wrote:
> I think you tried to use M-x profiler-stop instead of M-x profiler-report
> M-x profiler-report show yield a new buffer displayed the profiler tree.
> M-x profiler-write-profile will work from inside that buffer.

I was careful to do the steps in the right order, and my message
buffer tells the profiler has been stopped after the write profiler
fails:

CPU and memory profiler started
Mark set
Auto-saving...done
Saving file /home/luca/git/talks/perl/perl5/PERL-VARIABILI.org...
Wrote /tmp/.!home!luca!git!talks!perl!perl5!PERL-VARIABILI.org.~undo-tree~
Wrote /home/luca/git/talks/perl/perl5/PERL-VARIABILI.org
syntax error
Saving file /home/luca/git/talks/perl/perl5/examples/autovivification.pl...
Wrote 
/tmp/.!home!luca!git!talks!perl!perl5!examples!autovivification.pl.~undo-tree~
Wrote /home/luca/git/talks/perl/perl5/examples/autovivification.pl
Mark activated
Mark deactivated
Mark activated
Saving file /home/luca/git/talks/perl/perl5/examples/autovivification.pl...
Wrote 
/tmp/.!home!luca!git!talks!perl!perl5!examples!autovivification.pl.~undo-tree~
Wrote /home/luca/git/talks/perl/perl5/examples/autovivification.pl
Mark set
Auto-saving...done
Saving file /home/luca/git/talks/perl/perl5/PERL-VARIABILI.org...
Wrote /tmp/.!home!luca!git!talks!perl!perl5!PERL-VARIABILI.org.~undo-tree~
Wrote /home/luca/git/talks/perl/perl5/PERL-VARIABILI.org
profiler-write-profile: Wrong type argument: arrayp, nil
CPU and memory profiler stopped
Reverted buffer

> Another thing you can try is setting org-src-fontify-natively to nil in
> your config.
>

I'm trying it right now, after reverting the buffer I was editing (I
applied it with M-x set-variable).
I will see if I suffer from other slowing down.

Thanks,
Luca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]