From: Sebastian Wiesner <swiesner@lunaryorn.com>
To: Alan Mackenzie <acm@muc.de>
Cc: 19206@debbugs.gnu.org
Subject: bug#19206: 25.0.50; CC Mode tracks wrong source files
Date: Fri, 28 Nov 2014 23:37:49 +0100 [thread overview]
Message-ID: <77ED0F7F-BCB0-45E9-9E06-76914339FF4D@lunaryorn.com> (raw)
In-Reply-To: <20141128222542.60510.qmail@mail.muc.de>
> Am 28.11.2014 um 23:25 schrieb Alan Mackenzie <acm@muc.de>:
>
> Hello, Sebastian.
> In article <mailman.14863.1417170074.1147.bug-gnu-emacs@gnu.org> you wrote:
>> CC Mode tracks wrong source files when a CC Mode derived mode is
>> installed non-interactively.
>
> The rest of your post describes your detective work to track down the
> problem, which is brilliant. But you haven't said what the problem itself
> is, at least not in high level terms.
>
> What does the file look like which does the non-interactive installation,
> when do you see an error, and what is this error message?
The “file” that does the non-interactive installation is Cask from https://github.com/cask/cask/.
I use Cask to install packages into per-project directories, and to run ERT test suites for Emacs Lisp in these “per-project” package environments.
The error occurs when a test case tries to enable D Mode. It's a standard load file error, pointing to the main script of Cask.
This seems all rather irrelevant to me, though. The sample code demonstrates the issue quite clearly.
>> I did not try to find the culprit. The CC Mode code is convoluted
>> beyond my understanding.
>
> The mechanism for the c-lang-defvar's may appear complicated, but it this
> concentration of the complexity in a single place that enables the simple,
> tabular definition of language dependent constants, even (especially) in
> derived modes.
Well, if you say. I'm curious, though, what this system would enable me to do, that an ordinary `require' could not?
Greetings,
Sebastian
next prev parent reply other threads:[~2014-11-28 22:37 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 [this message]
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
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=77ED0F7F-BCB0-45E9-9E06-76914339FF4D@lunaryorn.com \
--to=swiesner@lunaryorn.com \
--cc=19206@debbugs.gnu.org \
--cc=acm@muc.de \
/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.