From: Nil Geisweiller <ngeiswei@googlemail.com>
To: 5522@debbugs.gnu.org
Subject: bug#5522: emacs does not activate c++ mode when opening a cxxtest file
Date: Thu, 4 Feb 2010 11:58:59 +0200 [thread overview]
Message-ID: <a348b7fe1002040158s2f5a78a8oa6da713b98161b58@mail.gmail.com> (raw)
Hi,
cxxtest files http://cxxtest.tigris.org/ are essentially C++ code
I added
(setq auto-mode-alist (cons '("\\.cxxtest$" . c++-mode) auto-mode-alist))
in my .emacs and it works just fine.
But it would be good if emacs could load them in C++ mode
automatically without adding that config line.
Thanks
Nil
next reply other threads:[~2010-02-04 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 9:58 Nil Geisweiller [this message]
2010-02-10 7:30 ` bug#5522: emacs does not activate c++ mode when opening a cxxtest file Glenn Morris
2010-02-10 9:15 ` Nil Geisweiller
2019-06-25 23:54 ` Stefan Kangas
2019-06-26 7:38 ` Lars Ingebrigtsen
2019-06-26 9:38 ` Stefan Kangas
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=a348b7fe1002040158s2f5a78a8oa6da713b98161b58@mail.gmail.com \
--to=ngeiswei@googlemail.com \
--cc=5522@debbugs.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.