From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nil Geisweiller Newsgroups: gmane.emacs.bugs Subject: bug#5522: emacs does not activate c++ mode when opening a cxxtest file Date: Thu, 4 Feb 2010 11:58:59 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1265297120 9031 80.91.229.12 (4 Feb 2010 15:25:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 15:25:20 +0000 (UTC) To: 5522@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 16:25:15 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nd3Zy-0005x6-DL for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 16:25:14 +0100 Original-Received: from localhost ([127.0.0.1]:36653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd3Zx-0002RE-CN for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 10:25:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ncyvy-000621-GS for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 05:27:38 -0500 Original-Received: from [199.232.76.173] (port=43656 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncyvx-00061J-At for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 05:27:37 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncyvv-0006Wi-B4 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 05:27:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33986) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ncyvv-0006Wc-36 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 05:27:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ncygs-0001aE-JJ; Thu, 04 Feb 2010 05:12:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Nil Geisweiller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2010 10:12:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5522 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12652783026073 (code B ref -1); Thu, 04 Feb 2010 10:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Feb 2010 10:11:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NcygY-0001Zu-9t for submit@debbugs.gnu.org; Thu, 04 Feb 2010 05:11:42 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NcygW-0001Zm-8n for submit@debbugs.gnu.org; Thu, 04 Feb 2010 05:11:41 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:34348 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NcygS-0000e5-PL for submit@debbugs.gnu.org; Thu, 04 Feb 2010 05:11:36 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcyUf-00037g-Li for submit@debbugs.gnu.org; Thu, 04 Feb 2010 04:59:27 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:51466) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NcyUe-00037Q-Iy for submit@debbugs.gnu.org; Thu, 04 Feb 2010 04:59:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcyUd-0001X9-Ua for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 04:59:23 -0500 Original-Received: from [199.232.76.173] (port=49250 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcyUd-0001Wy-4j for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 04:59:23 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcyUc-00036m-5G for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 04:59:22 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.147]:6517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcyUb-00036f-Te for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2010 04:59:22 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 26so40231eyw.34 for ; Thu, 04 Feb 2010 01:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=6zpPZNsdreSjPaQqjUL2f2cfO7fqFhX3FLlTAMZZsCo=; b=MgYuDoQUUK4/49uElKbl7zV1b8GlpW0UiHWV8gaG+KIDZ9TaBTXdLOKfOoqe8v/mRf iLrOX3jTxQt/tEQR5KW6OcXLBiahVgZdUYIjYnISvtVy6SdYRzJtNRnvd8KynAuoV5/6 d/P7JxkNIt0dlrStiBO/LCEWdfAKstpTLojSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Njh/tRgOPC2t/oMKNJ4GQTtPfblvBG71MAGBKVWD0g/EgQ+DAz/ImVqZ5HYyp+OIvK sZonEFv18UO1OmfGpc8GN2rQFvhwWTx19h1th1wu6O0BT90nNrY10V0ntyEq3Qx4p7X8 /ycX+2B6403u2jB2th3dMjoyRFCIGLh7cE41U= Original-Received: by 10.213.109.219 with SMTP id k27mr3288967ebp.37.1265277559304; Thu, 04 Feb 2010 01:59:19 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 04 Feb 2010 05:12:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 04 Feb 2010 10:25:00 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34895 Archived-At: 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