emacs-devel
[Top][All Lists]
Advanced

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

Re: New optimisations for long raw strings in C++ Mode.


From: Lars Ingebrigtsen
Subject: Re: New optimisations for long raw strings in C++ Mode.
Date: Fri, 12 Aug 2022 14:44:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Lars, can you post the file with which you see the hang?  I suspect we
> are not using the same contents.

It's with this recipe:

> > Simplest case to reproduce:
> 
> > M-: (setq long-line-threshold nil)
> 
> > Go to a cc buffer containing:
> 
> > char long_line[] = R"foo(
> 
> > )foo"
> 
> > M-: (insert (make-string 1000000 ?y))
> 
> > on the second line.

And then `M->' -- this will hang Emacs (until you hit `C-g', so it's not
a "hard" hang).



reply via email to

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