GNU bug report logs - #5522
emacs does not activate c++ mode when opening a cxxtest file

Previous Next

Package: emacs;

Reported by: Nil Geisweiller <ngeiswei <at> googlemail.com>

Date: Thu, 4 Feb 2010 10:12:02 UTC

Severity: wishlist

Tags: wontfix

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5522 in the body.
You can then email your comments to 5522 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5522; Package emacs. (Thu, 04 Feb 2010 10:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nil Geisweiller <ngeiswei <at> googlemail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 04 Feb 2010 10:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nil Geisweiller <ngeiswei <at> googlemail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs does not activate c++ mode when opening a cxxtest file
Date: Thu, 4 Feb 2010 11:58:59 +0200
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





Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 08 Feb 2010 20:10:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5522; Package emacs. (Wed, 10 Feb 2010 07:31:01 GMT) Full text and rfc822 format available.

Message #10 received at 5522 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Nil Geisweiller <ngeiswei <at> googlemail.com>
Cc: 5522 <at> debbugs.gnu.org
Subject: Re: bug#5522: emacs does not activate c++ mode when opening a cxxtest
	file
Date: Wed, 10 Feb 2010 02:30:48 -0500
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?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5522; Package emacs. (Wed, 10 Feb 2010 09:16:01 GMT) Full text and rfc822 format available.

Message #13 received at 5522 <at> debbugs.gnu.org (full text, mbox):

From: Nil Geisweiller <ngeiswei <at> googlemail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5522 <at> debbugs.gnu.org
Subject: Re: 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 <rgm <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5522; Package emacs. (Tue, 25 Jun 2019 23:55:02 GMT) Full text and rfc822 format available.

Message #16 received at 5522 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5522 <at> debbugs.gnu.org, Nil Geisweiller <ngeiswei <at> googlemail.com>
Subject: Re: bug#5522: emacs does not activate c++ mode when opening a cxxtest
 file
Date: Wed, 26 Jun 2019 01:54:14 +0200
Glenn Morris <rgm <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5522; Package emacs. (Wed, 26 Jun 2019 07:39:02 GMT) Full text and rfc822 format available.

Message #19 received at 5522 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 5522 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>,
 Nil Geisweiller <ngeiswei <at> googlemail.com>
Subject: Re: bug#5522: emacs does not activate c++ mode when opening a cxxtest
 file
Date: Wed, 26 Jun 2019 09:38:27 +0200
Stefan Kangas <stefan <at> 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




Added tag(s) wontfix. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 26 Jun 2019 09:37:02 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 26 Jun 2019 09:39:01 GMT) Full text and rfc822 format available.

Notification sent to Nil Geisweiller <ngeiswei <at> googlemail.com>:
bug acknowledged by developer. (Wed, 26 Jun 2019 09:39:02 GMT) Full text and rfc822 format available.

Message #26 received at 5522-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, 5522-done <at> debbugs.gnu.org
Cc: Glenn Morris <rgm <at> gnu.org>, Nil Geisweiller <ngeiswei <at> googlemail.com>
Subject: Re: bug#5522: emacs does not activate c++ mode when opening a cxxtest
 file
Date: Wed, 26 Jun 2019 11:38:19 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> > Would anyone object against closing this bug report as wontfix?
>
> Sounds like a good idea to me.

OK, I'll do that.  If anyone feels differently, please re-open the bug
report.

Thanks,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 Jul 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.