bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5522: emacs does not activate c++ mode when opening a cxxtest file


From: Glenn Morris
Subject: bug#5522: emacs does not activate c++ mode when opening a cxxtest file
Date: Wed, 10 Feb 2010 02:30:48 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]