all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Limiting config.h's #includes
@ 2016-09-22  8:49 Paul Eggert
  2016-09-22 15:11 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2016-09-22  8:49 UTC (permalink / raw)
  To: Emacs Development

In Bug#24506 I propose moving some #include directives from src/conf_post.h to 
the files that need the includes. I'm mentioning this on emacs-devel for any 
people who don't read the bugs list and who care about this sort of thing.

The idea is that <config.h> should limit itself to configuration items 
appropriate for all C files. This is something that has bugged me for a while 
about Emacs <config.h>, and the precipitating event for the proposed patch is 
the problems discussed in the recent "unexmacosx.c and limits.h problem" thread.

While we're on the topic, the name "conf_post.h" should use a hyphen not 
underscore ("conf-post.h") as per longstanding Emacs file name conventions. 
Although the patch proposed in Bug#24506 leaves the file name alone, I'd like to 
rename it after installing the patch.



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

end of thread, other threads:[~2016-09-22 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22  8:49 Limiting config.h's #includes Paul Eggert
2016-09-22 15:11 ` Eli Zaretskii
2016-09-22 15:28   ` Paul Eggert
2016-09-22 16:03     ` John Wiegley

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.