unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5522: emacs does not activate c++ mode when opening a cxxtest file
@ 2010-02-04  9:58 Nil Geisweiller
  2010-02-10  7:30 ` Glenn Morris
  2019-06-25 23:54 ` Stefan Kangas
  0 siblings, 2 replies; 6+ messages in thread
From: Nil Geisweiller @ 2010-02-04  9:58 UTC (permalink / raw)
  To: 5522

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







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-26  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).