Received: (at 28746) by debbugs.gnu.org; 8 Oct 2017 14:24:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 08 10:24:46 2017 Received: from localhost ([127.0.0.1]:56489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1e1CVa-0003IR-OR for submit <at> debbugs.gnu.org; Sun, 08 Oct 2017 10:24:46 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <p.stephani2@HIDDEN>) id 1e1CVY-0003IF-Qe for 28746 <at> debbugs.gnu.org; Sun, 08 Oct 2017 10:24:45 -0400 Received: by mail-oi0-f66.google.com with SMTP id h200so6429021oib.1 for <28746 <at> debbugs.gnu.org>; Sun, 08 Oct 2017 07:24:44 -0700 (PDT) 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; bh=e9GDhXs1lJFbKxenrb45kZJnXv/pe08xppTWTHAUAZY=; b=EAKKNviZHm1rVF1nEFMlMvIM2lXliy1trx7Vy77zzXipm7uv2IkXoWIHaBFGPCM4Uo woywP9AXmZ5tVOu50ky4es5/vEWYkqlKOocpT/EhQsvEmvluQNYJAPuM4IPRON81l8du hhB9hgNPFP6cgA5dzfwNh/WygqOdmDff7dQNRCcA12oIns3DovMZrJ0E90kOXpvmWMb5 2eQdz1yzxA7qtYEV8UNHKeE83ETwBVa07qqX5wLcdGBy+fOQrt3OfJ5G5o0xAOl20dVj V1XghpewhKezi8vJz+VxX9MzXcuCAmpMvPZQc7lRlLg1TcuS4cOqnCqx8yLD0bVC+ry9 MNgA== 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; bh=e9GDhXs1lJFbKxenrb45kZJnXv/pe08xppTWTHAUAZY=; b=f29nIIHC8Vyxplla8pt1whLdwiVghzeKBYJnJh+KLlh1rFJa0FkxLhbkPSu7NWQv27 V0goWdHot3MP8wErBkDhHWUvQ8LPzkvUh2tiuPcgnYfEQdDjOwRxzttOJloDkdvr/PTl 4VcUMud81cEduzwqqf+S2F9HojhEjrZjPzObWsrhy9hlJGwK75d/7A5MAQTHDhkbbj1D FBaWc1thCXW/RunILCD232r60Hr8G0aJsSSsvYLkcDGtCwtI2+FvGeQ+O/YAimqRWKBh f2Dw7S/JEtpsBEi3FVHUlIB174BoKre5QKX+vk6iqS1RK8YgakhkSBy8BtkUPwHSGVx9 3ncQ== X-Gm-Message-State: AMCzsaUDCNSxJVraXRlfzgSHinHqfvTkh4Lj6YWKPG2/+remMfXGyklu ZD4I9ur1A531B9PO35/YlrEr2WQwT5QY5QxG+uUvNQ== X-Google-Smtp-Source: AOwi7QDgmijW7h/2FXGceq0oIbejzkZzUD6QQUMhyaHgYyyPEao6pNHrbRTvtWXN8zyVfaU9EecwFO15wPN9uQDx4wQ= X-Received: by 10.157.66.167 with SMTP id r36mr4050095ote.335.1507472678798; Sun, 08 Oct 2017 07:24:38 -0700 (PDT) MIME-Version: 1.0 References: <wvr4mv51n2sy.fsf@HIDDEN> In-Reply-To: <wvr4mv51n2sy.fsf@HIDDEN> From: Philipp Stephani <p.stephani2@HIDDEN> Date: Sun, 08 Oct 2017 14:24:28 +0000 Message-ID: <CAArVCkSP-LGRogRmJea5tqLxy+ta5JWgMRv4DHqSONDxihFRQw@HIDDEN> Subject: Re: bug#28746: 27.0.50; cc-mode should automatically detect Objective-C headers To: 28746 <at> debbugs.gnu.org Content-Type: multipart/alternative; boundary="94eb2c1c1da4874a28055b09d5e3" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 28746 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.7 (/) --94eb2c1c1da4874a28055b09d5e3 Content-Type: text/plain; charset="UTF-8" Philipp <p.stephani2@HIDDEN> schrieb am So., 8. Okt. 2017 um 16:16 Uhr: > > Visit a file with a file name extension of .h and the following > contents: > > @interface foo { > } > - (void)method; > @end > > The buffer will be in c-mode, not objc-mode. CC-Mode should > automatically detect that this is an Objective-C header and switch to > objc-mode. Probably searching for @interface or @implementation should > cover most cases. > It seems like CC-Mode is already doing something similar with `c-or-c++-mode'. Probably that functionality should be extended to cover Objective-C (and Objective-C++?) as well. --94eb2c1c1da4874a28055b09d5e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">Philip= p <<a href=3D"mailto:p.stephani2@HIDDEN">p.stephani2@HIDDEN</a>>= ; schrieb am So., 8. Okt. 2017 um 16:16=C2=A0Uhr:<br></div><blockquote clas= s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad= ding-left:1ex"><br> Visit a file with a file name extension of .h and the following<br> contents:<br> <br> @interface foo {<br> }<br> - (void)method;<br> @end<br> <br> The buffer will be in c-mode, not objc-mode.=C2=A0 CC-Mode should<br> automatically detect that this is an Objective-C header and switch to<br> objc-mode.=C2=A0 Probably searching for @interface or @implementation shoul= d<br> cover most cases.<br> </blockquote><div><br></div><div>It seems like CC-Mode is already doing som= ething similar with `c-or-c++-mode'. Probably that functionality should= be extended to cover Objective-C (and Objective-C++?) as well.=C2=A0</div>= </div></div> --94eb2c1c1da4874a28055b09d5e3--
bug-gnu-emacs@HIDDEN
:bug#28746
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Oct 2017 14:15:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 08 10:15:58 2017 Received: from localhost ([127.0.0.1]:56484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1e1CN2-00034c-Ug for submit <at> debbugs.gnu.org; Sun, 08 Oct 2017 10:15:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <p.stephani2@HIDDEN>) id 1e1CN0-00034P-Rt for submit <at> debbugs.gnu.org; Sun, 08 Oct 2017 10:15:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <p.stephani2@HIDDEN>) id 1e1CMu-0002aa-Hq for submit <at> debbugs.gnu.org; Sun, 08 Oct 2017 10:15:49 -0400 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]:47734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <p.stephani2@HIDDEN>) id 1e1CMu-0002aV-Eb for submit <at> debbugs.gnu.org; Sun, 08 Oct 2017 10:15:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <p.stephani2@HIDDEN>) id 1e1CMt-0000VU-4M for bug-gnu-emacs@HIDDEN; Sun, 08 Oct 2017 10:15:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <p.stephani2@HIDDEN>) id 1e1CMr-0002ZC-S1 for bug-gnu-emacs@HIDDEN; Sun, 08 Oct 2017 10:15:47 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:49501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <p.stephani2@HIDDEN>) id 1e1CMr-0002Yp-Kh for bug-gnu-emacs@HIDDEN; Sun, 08 Oct 2017 10:15:45 -0400 Received: by mail-wm0-x22d.google.com with SMTP id b189so16475293wmd.4 for <bug-gnu-emacs@HIDDEN>; Sun, 08 Oct 2017 07:15:45 -0700 (PDT) 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=/8oiGi1n5yh+sFE5FVBIXWvstWqF7Te8gKcN9I2SN6A=; b=iX4u28GcnInWyk8Gc5h0vl0c5JyucstgUiRiIqENHdeGDqQhr9prf9QemtpQXqcm0C ENxDcSN92vUp2DJGPVitF5pNmDCK1OQmr3dcITTo369YByKFRlDwjc5tC+c7uESQxUvo 5LJwP+L5kPTtPtzfF2EsCYL/6tWt/8nrQafSzNy9oYndyzPyqzyntNkBbQIqRC9XovfA Cf1cUU1pJmWFUSML9FXIoFeTBXP9kgNX4dKH64LpkDVTO/YwXG4jGAeLUzjPSkmYKBB5 aRIHYPINIZzlbdl73qfRPRKtzFWsKJIi7HxMjhTUEXYRXqY/O6e2fMmM2XvGO0aGC6n3 FApQ== 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=/8oiGi1n5yh+sFE5FVBIXWvstWqF7Te8gKcN9I2SN6A=; b=BJjyN8gfyo0TVB0esoBxePMzQA3iO44UpHEheP9oQoGlTpxCo77KHK372XZAcNHg93 FXQGe6L6GcW9SdeTDxke6mFgUYdEOWnW28+GsEa95W3ew/38f9n3vVQE4RarirWGIXW3 M/o10cWfibgMVUceDrpCkaRmNmLVwK7mc2GO1mr2EC1A4tuB5iGjGmZAVkOJ0fe7mMQA FSuVg2U/JaccQOp2FR8ebfW3qZHaEmXtVu6bvve2cwouLi/0t4IVlRRRWEJarqoWIFWC WAAiheYPBXpTNayGCdJzH81sppGx/6GzH8CpcrGX4gKALqcxiB8uhmEVMRB8m1x5P7H0 X7FA== X-Gm-Message-State: AMCzsaUWJjJ341SdsZffGgez54BRL/Rkf4De4zreKOuNdu9Hi4YrsCsr oSzPSDoCwrQBABmKksDriSDC5p8K X-Google-Smtp-Source: AOwi7QBzPa8gRg58qdc6O9UiDQkMWeCFNWdZiNiEFLYBS2qrC26taVHdo1AkayHjwExAxsf9H/xVIQ== X-Received: by 10.223.184.75 with SMTP id u11mr3310441wrf.13.1507472144011; Sun, 08 Oct 2017 07:15:44 -0700 (PDT) Received: from phst-glaptop ([2001:4c50:25f:3400:a5e1:9ec5:d75a:20aa]) by smtp.gmail.com with ESMTPSA id b190sm6660051wma.22.2017.10.08.07.15.42 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 08 Oct 2017 07:15:43 -0700 (PDT) From: Philipp <p.stephani2@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.0.50; cc-mode should automatically detect Objective-C headers Date: Sun, 08 Oct 2017 16:15:41 +0200 Message-ID: <wvr4mv51n2sy.fsf@HIDDEN> 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.8 (---) Visit a file with a file name extension of .h and the following contents: @interface foo { } - (void)method; @end The buffer will be in c-mode, not objc-mode. CC-Mode should automatically detect that this is an Objective-C header and switch to objc-mode. Probably searching for @interface or @implementation should cover most cases. In GNU Emacs 27.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2017-10-08 built on localhost Repository revision: 9b3ce6252115980802adaa562af575bcd73a2c55 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 94525 13775) (symbols 48 20163 1) (miscs 40 39 170) (strings 32 28082 1740) (string-bytes 1 728996) (vectors 16 13949) (vector-slots 8 488053 13844) (floats 8 49 68) (intervals 56 214 0) (buffers 992 12) (heap 1024 28679 1010)) --=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.
Philipp <p.stephani2@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#28746
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.