all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Wilfred Hughes <me@wilfred.me.uk>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Using " rather than < for header files in Emacs
Date: Wed, 2 Mar 2016 15:10:36 -0800	[thread overview]
Message-ID: <56D772EC.5070509@cs.ucla.edu> (raw)
In-Reply-To: <CAFXAjY4DwBEs+uPFnnFAD8TfLOZbn_yrjhvBq4f4bg1F_ax8tw@mail.gmail.com>

On 03/02/2016 02:30 PM, Wilfred Hughes wrote:
> I've noticed that it's common for Emacs C code to say:
>
> #include <config.h>
>
> or
>
> #include <c-ctype.h>
>
> even though these headers are from Emacs source, not system headers.
> Are we interested in fixing this?

I don't see why using " fixes anything. All these files have to compile 
with -I anyway, because builders don't need to build Emacs in the source 
directory.  We might actually be better off using '<' for all includes.



  reply	other threads:[~2016-03-02 23:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 22:30 Using " rather than < for header files in Emacs Wilfred Hughes
2016-03-02 23:10 ` Paul Eggert [this message]
2016-03-02 23:21   ` Herring, Davis
2016-03-05 13:09     ` Mathieu Lirzin
2016-03-05 13:57       ` Herring, Davis
2016-03-05 17:39         ` Paul Eggert
2016-03-08 15:51           ` Mathieu Lirzin
2016-03-09  8:19             ` Paul Eggert

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=56D772EC.5070509@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=me@wilfred.me.uk \
    /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.