From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Avoiding loading cc-langs (was: Ordering in `source' property, and auto-loading of c-lang-defconsts) Date: Mon, 01 Sep 2014 18:43:37 -0400 Message-ID: References: <20140831212355.GA4401@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409611455 7678 80.91.229.3 (1 Sep 2014 22:44:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2014 22:44:15 +0000 (UTC) Cc: Alan Mackenzie , Martin Stjernholm , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 02 00:44:07 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XOaKV-00072w-At for ged-emacs-devel@m.gmane.org; Tue, 02 Sep 2014 00:44:07 +0200 Original-Received: from localhost ([::1]:34295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOaKU-0005bR-TM for ged-emacs-devel@m.gmane.org; Mon, 01 Sep 2014 18:44:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOaKK-0005Qj-78 for emacs-devel@gnu.org; Mon, 01 Sep 2014 18:44:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOaKC-0001aw-NC for emacs-devel@gnu.org; Mon, 01 Sep 2014 18:43:56 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOaK3-0001UG-Jf; Mon, 01 Sep 2014 18:43:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIImAQVWIxAZJgcLFBgNJIgM0hkXjnoHhDgBA6kZgWqBcYFbIQ X-IPAS-Result: ArUGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIImAQVWIxAZJgcLFBgNJIgM0hkXjnoHhDgBA6kZgWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="88433853" Original-Received: from 69-165-145-6.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.145.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Sep 2014 18:43:38 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 31A05AE176; Mon, 1 Sep 2014 18:43:37 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sun, 31 Aug 2014 20:52:40 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173941 Archived-At: In my attempt to understand a bit more how cc-mode works, here's the next question: - why do we work so hard to try and make cc-langs unnecessary at run-time? I mean, if you look at c-lang-const, or c-make-init-lang-vars-fun, you'll see we have up to 3 different ways to do the same thing in different circumstances. Is it only for performance reasons? Stefan