GNU bug report logs -
#29339
27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++
Previous Next
Reported by: Philipp <p.stephani2 <at> gmail.com>
Date: Fri, 17 Nov 2017 13:38:01 UTC
Severity: wishlist
Merged with 2732
Found in version 27.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Glenn Morris <rgm <at> gnu.org> 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
This bug report was last modified 3 years and 356 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.