unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++
@ 2017-11-17 13:36 Philipp
       [not found] ` <mailman.3878.1510925890.27995.bug-gnu-emacs@gnu.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Philipp @ 2017-11-17 13:36 UTC (permalink / raw)
  To: 29339


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=-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))

-- 
Google Germany GmbH
Erika-Mann-Straße 33
80636 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

If you received this communication by mistake, please don’t 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.





^ permalink raw reply	[flat|nested] 11+ messages in thread
* bug#2732: 23.0.91; Please add support for Objective-C++
@ 2009-03-20 20:09 Yavor Doganov
  0 siblings, 0 replies; 11+ messages in thread
From: Yavor Doganov @ 2009-03-20 20:09 UTC (permalink / raw)
  To: emacs-pretest-bug

Package: emacs,cc-mode
Severity: wishlist

I had to edit some ObjC++ files today in my pathetic attempt to port
Dasher [1] to GNUstep.  Emacs opens .mm files in nroff-mode, and
manually switching to c++-mode or objc-mode does not give satisfactory
results.

Objective-C++ is supported by GCC and GNUstep Make, and although there
are currently no free programs written in this language (TTBOMK, apart
from the various free software ported to Mac OS X; but it's unusable
for other reasons), this is likely to change in the near future.

I realize this is Emacs 24 or 25 material; there is no problem about
that.

In GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2009-03-18 on gana, modified for gNewSense
 (Unofficial gNewSense emacs-snapshot package, version 1:20090318-gns1)
Windowing system distributor `The X.Org Foundation', version 11.0.10400090

[1] http://www.inference.phy.cam.ac.uk/dasher/






^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-06-03 12:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-17 13:36 bug#29339: 27.0.50; CC-mode doesn't know about .mm and .M suffixes for Objective-C++ Philipp
     [not found] ` <mailman.3878.1510925890.27995.bug-gnu-emacs@gnu.org>
2017-11-17 19:00   ` Alan Mackenzie
2017-12-21 19:22     ` Philipp Stephani
2017-12-22 12:56       ` Alan Mackenzie
2017-12-22 16:50         ` Glenn Morris
2021-06-03 10:07           ` bug#2732: 23.0.91; Please add support " Lars Ingebrigtsen
2021-06-03 12:08             ` Philipp
2021-06-03 12:42               ` bug#29339: " Lars Ingebrigtsen
2021-06-03 12:45                 ` Lars Ingebrigtsen
2021-06-03 12:39             ` Alan Mackenzie
  -- strict thread matches above, loose matches on Subject: below --
2009-03-20 20:09 Yavor Doganov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).