all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nil Geisweiller <ngeiswei@googlemail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 5522@debbugs.gnu.org
Subject: bug#5522: emacs does not activate c++ mode when opening a cxxtest file
Date: Wed, 10 Feb 2010 11:15:19 +0200	[thread overview]
Message-ID: <a348b7fe1002100115p3743f87ftf143abaf75fccce3@mail.gmail.com> (raw)
In-Reply-To: <8ieikty2c7.fsf@fencepost.gnu.org>

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






  reply	other threads:[~2010-02-10  9:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-06-25 23:54 ` Stefan Kangas
2019-06-26  7:38   ` Lars Ingebrigtsen
2019-06-26  9:38     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a348b7fe1002100115p3743f87ftf143abaf75fccce3@mail.gmail.com \
    --to=ngeiswei@googlemail.com \
    --cc=5522@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.