From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuriy Pitometsu Newsgroups: gmane.emacs.bugs Subject: bug#25066: 25.1; objc-mode still doesn't fontify Objective-C 2.0 keywords Date: Tue, 13 Dec 2016 20:50:57 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1481655207 13615 195.159.176.226 (13 Dec 2016 18:53:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 18:53:27 +0000 (UTC) To: 25066@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 19:53:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGsCO-0001Vq-7F for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 19:53:12 +0100 Original-Received: from localhost ([::1]:40092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGsCS-0005Gf-I6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 13:53:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGsCL-0005GO-VQ for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:53:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGsCK-0006gF-Sm for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:53:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53846) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGsCE-0006fE-9n; Tue, 13 Dec 2016 13:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGsCE-0005UE-3u; Tue, 13 Dec 2016 13:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuriy Pitometsu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 13 Dec 2016 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25066 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148165515521054 (code B ref -1); Tue, 13 Dec 2016 18:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 18:52:35 +0000 Original-Received: from localhost ([127.0.0.1]:41011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGsBn-0005TU-5m for submit@debbugs.gnu.org; Tue, 13 Dec 2016 13:52:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGsBl-0005TI-NZ for submit@debbugs.gnu.org; Tue, 13 Dec 2016 13:52:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGsBf-0006Wr-9d for submit@debbugs.gnu.org; Tue, 13 Dec 2016 13:52:28 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGsBf-0006Wn-6h for submit@debbugs.gnu.org; Tue, 13 Dec 2016 13:52:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGsBd-0004xy-H6 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:52:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGsBZ-0006WB-K6 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:52:25 -0500 Original-Received: from mail-vk0-f46.google.com ([209.85.213.46]:35937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGsBZ-0006Rk-EZ for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:52:21 -0500 Original-Received: by mail-vk0-f46.google.com with SMTP id p9so75508539vkd.3 for ; Tue, 13 Dec 2016 10:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=P9XCy+uek4eYh/q2sYODCGwlTH7He5RD0Pqc0S/55Uw=; b=vSushizlKnxPV312uRNNW9jPHt1I5lNc2Egwh2dxtBeS4LHqZITeYSk6HLFXeUCn7H B6EQ1PZV6OaM2LLHgPW9r8DB5aG3O9nK4xrTMG67u4L5rajzsM7Z1kwMx7hwZkU0yLQA oYHDDVVRNeSwfvUNKp/GGk6h5CZAf9kajHofHun11kel65c4HEK4Ex2jhK0p3PpqKlHZ B62awTBi5GaJ984uY5ZBZJ3iL1GNwav4Fnkj7wGrS/yUzkwBJV0HXk5/6H8NYw1GL1Kq aVx+yfxK3em+/ntcC4dRe50iip3ibKM90ZXr2pj/veqLNTrDTOL+3nA9MAVXtKwFyGZE 686w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=P9XCy+uek4eYh/q2sYODCGwlTH7He5RD0Pqc0S/55Uw=; b=VSuS+zhyAfTfKHf/oHJUg5BajloLVF6qeaXstdRgVwYZHwLZpq98oEIY7zr+SIqgTS +hOMQFE/KYMlt9bCyVi04rWvqBEMsT2wSpqNUlu8Et5X33wsiGsgjPAbkTZ6Jz2ST/e0 omoRJBgeZigYrpoKX0yTguJl2rBE1q5xq0UXiJHedo+C283bqwfiP19weNloes7C3q/+ M/Ayv9V7O3WFGMZN/jWmEKxqi7p87Q05vsndrbnCY1SUdq8yY0cmOcXiqO4hkmEJU2BY yO1djnqYPr1Le0Om/kpOKA/5dZew3m6bj4ZGHq5XSrjGGdWbLMNgdrE5c9IfZYKqFafP v31g== X-Gm-Message-State: AKaTC02tqJSoNRxj0Qf79NsqtwOVybeb1YY2cj/C3V5dARKzWDt7eVsK/J6eKzsVf8S8koMQHRGKp8/Q7r9sZg== X-Received: by 10.176.81.18 with SMTP id e18mr67964080uaa.5.1481655057668; Tue, 13 Dec 2016 10:50:57 -0800 (PST) Original-Received: by 10.176.82.215 with HTTP; Tue, 13 Dec 2016 10:50:57 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126998 Archived-At: EXAMPLE from VIM implementation here ;-) https://fossies.org/linux/vim/runtime/syntax/objc.vim On Tue, Nov 29, 2016 at 10:32 PM, Yuriy Pitometsu wrote: > As noticed here > https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-08/msg00689.html, > there some problems with modern ObjC in Emacs. Further more, that > issue even contain patch that works at least for "properties". But > that functionality not available in Emacs 25.1 yet, so disappointing. > > In addition, there's no support in font-lock for such nowadays > features of ObjC syntax like: > - properties (example: @property (copy, nonatomic, readonly, > getter=getBlock, null_resettable) void (^ block)(inout > NSDictionary *_Nullable __autoreleasing > *errorDictionary);) > - blocks (example: ^ { void (^)(void) = ^(void) {}; }();) > - literals (example: @{@"":@(@[@1])};) > - lightweight generics (example: NSArray *) > - modern keywords (example: @import, nullable, __bridge, __block, strong) > > -- > In GNU Emacs 25.1.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 > Version 10.11.6 (Build 15G1004)) > of 2016-10-22 built on Yuriys-iMac.local > Configured using: > 'configure --disable-dependency-tracking --disable-silent-rules > --enable-locallisppath=/usr/local/share/emacs/site-lisp > --infodir=/usr/local/Cellar/emacs/25.1/share/info/emacs > --prefix=/usr/local/Cellar/emacs/25.1 --without-x --with-xml2 > --without-dbus --without-gnutls --with-imagemagick --with-rsvg > --with-ns --disable-ns-self-contained' > > Configured features: > JPEG RSVG IMAGEMAGICK NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS > > Important settings: > value of $LC_CTYPE: UTF-8 > value of $LANG: en_UA.UTF-8 > locale-coding-system: utf-8-unix > > Major mode: ObjC/l > > Minor modes in effect: > diff-auto-refine-mode: t > tooltip-mode: t > global-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 > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > abbrev-mode: t > > Recent messages: > next-line: End of buffer > Saving file /Users/netsu/Documents/Projects/Bank34/Podfile... > Wrote /Users/netsu/Documents/Projects/Bank34/Podfile > Quit > Mark saved where search started > Making completion list... > Quit > Making completion list... > Quit > Making completion list... [4 times] > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils > cl-extra help-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles > cc-align cc-engine cc-vars cc-defs cl-loaddefs pcase cl-lib misearch > multi-isearch vc-git diff-mode easy-mmode ruby-mode smie easymenu > term/xterm xterm time-date mule-util tooltip eldoc electric uniquify > ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize > term/common-win tool-bar dnd fontset image regexp-opt fringe > tabulated-list newcomment elisp-mode lisp-mode prog-mode register page > menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock > syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help > simple abbrev 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 > kqueue cocoa ns multi-tty make-network-process emacs) > > Memory information: > ((conses 16 228671 7694) > (symbols 48 22509 0) > (miscs 40 59 399) > (strings 32 23546 6369) > (string-bytes 1 777372) > (vectors 16 34183) > (vector-slots 8 647690 3156) > (floats 8 167 683) > (intervals 56 872 14) > (buffers 976 22)) > > -- > With best regards, > Yuriy Pitomets > Haskell developer | Strong solution > For beautiful ideas -- With best regards, Yuriy Pitomets Haskell developer | Strong solution For beautiful ideas