From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Limiting config.h's #includes Date: Thu, 22 Sep 2016 01:49:23 -0700 Organization: UCLA Computer Science Department Message-ID: <17f678f9-e306-3cd6-bfcf-5f215a5fe05b@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474535581 14259 195.159.176.226 (22 Sep 2016 09:13:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2016 09:13:01 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 22 11:12:54 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn03U-0000c2-Ia for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2016 11:12:32 +0200 Original-Received: from localhost ([::1]:33338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn03S-0008AT-PD for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2016 05:12:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzhH-0000tB-9t for Emacs-devel@gnu.org; Thu, 22 Sep 2016 04:49:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmzhB-0001oG-8H for Emacs-devel@gnu.org; Thu, 22 Sep 2016 04:49:34 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzhB-0001o9-2N for Emacs-devel@gnu.org; Thu, 22 Sep 2016 04:49:29 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9A5F616117E for ; Thu, 22 Sep 2016 01:49:27 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id G_LV46EKeSSn for ; Thu, 22 Sep 2016 01:49:26 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E366316128F for ; Thu, 22 Sep 2016 01:49:26 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Z-SpxSIhwd5V for ; Thu, 22 Sep 2016 01:49:26 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.191.53]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BC8E316117E for ; Thu, 22 Sep 2016 01:49:26 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207683 Archived-At: In Bug#24506 I propose moving some #include directives from src/conf_post= .h to=20 the files that need the includes. I'm mentioning this on emacs-devel for = any=20 people who don't read the bugs list and who care about this sort of thing= . The idea is that should limit itself to configuration items=20 appropriate for all C files. This is something that has bugged me for a w= hile=20 about Emacs , and the precipitating event for the proposed patc= h is=20 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=20 underscore ("conf-post.h") as per longstanding Emacs file name convention= s.=20 Although the patch proposed in Bug#24506 leaves the file name alone, I'd = like to=20 rename it after installing the patch.