From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ Date: Thu, 21 Dec 2017 19:22:05 +0000 Message-ID: References: <20171117190035.77279.qmail@mail.muc.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1144d8b21f6b840560de9e82" X-Trace: blaine.gmane.org 1513884079 27130 195.159.176.226 (21 Dec 2017 19:21:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 19:21:19 +0000 (UTC) Cc: 29339@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 21 20:21:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS6P3-0006cY-OG for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Dec 2017 20:21:14 +0100 Original-Received: from localhost ([::1]:37218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS6R2-0001Y0-6A for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Dec 2017 14:23:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS6Qu-0001XR-Lm for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 14:23:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS6Qt-0003Pf-Iq for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 14:23:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eS6Qq-0003N4-DE; Thu, 21 Dec 2017 14:23:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eS6Qo-00013c-IP; Thu, 21 Dec 2017 14:23:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 21 Dec 2017 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29339 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.15138841433972 (code B ref 29339); Thu, 21 Dec 2017 19:23:02 +0000 Original-Received: (at 29339) by debbugs.gnu.org; 21 Dec 2017 19:22:23 +0000 Original-Received: from localhost ([127.0.0.1]:46458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS6QA-000120-OT for submit@debbugs.gnu.org; Thu, 21 Dec 2017 14:22:22 -0500 Original-Received: from mail-qk0-f181.google.com ([209.85.220.181]:46484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS6Q9-00011l-1K for 29339@debbugs.gnu.org; Thu, 21 Dec 2017 14:22:21 -0500 Original-Received: by mail-qk0-f181.google.com with SMTP id b132so2187450qkc.13 for <29339@debbugs.gnu.org>; Thu, 21 Dec 2017 11:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1LZjWNGftkA+wgyshE0DHyCK8DKnyIuh1Cs7fomTv5k=; b=V6sm+hiaj9xLnLnGqzC7tg6381pcHXK/2vSmtOSiRpCQSpHXUc2IyE5Jtvk6T8kYdw Ncq44TohUBj9q3bQDTUr03969yWBaumWBvPhYhcO67QrhKSTfGmKd/MIyEFM//5SPJrY ok0aJXDNhcVhda1kJKSBDeKo/5sCAAA8kGsXkHWwDdLCvgeVkA0NMYerDifcmh0LqjlQ Ue12+QUDMxtpfgOMQ1igYa1N12a3DFldbXR4JRUoNMgRY3ugEkZXXjXXbhcvk+1S5U6O s4ILrmsunSLULe3nVOJg5bWIgFSZpYzaBdo/+Ngp6b6RqiYBAi9hIvIWc2u4fXjthoC1 ZxWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1LZjWNGftkA+wgyshE0DHyCK8DKnyIuh1Cs7fomTv5k=; b=P3LqxpR/ahO4qz8lCJ5atUa466e8b32g2a2IZDQ01asYcudFR8rAzat2vsJE7ae7CB n0Jb0n7B9pEN8S02jg4h8MdvgciLN/j65b/vdm59qjec9qxWkQ3N1vGol2GSLTeX6Rwr 8vBMqpT1/EK1ahQjPVGqU0V+pSgWIUvvQ+FJ9M66vtjGb8ULckAPQKQio5oUcNJUxznu rL++3P1ywcYR2/c3f4vYptUb+o+DupSu4TXOgUlxxNrfOYPsqunI3+8DIlzps7+v/dzE S4dohr5AzL9jAiL0WxjIkd3r9ohII7A3TBC9on9G3BXmD9o1p9FCa6+2DTX2f2TCDhQY VhHw== X-Gm-Message-State: AKGB3mIxpFkQdmzokYZ5U1RCjXyDMWlS+UKBj02mu6tuY131m2scjROT HHxsvjKQdcNXLysRx5hPGJ128uToCcEuxXhA+9s= X-Google-Smtp-Source: ACJfBovtAGqDU9XM+MrQdjTnYyHkwgmNQ2wKozbEqlK1HZx6eZQQSe3ujpRJACPcUEzeKp9nUpzchh3/GFwbFr4Gtc0= X-Received: by 10.55.33.17 with SMTP id h17mr14722621qkh.143.1513884135417; Thu, 21 Dec 2017 11:22:15 -0800 (PST) In-Reply-To: <20171117190035.77279.qmail@mail.muc.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141348 Archived-At: --001a1144d8b21f6b840560de9e82 Content-Type: text/plain; charset="UTF-8" Alan Mackenzie schrieb am Fr., 17. Nov. 2017 um 20:00 Uhr: > In article you > wrote: > > > GCC uses .mm or .M for Objective-C++, > > cf. https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Overall-Options.html. > > However, neither `auto-mode-alist' nor `cc-other-file-alist' contain > > these file extensions. > > I don't think there's an Objective-C++ mode out there in the wild. So > what existing mode should be used for *.mm and *.M? Is that mode a good > enough fit to be able, in good conscience, to use it for Obj-C++? > According to https://www.emacswiki.org/emacs/ObjectiveCMode#toc2 objc-mode is the most appropriate mode for now, until a true objc++-mode is added. --001a1144d8b21f6b840560de9e82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Alan M= ackenzie <acm@muc.de> schrieb am Fr= ., 17. Nov. 2017 um 20:00=C2=A0Uhr:
In article <mailman.3878.1510925890.27995.bug-gnu-emacs@g= nu.org> you wrote:

> GCC uses .mm or .M for Objective-C++,
> cf. https://gcc.gnu.org/online= docs/gcc-7.2.0/gcc/Overall-Options.html.
> However, neither `auto-mode-alist' nor `cc-other-file-alist' c= ontain
> these file extensions.

I don't think there's an Objective-C++ mode out there in the wild.= =C2=A0 So
what existing mode should be used for *.mm and *.M?=C2=A0 Is that mode a go= od
enough fit to be able, in good conscience, to use it for Obj-C++?

According to=C2=A0https://www.emacswiki.org/emacs/Objective= CMode#toc2=C2=A0objc-mode is the most appropriate mode for now, until a= true objc++-mode is added.
--001a1144d8b21f6b840560de9e82--