From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#2732: 23.0.91; Please add support for Objective-C++ Date: Thu, 3 Jun 2021 12:39:50 +0000 Message-ID: References: <20171117190035.77279.qmail@mail.muc.de> <20171222125657.GB8072@ACM> <87im2v45yh.fsf_-_@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30371"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Glenn Morris , Philipp Stephani , 2732@debbugs.gnu.org, 29339@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 14:41:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lomes-0007fR-W5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 14:41:10 +0200 Original-Received: from localhost ([::1]:49768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lomer-0007pA-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 08:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lomek-0007mm-H3 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 08:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lomek-0002ns-9T; Thu, 03 Jun 2021 08:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lomek-0002hO-7H; Thu, 03 Jun 2021 08:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Jun 2021 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2732 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 2732-submit@debbugs.gnu.org id=B2732.162272400710287 (code B ref 2732); Thu, 03 Jun 2021 12:41:02 +0000 Original-Received: (at 2732) by debbugs.gnu.org; 3 Jun 2021 12:40:07 +0000 Original-Received: from localhost ([127.0.0.1]:42839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lomdm-0002fj-UO for submit@debbugs.gnu.org; Thu, 03 Jun 2021 08:40:06 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:16532 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1lomdh-0002f1-F0 for 2732@debbugs.gnu.org; Thu, 03 Jun 2021 08:40:01 -0400 Original-Received: (qmail 1998 invoked by uid 3782); 3 Jun 2021 12:39:51 -0000 Original-Received: from acm.muc.de (p4fe15a45.dip0.t-ipconnect.de [79.225.90.69]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 03 Jun 2021 14:39:51 +0200 Original-Received: (qmail 8406 invoked by uid 1000); 3 Jun 2021 12:39:50 -0000 Content-Disposition: inline In-Reply-To: <87im2v45yh.fsf_-_@gnus.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207946 Archived-At: Hello, Lars. On Thu, Jun 03, 2021 at 12:07:18 +0200, Lars Ingebrigtsen wrote: > Glenn Morris writes: > >> That only answers the first question, not the second. If we put .M and > >> .mm into CC Mode or auto-mode-alist in Emacs, that implies some sort of > >> commitment to support the language (Objective-C++). If Objective-C Mode > >> already almost supports it properly, that is one thing, but if the match > >> is less good, it could involve a lot of work. > > 8 years ago, the comment was "switching to c++-mode or objc-mode does > > not give satisfactory results". I don't know if anything has changed > > since. Ref: https://debbugs.gnu.org/2732 > So it doesn't seem like just mapping .mm to objc-mode would give > satisfactory results, and I'm closing this bug report. > (If somebody wants to add a real mode for Objective-C++, that can, of > course, be done.) Personally, I don't want to spend the time (and the learning effort) coding up an Objective-C++ Mode. If anybody else wanted to do this (most likely as a CC Mode derived mode), which might not be very much work, I would be prepared to answer questions, and deliver support as usual. > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).