From: martin rudalics <rudalics@gmx.at>
To: Chris Feng <chris.w.feng@gmail.com>, 22787@debbugs.gnu.org
Subject: bug#22787: [PATCH] Allocate glyph matrices for the initial frame
Date: Wed, 24 Feb 2016 09:04:40 +0100 [thread overview]
Message-ID: <56CD6418.9080102@gmx.at> (raw)
In-Reply-To: <CAP4=87HYnFmjEKwY_K_kerVS2wEK4WoujRhMMhwn3FMgDs4z9g@mail.gmail.com>
> After bd4de70f the initial frame is created without the glyph matrices
> allocated. As a result Emacs in batch/daemon mode would crash when evaluating
> certain functions (e.g. line-pixel-height, window-text-pixel-size).
>
>
> * src/frame.c (make_initial_frame): Allocate glyph matrices.
>
> * src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.
Installed as tiny change on the emacs-25 branch. Please have a look.
Thank you very much, martin
next prev parent reply other threads:[~2016-02-24 8:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 6:32 bug#22787: [PATCH] Allocate glyph matrices for the initial frame Chris Feng
2016-02-24 8:04 ` martin rudalics [this message]
2016-02-24 17:25 ` Eli Zaretskii
2016-02-25 1:38 ` Chris Feng
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=56CD6418.9080102@gmx.at \
--to=rudalics@gmx.at \
--cc=22787@debbugs.gnu.org \
--cc=chris.w.feng@gmail.com \
/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.