bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66743: 30.0.50; Crash when dumping reftex


From: Eli Zaretskii
Subject: bug#66743: 30.0.50; Crash when dumping reftex
Date: Wed, 25 Oct 2023 19:21:19 +0300

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  66743@debbugs.gnu.org
> Date: Wed, 25 Oct 2023 18:15:44 +0200
> 
> Ihor Radchenko <yantar92@posteo.net> writes:
> 
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> >> The code which aborts:
> >>
> >>   if (!itree_empty_p (buffer->overlays))
> >>     /* We haven't implemented the code to dump overlays.  */  <<<<<<<<<<
> >>     emacs_abort ();
> >>
> >> Any questions?
> >
> > What is the difficulty dumping overlays?
> 
> If you are not trying to dump buffers, I think you won't need overlays.
> So, the question is why dump buffers?

Emacs is always dumped with a few buffers, because temacs needs them
to do the dumping.  See this comment text from buffer.c:

         Implementation notes: the buffers we carry from temacs are:
         " prin1", "*scratch*", " *Minibuf-0*", "*Messages*", and
         " *code-conversion-work*".  They are created by
         init_buffer_once and init_window_once (which are not called
         in the dumped Emacs), and by the first call to coding.c
         routines.





reply via email to

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