From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: changes to cfengine-mode
Date: Tue, 13 Dec 2011 14:51:48 -0500 [thread overview]
Message-ID: <jwvy5ugclb4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87iplk9ylb.fsf@lifelogs.com>
>>> 2) rename all the "cfengine-*" variables used only by `cfengine2-mode'
>>> to "cfengine2-*"
SM> Is this needed? Do these variables only make sense for cfengine2 syntax?
> Yes, I renamed those that are only for cfengine2.
There's a difference between "only used for cfengine2" and "only makes
sense for cfengine2". E.g. it might only be used for cfengine2 because
it's just not implemented for cfengine3 (e.g. for lack of resources, or
because some other generic Emacs feature can be used instead).
Basically, renaming user variables is a hassle, so it should only be done
when it's really needed, e.g. to avoid conflicts or fix a real problem.
> I'll commit the revised code after 24.1 is out.
I'd like to see the shuffle (cfengine-mode->cfengine2-mode and
cfengine-auto-mode->cfengine-mode) be in Emacs-24.1. You can include
the docfixes at the same time.
SM> *Messages* tells me:
SM> Error during redisplay: (void-variable font-lock-constant-name-face)
> I don't know why it says that. That variable is defined in
> font-lock.el, right? Or am I missing something?
Yes, you're missing the fact that it's not defined ;-)
BTW, to debug font-lock problem, I recommend you start by (setq
font-lock-support-mode nil), so that debug-on-error works.
Stefan
next prev parent reply other threads:[~2011-12-13 19:51 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 17:18 prog-mode not available in earlier Emacsen, need help with cfengine.el Ted Zlatanov
2011-11-22 18:05 ` Eli Zaretskii
2011-11-22 18:45 ` Ted Zlatanov
2011-11-22 22:30 ` Stefan Monnier
2011-11-23 2:09 ` Ted Zlatanov
2011-11-23 6:03 ` Chong Yidong
2011-11-23 13:35 ` Ted Zlatanov
2011-11-24 6:03 ` Chong Yidong
2011-11-25 13:17 ` Ted Zlatanov
2011-11-26 10:57 ` Reiner Steib
2011-11-27 2:06 ` Ted Zlatanov
2011-12-01 15:39 ` Ted Zlatanov
2011-12-02 16:12 ` changes to cfengine-mode (was: prog-mode not available in earlier Emacsen, need help with cfengine.el) Ted Zlatanov
2011-12-02 20:32 ` changes to cfengine-mode Stefan Monnier
2011-12-07 11:04 ` Ted Zlatanov
2011-12-07 16:10 ` Stefan Monnier
2011-12-08 9:52 ` Chong Yidong
2011-12-13 17:21 ` Ted Zlatanov
2011-12-13 19:51 ` Stefan Monnier [this message]
2011-12-13 21:46 ` Ted Zlatanov
2011-12-17 0:45 ` Stefan Monnier
2011-12-21 11:31 ` Ted Zlatanov
2011-12-13 17:23 ` Ted Zlatanov
2011-12-07 16:12 ` Stefan Monnier
2011-12-13 15:47 ` Ted Zlatanov
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=jwvy5ugclb4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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.