From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: Sebastian Wiesner <swiesner@lunaryorn.com>, 19206@debbugs.gnu.org
Subject: bug#19206: 25.0.50; CC Mode tracks wrong source files
Date: Sun, 07 Dec 2014 21:59:32 -0500 [thread overview]
Message-ID: <jwvoaren8zp.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <20141207224619.GA5449@acm.acm> (Alan Mackenzie's message of "Sun, 7 Dec 2014 22:46:19 +0000")
> +(defun cc-bytecomp-compiling-or-loading ()
> + ;; Determine whether byte-compilation or loading is currently active,
> + ;; returning 'compiling, 'loading or nil.
> + ;; If both are active, the "innermost" activity counts. Note that
> + ;; compilation can trigger loading (various `require' type forms)
> + ;; and loading can trigger compilation (the package manager does
> + ;; this). We walk the lisp stack if necessary.
I think this deserves a longish and complete explanation of the context,
i.e. *why* do we need to know the file name, in which circumstances it's
used and why other solutions to those problems are worse than this
hideous hack,
Stefan
next prev parent reply other threads:[~2014-12-08 2:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-28 10:19 bug#19206: 25.0.50; CC Mode tracks wrong source files Sebastian Wiesner
2014-11-28 19:49 ` Stefan Monnier
[not found] ` <mailman.14863.1417170074.1147.bug-gnu-emacs@gnu.org>
2014-11-28 22:25 ` Alan Mackenzie
2014-11-28 22:37 ` Sebastian Wiesner
2014-11-30 18:42 ` Alan Mackenzie
[not found] ` <20141130184221.GA12974@acm.acm>
2014-12-02 11:03 ` Sebastian Wiesner
2014-12-02 12:02 ` Alan Mackenzie
2014-12-02 14:02 ` Stefan Monnier
2014-12-07 22:46 ` Alan Mackenzie
2014-12-08 2:59 ` Stefan Monnier [this message]
2015-01-13 16:09 ` Alan Mackenzie
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=jwvoaren8zp.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=19206@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=swiesner@lunaryorn.com \
/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.