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: Nil Geisweiller
Subject: bug#5522: emacs does not activate c++ mode when opening a cxxtest file
Date: Wed, 10 Feb 2010 11:15:19 +0200

On Wed, Feb 10, 2010 at 9:30 AM, Glenn Morris <address@hidden> wrote:
> 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.

well, it seems google code hasn't found our project yet
https://launchpad.net/opencog. But I see your point... I did know
cxxtest were that much not used.

>
> Or were you asking for the type to be deduced based on the contents?
>

no, that seems a much harder task, but I surely it may be interesting too.

Nil






reply via email to

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