* 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
* bug#5522: emacs does not activate c++ mode when opening a cxxtest file
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
1 sibling, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2010-02-10 7:30 UTC (permalink / raw)
To: Nil Geisweiller; +Cc: 5522
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?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#5522: emacs does not activate c++ mode when opening a cxxtest file
2010-02-10 7:30 ` Glenn Morris
@ 2010-02-10 9:15 ` Nil Geisweiller
0 siblings, 0 replies; 6+ messages in thread
From: Nil Geisweiller @ 2010-02-10 9:15 UTC (permalink / raw)
To: Glenn Morris; +Cc: 5522
On Wed, Feb 10, 2010 at 9:30 AM, Glenn Morris <rgm@gnu.org> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#5522: emacs does not activate c++ mode when opening a cxxtest file
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
@ 2019-06-25 23:54 ` Stefan Kangas
2019-06-26 7:38 ` Lars Ingebrigtsen
1 sibling, 1 reply; 6+ messages in thread
From: Stefan Kangas @ 2019-06-25 23:54 UTC (permalink / raw)
To: Glenn Morris; +Cc: 5522, Nil Geisweiller
Glenn Morris <rgm@gnu.org> writes:
> Nil Geisweiller wrote:
>> (setq auto-mode-alist (cons '("\\.cxxtest$" . c++-mode) auto-mode-alist))
>
> 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.
I searched on GitHub, and the only uses of extension:cxxtest I could
find at a glance were from the same project as the ones probably found
by Glen Morris in 2010 -- opencog.
I therefore agree that this is better handled as user or project
customization.
Would anyone object against closing this bug report as wontfix?
Thanks,
Stefan Kangas
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#5522: emacs does not activate c++ mode when opening a cxxtest file
2019-06-25 23:54 ` Stefan Kangas
@ 2019-06-26 7:38 ` Lars Ingebrigtsen
2019-06-26 9:38 ` Stefan Kangas
0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2019-06-26 7:38 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 5522, Nil Geisweiller
Stefan Kangas <stefan@marxist.se> writes:
> I searched on GitHub, and the only uses of extension:cxxtest I could
> find at a glance were from the same project as the ones probably found
> by Glen Morris in 2010 -- opencog.
>
> I therefore agree that this is better handled as user or project
> customization.
>
> Would anyone object against closing this bug report as wontfix?
Sounds like a good idea to me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ 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 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.