[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for O
bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++
17 Nov 2017 19:00:35 -0000
tin/2.4.1-20161224 ("Daill") (UNIX) (FreeBSD/11.0-RELEASE-p2 (amd64))
In article <address@hidden> 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).