From: Keith David Bershatsky <esq@lawlist.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Printing to STDERR when %d is "Cannot access memory ..."
Date: Wed, 13 Jun 2018 14:37:09 -0700 [thread overview]
Message-ID: <m2o9gel662.wl%esq@lawlist.com> (raw)
Thank you, Eli. It is a good thing that I asked about this issue because a few of my calculations require a non-NULL value. I will be using FRAME_COLUMN_WIDTH (f) as the fallback method when font is NULL, which will probably suffice for this particular project.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DATE: [06-13-2018 12:46:54] <13 Jun 2018 22:46:54 +0300>
FROM: Eli Zaretskii <eliz@gnu.org>
>
> * * *
>
> I don't think face->font is guaranteed to be non-NULL. You need to
> check that explicitly, and you need some fallback for when it is NULL,
> to serve as a substitute for font->space_width.
next reply other threads:[~2018-06-13 21:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-13 21:37 Keith David Bershatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-13 19:34 Printing to STDERR when %d is "Cannot access memory ..." Keith David Bershatsky
2018-06-13 19:46 ` Eli Zaretskii
2018-06-13 19:34 Keith David Bershatsky
2018-06-13 18:37 Keith David Bershatsky
2018-06-13 18:50 ` Davis Herring
2018-06-13 19:11 ` 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=m2o9gel662.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=eliz@gnu.org \
--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.