From: Glenn Morris <rgm@gnu.org>
To: Nil Geisweiller <ngeiswei@googlemail.com>
Cc: 5522@debbugs.gnu.org
Subject: bug#5522: emacs does not activate c++ mode when opening a cxxtest file
Date: Wed, 10 Feb 2010 02:30:48 -0500 [thread overview]
Message-ID: <8ieikty2c7.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <a348b7fe1002040158s2f5a78a8oa6da713b98161b58@mail.gmail.com>
Nil Geisweiller wrote:
> (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.
http://www.google.com/codesearch?q=file%3A\.cxxtest%24
returns only 28 files, several of which aren't C++ code, so this does
not seem a very widely (or consistently) used extension.
Or were you asking for the type to be deduced based on the contents?
next prev parent reply other threads:[~2010-02-10 7:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 9:58 bug#5522: emacs does not activate c++ mode when opening a cxxtest file Nil Geisweiller
2010-02-10 7:30 ` Glenn Morris [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8ieikty2c7.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=5522@debbugs.gnu.org \
--cc=ngeiswei@googlemail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).