emacs-devel
[Top][All Lists]
Advanced

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

Re: Printing to STDERR when %d is "Cannot access memory ..."


From: Keith David Bershatsky
Subject: Re: Printing to STDERR when %d is "Cannot access memory ..."
Date: Wed, 13 Jun 2018 14:37:09 -0700

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 <address@hidden>
> 
> * * *
> 
> 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.



reply via email to

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