unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* FACE_FROM_ID vs FACE_OPT_FROM_ID
@ 2016-06-23 20:03 Eli Zaretskii
  2016-06-24  0:23 ` Paul Eggert
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2016-06-23 20:03 UTC (permalink / raw)
  To: Paul Eggert; +Cc: emacs-devel

Paul, can you explain why we need two macros where we had only one?
Two macros with similar effect and unclear rules for when to use each
one doesn't sound like a good idea to me.  I've read the commit log
message, which attempts to explain the preference, but I don't think I
understand the criterion -- any face ID can cause FACE_FROM_ID to
produce NULL, if called in some inopportune moment.  I also looked at
the places where you used each macro, and I cannot understand why you
decided to use this or that, maybe I'm missing something.

What was the GCC 6.1 complaint that led you to this change?

Same questions for IMAGE_FROM_ID.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-07-02  9:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-23 20:03 FACE_FROM_ID vs FACE_OPT_FROM_ID Eli Zaretskii
2016-06-24  0:23 ` Paul Eggert
2016-06-24  8:49   ` Eli Zaretskii
2016-06-24  9:27     ` Paul Eggert
2016-06-24  9:57       ` Eli Zaretskii
2016-06-24 10:00       ` Eli Zaretskii
2016-06-24 11:17         ` Paul Eggert
2016-06-24 13:43           ` Eli Zaretskii
2016-06-24 21:34             ` Paul Eggert
2016-06-25  7:48               ` Eli Zaretskii
2016-06-25 21:34                 ` Paul Eggert
2016-07-02  9:50                   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).