From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Nov 2017 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 29339@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151092582828924 (code B ref -1); Fri, 17 Nov 2017 13:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2017 13:37:08 +0000 Received: from localhost ([127.0.0.1]:44394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFgpP-0007WS-QO for submit@debbugs.gnu.org; Fri, 17 Nov 2017 08:37:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFgpO-0007Vy-Ao for submit@debbugs.gnu.org; Fri, 17 Nov 2017 08:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFgpH-0000UP-OB for submit@debbugs.gnu.org; Fri, 17 Nov 2017 08:37:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eFgpH-0000Tk-KB for submit@debbugs.gnu.org; Fri, 17 Nov 2017 08:36:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFgpG-0007Js-31 for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 08:36:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFgpE-0000Rp-Vu for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 08:36:58 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:33694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFgpE-0000RF-Pd for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 08:36:56 -0500 Received: by mail-wm0-x22a.google.com with SMTP id g130so3469198wme.0 for ; Fri, 17 Nov 2017 05:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=F2l/+f18Uz8o1CJrbLzP8B4Q9qMWTQzDDMd+7zFgX7k=; b=VW58dU3KUm464LBHMP6vG3xs5RVj2eyMfGuSkcd1YZkrWNFqepV+oxoEeOz2G3xO1+ /O3cZALVk4q7cGSiJwTwn65yqdAVTItyO7ET/ExgVEjLnsPl9rr6bdb7UMQQF4t47+wx 8djBlfQ8PacTr/ZE3hu+PzdhP3SfdhXYLRNp3wg85AI4hhpMZdKIHPSMyBqWb7YoVqmR YRic+CVjGJb67Z5Ul3JwTd4Q/ebac7+AW+sdRw00vPgMAw7Po2fFvCq2L9g8H1dIXbWL DoDoZdxwnKMxYsuLVw9kAdNuBN3VsxgLENmaESfcq/YMFpAe1OE5u1TsWMD23SddYcpJ BAZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=F2l/+f18Uz8o1CJrbLzP8B4Q9qMWTQzDDMd+7zFgX7k=; b=TcBVfoDBudcAu0SY/kb35UtFUXPQYYqJ/f/Qt4F+w0l3SEWmzo5GBs8GlOnzPmuQoq ANuE1ryDquKRC0ZhWLhFIR/1oVKaHhJ1jQFx5+iQKnUjzTB1gmXpUbsdsMtE4nzUXp42 s7QngxzbAJbWeNQ8b3iIwpNi7u64RzBjM47DtefR6kzn0yqTHK0gQ9YSGWIRJyEpuYr3 feJeHfX5IMvPsSk+7d3yIuXPJOvSYyFxQYTvxqWmAdrgLk65C1QviBQbhVvuvtYrEZec 84YhApB3AJtF5bHoDSUjNi1oJIgEg9dM+UI4Wkl1nIcWfeVOTRlAvhuaVLhwcQE2Odto /G1g== X-Gm-Message-State: AJaThX4UQyOpkIfD/ImpS9rLp4AyFCBx6ybNZoIrosNYQf/24rzcW/b0 qK8fhHla0yGmlD8vr3c9Aers4YYX X-Google-Smtp-Source: AGs4zMYbSHKZkk0EUY7eHvPIvvI4aMUCxpAjcALLXb/HoLOikQjjeW9paLjZQoHs0+X0qM3DxKmb6Q== X-Received: by 10.28.105.196 with SMTP id z65mr4432905wmh.146.1510925815166; Fri, 17 Nov 2017 05:36:55 -0800 (PST) Received: from phst-glaptop ([2a00:79e0:15:9:e0ce:1b05:727c:12dc]) by smtp.gmail.com with ESMTPSA id w206sm1659116wmd.36.2017.11.17.05.36.54 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 17 Nov 2017 05:36:54 -0800 (PST) From: Philipp Date: Fri, 17 Nov 2017 14:36:53 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) 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. In GNU Emacs 27.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2017-11-17 built on localhost Repository revision: 345c7d9c7b84c0c03ef1d0f32e9e0f39029be44a Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 14.04.5 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --enable-gtk-deprecation-warnings --with-modules --without-pop --with-mailutils --enable-checking --enable-check-lisp-object-type --enable-gcc-warnings 'CFLAGS=3D-ggdb3 -O0'' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 94754 12856) (symbols 48 20187 1) (miscs 40 45 145) (strings 32 28237 1585) (string-bytes 1 737043) (vectors 16 14050) (vector-slots 8 498529 13298) (floats 8 53 64) (intervals 56 214 0) (buffers 992 12) (heap 1024 24710 963)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado If you received this communication by mistake, please don=E2=80=99t forward= it to anyone else (it may contain confidential or privileged information), please erase all copies of it, including all attachments, and please let the sender know it went to the wrong person. Thanks. From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ References: Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Nov 2017 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Cc: 29339@debbugs.gnu.org Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.151094524026035 (code B ref 29339); Fri, 17 Nov 2017 19:01:02 +0000 Received: (at 29339) by debbugs.gnu.org; 17 Nov 2017 19:00:40 +0000 Received: from localhost ([127.0.0.1]:45270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFlsV-0006lr-MW for submit@debbugs.gnu.org; Fri, 17 Nov 2017 14:00:39 -0500 Received: from ocolin.muc.de ([193.149.48.4]:55602 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1eFlsT-0006li-Pl for 29339@debbugs.gnu.org; Fri, 17 Nov 2017 14:00:38 -0500 Received: (qmail 77280 invoked by uid 3782); 17 Nov 2017 19:00:35 -0000 Date: 17 Nov 2017 19:00:35 -0000 Message-ID: <20171117190035.77279.qmail@mail.muc.de> From: Alan Mackenzie Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.4.1-20161224 ("Daill") (UNIX) (FreeBSD/11.0-RELEASE-p2 (amd64)) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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++? > In GNU Emacs 27.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.10.8) > of 2017-11-17 built on localhost > Repository revision: 345c7d9c7b84c0c03ef1d0f32e9e0f39029be44a > Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 > System Description: Ubuntu 14.04.5 LTS [ .... ] -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 17 14:06:10 2017 Received: (at control) by debbugs.gnu.org; 17 Nov 2017 19:06:10 +0000 Received: from localhost ([127.0.0.1]:45294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFlxp-0006vl-Sj for submit@debbugs.gnu.org; Fri, 17 Nov 2017 14:06:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFlxp-0006va-0C for control@debbugs.gnu.org; Fri, 17 Nov 2017 14:06:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFlxj-0001ng-Cs for control@debbugs.gnu.org; Fri, 17 Nov 2017 14:06:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFlxj-0001nP-9o for control@debbugs.gnu.org; Fri, 17 Nov 2017 14:06:03 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eFlxj-0005Ao-58 for control@debbugs.gnu.org; Fri, 17 Nov 2017 14:06:03 -0500 Subject: control message for bug 29339 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 17 Nov 2017 14:06:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) forcemerge 2732 29339 From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ 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: To: Alan Mackenzie Cc: 29339@debbugs.gnu.org Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.15138841433972 (code B ref 29339); Thu, 21 Dec 2017 19:23:02 +0000 Received: (at 29339) by debbugs.gnu.org; 21 Dec 2017 19:22:23 +0000 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 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 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) MIME-Version: 1.0 References: <20171117190035.77279.qmail@mail.muc.de> In-Reply-To: <20171117190035.77279.qmail@mail.muc.de> From: Philipp Stephani Date: Thu, 21 Dec 2017 19:22:05 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a1144d8b21f6b840560de9e82" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --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-- From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 22 Dec 2017 12:59:01 +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: To: Philipp Stephani Cc: 29339@debbugs.gnu.org Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.151394753210384 (code B ref 29339); Fri, 22 Dec 2017 12:59:01 +0000 Received: (at 29339) by debbugs.gnu.org; 22 Dec 2017 12:58:52 +0000 Received: from localhost ([127.0.0.1]:46988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSMua-0002hQ-EX for submit@debbugs.gnu.org; Fri, 22 Dec 2017 07:58:52 -0500 Received: from colin.muc.de ([193.149.48.1]:55725 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1eSMuY-0002hH-Cl for 29339@debbugs.gnu.org; Fri, 22 Dec 2017 07:58:50 -0500 Received: (qmail 39800 invoked by uid 3782); 22 Dec 2017 12:58:48 -0000 Received: from acm.muc.de (p548C743A.dip0.t-ipconnect.de [84.140.116.58]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 22 Dec 2017 13:58:47 +0100 Received: (qmail 8176 invoked by uid 1000); 22 Dec 2017 12:56:57 -0000 Date: Fri, 22 Dec 2017 12:56:57 +0000 Message-ID: <20171222125657.GB8072@ACM> References: <20171117190035.77279.qmail@mail.muc.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, Philipp. On Thu, Dec 21, 2017 at 19:22:05 +0000, Philipp Stephani wrote: > 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. 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. >From what I can gather, Objective-C++ is a bit of a mixture between Objective-C and C++, much as its name implies. Do these individual facets fit together (from a CC Mode point of view) without clashing too much? According to Wikipedia, the language is not formerly defined in any standard. What, then, is the language? Do you know of anybody working on an Objective-C++ Mode? -- Alan Mackenzie (Nuremberg, Germany). From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 22 Dec 2017 16:51: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: To: Alan Mackenzie Cc: Philipp Stephani , 29339@debbugs.gnu.org Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.15139614372880 (code B ref 29339); Fri, 22 Dec 2017 16:51:02 +0000 Received: (at 29339) by debbugs.gnu.org; 22 Dec 2017 16:50:37 +0000 Received: from localhost ([127.0.0.1]:48237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSQWq-0000kO-Qj for submit@debbugs.gnu.org; Fri, 22 Dec 2017 11:50:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSQWn-0000kA-SG for 29339@debbugs.gnu.org; Fri, 22 Dec 2017 11:50:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSQWh-0001Eb-N8 for 29339@debbugs.gnu.org; Fri, 22 Dec 2017 11:50:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSQWa-0001AX-18; Fri, 22 Dec 2017 11:50:20 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eSQWY-0006id-30; Fri, 22 Dec 2017 11:50:18 -0500 From: Glenn Morris References: <20171117190035.77279.qmail@mail.muc.de> <20171222125657.GB8072@ACM> X-Spook: Chemical spill world domination Tony Blair Skipjack X-Ran: O[w{gJ$q4RXJ8bIsea817~AY-;'g_5iZ2c6P>{=n1nwX|d9rx0M6A*bE0iSYKV#{L3pXs` X-Hue: brightblue X-Attribution: GM Date: Fri, 22 Dec 2017 11:50:17 -0500 In-Reply-To: <20171222125657.GB8072@ACM> (Alan Mackenzie's message of "Fri, 22 Dec 2017 12:56:57 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Alan Mackenzie wrote: > 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 From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: bug#2732: 23.0.91; Please add support for Objective-C++ Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Jun 2021 10:08: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: To: Glenn Morris Cc: Alan Mackenzie , Philipp Stephani , 2732@debbugs.gnu.org, 29339@debbugs.gnu.org Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.162271484910000 (code B ref 29339); Thu, 03 Jun 2021 10:08:02 +0000 Received: (at 29339) by debbugs.gnu.org; 3 Jun 2021 10:07:29 +0000 Received: from localhost ([127.0.0.1]:42586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokG9-0002bD-10 for submit@debbugs.gnu.org; Thu, 03 Jun 2021 06:07:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokG7-0002aq-7G; Thu, 03 Jun 2021 06:07:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eT+Diq/3Pv80blI3oWmy7uwmoit4RZT24vxyb0VqCoM=; b=FMiCbjkqouA+1VYM3bGC7fHy1Z CRzawf8eC7WPEE0SUcw+kKVywM8nXNmK4ctXA0yTqL1m7Ier8Z9nR0r8nQxqR/s/aDbUvGnt8H1Ka iptxDRJJlxvJblMiNWcn3ZTLMFlS3m8tDc08uG0YJ5wrv9ScaZjw5ZjiVBrREBV5qRgc=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lokFz-0000lS-1C; Thu, 03 Jun 2021 12:07:21 +0200 From: Lars Ingebrigtsen References: <20171117190035.77279.qmail@mail.muc.de> <20171222125657.GB8072@ACM> X-Now-Playing: Little Simz's _Grey Area_: "Offence" Date: Thu, 03 Jun 2021 12:07:18 +0200 In-Reply-To: (Glenn Morris's message of "Fri, 22 Dec 2017 11:50:17 -0500") Message-ID: <87im2v45yh.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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+ [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 03 06:07:33 2021 Received: (at control) by debbugs.gnu.org; 3 Jun 2021 10:07:33 +0000 Received: from localhost ([127.0.0.1]:42591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokGD-0002bg-Hq for submit@debbugs.gnu.org; Thu, 03 Jun 2021 06:07:33 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lokGB-0002az-Am for control@debbugs.gnu.org; Thu, 03 Jun 2021 06:07:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RMOWZKPISi/KHG8Grdp6qJJgGae8+0VQKR8sF+/Lhfg=; b=FUbSyqGGANw3sbPdGJG0iIZFH/ ncYn0Xbtk3G8XimJ+q/UcTIbAg4ttR/tHmW72jAvBW9wFzZANPHHUTh7ZZVZ0c/Y4USTcRE98Jp06 zdlYqfu91GTWMU95waBUuYKvdO8INw8SQGhf+YdqomRJsjSoL/FSImb4T0NFN01rFD4A=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lokG3-0000lb-VP for control@debbugs.gnu.org; Thu, 03 Jun 2021 12:07:25 +0200 Date: Thu, 03 Jun 2021 12:07:23 +0200 Message-Id: <87h7if45yc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #2732 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 2732 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 2732 quit From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: bug#2732: 23.0.91; Please add support for Objective-C++ Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Jun 2021 12:09: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: To: Lars Ingebrigtsen Cc: Glenn Morris , 2732@debbugs.gnu.org, 29339@debbugs.gnu.org, Alan Mackenzie Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.16227221057400 (code B ref 29339); Thu, 03 Jun 2021 12:09:02 +0000 Received: (at 29339) by debbugs.gnu.org; 3 Jun 2021 12:08:25 +0000 Received: from localhost ([127.0.0.1]:42809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lom9A-0001vD-WB for submit@debbugs.gnu.org; Thu, 03 Jun 2021 08:08:25 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:36606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lom98-0001uu-Ek; Thu, 03 Jun 2021 08:08:22 -0400 Received: by mail-ej1-f44.google.com with SMTP id a11so8161657ejf.3; Thu, 03 Jun 2021 05:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YxC1wPzV3qPdFZnJSMnKQyPaMkNdu4JbDvusabUFbFM=; b=iPD/8f147IDljsirITxBl9kcc2PEu27F7PN7QW30VtWsJgyI1dHwm5Gkfmf8kXQt8m RsB+8Htvs4BjPa8k+lIIuWjcF+d03YWjkx3J4oSeKucsdXYmPq3684wMJ29gCE8ld13P Hd4zVozUKnYbsWD2GRJORtDwg8zWz8eH4sWHabBWh9qte/QaAUvA7yo5V/pQo7bSzSVe kH1AyhU9pO4lgENPQznU3mkHlbS/kKx+XaYSqB4QJM3AvtdckfKErTkOQrES4tPJ5AaW z5xZUEWA675ckZEWwicQd7NBkv+y9s3UUAj3CkCBdKSyPm0WVKdmlKBhDNQVuj2yPq/a vAVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YxC1wPzV3qPdFZnJSMnKQyPaMkNdu4JbDvusabUFbFM=; b=UHhV0BTRI5kftTmPRLM1gmKQ2lKK4wDNNArDqF0ODK9zjImuvVpDtQMauILLnXK7xB RutKdzPO9/G7+aQdld4oJWA3LeYjqI29MOk9mjqmEpxDsw/MJHYRK1plL70Dddz+Wa+b OJaJDPKBSqGv3W92hSwrsk/uAPnhFJ4FltbNTHjOl7W2yOKnSpRJvr3TGom+EwsYgtcF ntq4LfQqhYbhFHWUkrWyuQvnYc2TzDZm7EUg3DFTtZby3mwaFzDEBC9QE63r+x/WIxXA 7+k+YKjjW8aTYA71R70p9UW5ep/Ly6kMSi00vDilMEUVKlIWQOHuc//6c+bwiWhtY0mQ SzsA== X-Gm-Message-State: AOAM5308NWtrtIte5TRizOIfCvM2OPNkP16vn+nDgQbORLeY4JK3yRE+ IfMlnMW044jUzVvBtdNZ2Fw= X-Google-Smtp-Source: ABdhPJzIAgXvMZGNYxw6nwwTELQNR/hHuV8CkYx0pXKJVzK91SV1dHz6qlsoJNMdl0HbHc+5/wKwCA== X-Received: by 2002:a17:906:2bc6:: with SMTP id n6mr32799248ejg.256.1622722096393; Thu, 03 Jun 2021 05:08:16 -0700 (PDT) Received: from smtpclient.apple ([46.128.198.100]) by smtp.gmail.com with ESMTPSA id f18sm1440601ejz.119.2021.06.03.05.08.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Jun 2021 05:08:15 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) From: Philipp In-Reply-To: <87im2v45yh.fsf_-_@gnus.org> Date: Thu, 3 Jun 2021 14:08:14 +0200 Content-Transfer-Encoding: 7bit Message-Id: <5394BF74-A48C-42E2-BB90-2E19050B3784@gmail.com> References: <20171117190035.77279.qmail@mail.muc.de> <20171222125657.GB8072@ACM> <87im2v45yh.fsf_-_@gnus.org> X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) > > (If somebody wants to add a real mode for Objective-C++, that can, of > course, be done.) Then why close this bug, which tracks exactly this feature request? From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: bug#2732: 23.0.91; Please add support for Objective-C++ 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 29339 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Glenn Morris , Philipp Stephani , 2732@debbugs.gnu.org, 29339@debbugs.gnu.org Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.162272401110298 (code B ref 29339); Thu, 03 Jun 2021 12:41:02 +0000 Received: (at 29339) by debbugs.gnu.org; 3 Jun 2021 12:40:11 +0000 Received: from localhost ([127.0.0.1]:42841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lomdr-0002fr-0M for submit@debbugs.gnu.org; Thu, 03 Jun 2021 08:40:11 -0400 Received: from colin.muc.de ([193.149.48.1]:16531 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1lomdh-0002f0-Ez for 29339@debbugs.gnu.org; Thu, 03 Jun 2021 08:40:01 -0400 Received: (qmail 1974 invoked by uid 3782); 3 Jun 2021 12:39:51 -0000 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 Received: (qmail 8406 invoked by uid 1000); 3 Jun 2021 12:39:50 -0000 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 Content-Disposition: inline In-Reply-To: <87im2v45yh.fsf_-_@gnus.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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). From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: bug#2732: 23.0.91; Please add support for Objective-C++ Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Jun 2021 12:43: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: To: Philipp Cc: Glenn Morris , 2732@debbugs.gnu.org, 29339@debbugs.gnu.org, Alan Mackenzie Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.162272415110531 (code B ref 29339); Thu, 03 Jun 2021 12:43:02 +0000 Received: (at 29339) by debbugs.gnu.org; 3 Jun 2021 12:42:31 +0000 Received: from localhost ([127.0.0.1]:42848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lomgB-0002jm-7N for submit@debbugs.gnu.org; Thu, 03 Jun 2021 08:42:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lomgA-0002jU-1N; Thu, 03 Jun 2021 08:42:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OhsEmHBwPiNig9N6RW4AcyASTH17cOQQG+CDEzGJD88=; b=lpRKdio4fLsm/N/Pj/NVqRJbdU jmnyhgTi3kWhkXzwiqz1nuCc02r/Q/AEcZHolPO4eoMABP0UugFgdfE+D+jiBllqygOVj8wJkV7oD Dx2PGlHcCBSORd8AldFlU3C2AkzDxGuCIks7KRU6semHZjyF0AGZTY3tVwzf+AOfnCvc=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lomfz-0001z1-5D; Thu, 03 Jun 2021 14:42:23 +0200 From: Lars Ingebrigtsen References: <20171117190035.77279.qmail@mail.muc.de> <20171222125657.GB8072@ACM> <87im2v45yh.fsf_-_@gnus.org> <5394BF74-A48C-42E2-BB90-2E19050B3784@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEUWEhAhHRokIR4w LCpFQT5BPTtRTUpwbm2ioaBiX12Cf33S0M5AP0D////jKYWoAAAAAWJLR0QN9rRh9QAAAAd0SU1F B+UGAwY5IsjByjMAAAEhSURBVDjL3VK9asMwEJZ8YNrtJJPOiQ2eZR9kLoSGjoW8QIhKoHMGpy9Q FOjQUHBT+gh9gYJerrJdWsexBg9Z+k06fafvfj4x9q/B0ccI75PBxDkxvP9A+Rjy1YiqKnx8WgMq LegIJpwJUd3JTnosBQo8bk04oJQTFL/DIK/OMo9jrCOXVBOCw41iPKGcZlXsvMtqKWCpniFL1hlt l41I0xKn/OE1Y6NyND48NdI/+4L7TMcUlG/RrdmLFuGaC4E07Myn2Sxggi1XQzVPV1NrjdlfIbbW D3fhcnr9Ya19WXSHngeP7wfzVWh9bBgPVVqyiNakuoZpQe1d/1kMOXdR3z+LkJ0HA3V5Y9opLoti 00tcGLPrf2G2z71EQG5lvu/9DcTpK8x/LFvbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA2LTAz VDA2OjU3OjM0KzAwOjAw5g72xQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0wM1QwNjo1Nzoz NCswMDowMJdTTnkAAAAASUVORK5CYII= X-Now-Playing: Little Simz's _Grey Area_: "Offence" Date: Thu, 03 Jun 2021 14:42:18 +0200 In-Reply-To: <5394BF74-A48C-42E2-BB90-2E19050B3784@gmail.com> (Philipp's message of "Thu, 3 Jun 2021 14:08:14 +0200") Message-ID: <87wnrb2k7p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Philipp writes: >> (If somebody wants to add a real mode for Objective-C++, that can, of >> course, be done.) > > Then why close this bug, which tracks exactly this feature request? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Philipp writes: >> (If somebody wants to add a real mode for Objective-C++, that can, of >> course, be done.) > > Then why close this bug, which tracks exactly this feature request? Because this request was about mapping .mm to objc-mode, which wouldn't be appropriate, and a general request "can somebody write a brand new mode for obscure language foo?" has little value in the bug tracker -- those types of requests seldom lead to anybody writing such a mode. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 17:16:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29339: bug#2732: 23.0.91; Please add support for Objective-C++ Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Jun 2021 12:46: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: To: Philipp Cc: Glenn Morris , 2732@debbugs.gnu.org, 29339@debbugs.gnu.org, Alan Mackenzie Received: via spool by 29339-submit@debbugs.gnu.org id=B29339.162272432210837 (code B ref 29339); Thu, 03 Jun 2021 12:46:02 +0000 Received: (at 29339) by debbugs.gnu.org; 3 Jun 2021 12:45:22 +0000 Received: from localhost ([127.0.0.1]:42855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lomiv-0002oi-Sc for submit@debbugs.gnu.org; Thu, 03 Jun 2021 08:45:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lomiu-0002oH-2A; Thu, 03 Jun 2021 08:45:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qTHeLOdmEK8546N6iaZE0WdowwkAAKZ/jRnbnoVyWFM=; b=pqPBRUKlwnglaYto3uTEr1U4Lc EDnVZ7RYDP2NYF7AsEC39bLFzbhAuEJlTl/Zs3hKXse+GDjP264am9UdLmhw7tKVmfMlGli3ticd/ kZ4YWFFhDW39ugUSbuHkR02/xAVs09Vo+TPE0CxNNRC/CpzBWdyga5pDVCHb/wBpObB4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lomij-000228-8b; Thu, 03 Jun 2021 14:45:13 +0200 From: Lars Ingebrigtsen References: <20171117190035.77279.qmail@mail.muc.de> <20171222125657.GB8072@ACM> <87im2v45yh.fsf_-_@gnus.org> <5394BF74-A48C-42E2-BB90-2E19050B3784@gmail.com> <87wnrb2k7p.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEUWEhAhHRokIR4w LCpFQT5BPTtRTUpwbm2ioaBiX12Cf33S0M5AP0D////jKYWoAAAAAWJLR0QN9rRh9QAAAAd0SU1F B+UGAwY5IsjByjMAAAEhSURBVDjL3VK9asMwEJZ8YNrtJJPOiQ2eZR9kLoSGjoW8QIhKoHMGpy9Q FOjQUHBT+gh9gYJerrJdWsexBg9Z+k06fafvfj4x9q/B0ccI75PBxDkxvP9A+Rjy1YiqKnx8WgMq LegIJpwJUd3JTnosBQo8bk04oJQTFL/DIK/OMo9jrCOXVBOCw41iPKGcZlXsvMtqKWCpniFL1hlt l41I0xKn/OE1Y6NyND48NdI/+4L7TMcUlG/RrdmLFuGaC4E07Myn2Sxggi1XQzVPV1NrjdlfIbbW D3fhcnr9Ya19WXSHngeP7wfzVWh9bBgPVVqyiNakuoZpQe1d/1kMOXdR3z+LkJ0HA3V5Y9opLoti 00tcGLPrf2G2z71EQG5lvu/9DcTpK8x/LFvbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA2LTAz VDA2OjU3OjM0KzAwOjAw5g72xQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0wM1QwNjo1Nzoz NCswMDowMJdTTnkAAAAASUVORK5CYII= X-Now-Playing: Little Simz's _Grey Area_: "Offence" Date: Thu, 03 Jun 2021 14:45:08 +0200 In-Reply-To: <87wnrb2k7p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 03 Jun 2021 14:42:18 +0200") Message-ID: <87sg1z2k2z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Because this request was about mapping .mm to objc-mode, which wouldn't > be appropriate, and a general request "can somebody write a brand new > mode for obscure language foo?" has little value in [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > Because this request was about mapping .mm to objc-mode, which wouldn't > be appropriate, and a general request "can somebody write a brand new > mode for obscure language foo?" has little value in the bug tracker -- > those types of requests seldom lead to anybody writing such a mode. ^open (The issue is still, of course, in the issue tracker, and anybody who wishes to can refer to it if they should wish to write this new mode. But it's not productive for the people doing triage of the open issues to keep staring at the issue, year after year.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no