From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: Alan Mackenzie <bug-cc-mode@gnu.org>,
Martin Stjernholm <mast@lysator.liu.se>,
emacs-devel@gnu.org
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 [thread overview]
Message-ID: <jwvegvvezhi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <jwvy4u4rx9n.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 31 Aug 2014 20:52:40 -0400")
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
next prev parent reply other threads:[~2014-09-01 22:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 14:09 Ordering in `source' property, and auto-loading of c-lang-defconsts Stefan Monnier
2014-08-31 21:23 ` Alan Mackenzie
2014-09-01 0:52 ` Stefan Monnier
2014-09-01 22:43 ` Stefan Monnier [this message]
2014-09-04 2:38 ` Avoiding loading cc-langs Stefan Monnier
2014-09-06 11:10 ` Alan Mackenzie
2014-09-06 10:12 ` Avoiding loading cc-langs (was: Ordering in `source' property, and auto-loading of c-lang-defconsts) Alan Mackenzie
2014-09-08 1:51 ` Avoiding loading cc-langs Stefan Monnier
2014-09-08 15:46 ` Glenn Morris
2014-09-08 18:45 ` Stefan Monnier
2014-09-08 18:52 ` Glenn Morris
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=jwvegvvezhi.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=acm@muc.de \
--cc=bug-cc-mode@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mast@lysator.liu.se \
/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.