From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: "memory full" during redisplay
Date: Wed, 10 Dec 2014 05:42:54 +0200 [thread overview]
Message-ID: <83tx14uq4h.fsf@gnu.org> (raw)
In-Reply-To: <54877744.4050902@cs.ucla.edu>
> Date: Tue, 09 Dec 2014 14:27:16 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
>
> On 12/09/2014 10:09 AM, Eli Zaretskii wrote:
> > However, signaling an error in the middle of redisplay is not a good
> > idea, because Emacs will immediately re-enter redisplay, again signal
> > an error, etc.
>
> Does the code call 'memory_full', or does it signal an error directly?
The former. The call to memory is in xmalloc and xrealloc, so it
cannot be avoided.
> If the former, memory_full should free enough spare memory so that the
> redisplay should work and if that's not happening I'd be curious to know
> why.
Because that memory reserve is not enough in the use cases I'm talking
about. The code needs more than just that reserve.
next prev parent reply other threads:[~2014-12-10 3:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 18:09 "memory full" during redisplay Eli Zaretskii
2014-12-09 22:05 ` Stefan Monnier
2014-12-09 22:27 ` Paul Eggert
2014-12-10 3:42 ` Eli Zaretskii [this message]
2014-12-10 6:47 ` Paul Eggert
2014-12-10 16:10 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83tx14uq4h.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.