GNU bug report logs - #5953
23.1.95; objc-mode doesn't fontify Objective-C 2.0 keywords @syntesize and @property correctly

Previous Next

Packages: cc-mode, emacs;

Reported by: Aleksandr Skobelev <al.skobelev <at> gmail.com>

Date: Thu, 15 Apr 2010 15:23:02 UTC

Severity: wishlist

Tags: patch

Merged with 25066

Found in version 25.1

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 5953 <at> debbugs.gnu.org, Alan Mackenzie <acm <at> muc.de>, Aleksandr Skobelev <al.skobelev <at> gmail.com>
Subject: bug#5953: 23.1.95; objc-mode doesn't fontify Objective-C 2.0 keywords @syntesize and @property correctly
Date: Fri, 01 Nov 2019 17:11:58 +0100
Leo <sdl.web <at> gmail.com> writes:

> On 2012-08-22 11:32 +0800, Leo wrote:
>> Here is a list of OjbC2.0 directives with annotations:
>>
>>   http://maniacdev.com/cheatsheetobjccd.pdf
>>
>> Leo
>
> I have compiled a patch to improve support for Objective C.
>
> I am not sure where to add the following keywords so they live in
> c-other-decl-kwds for now. Please review the patch. Thanks.
>
>   1. @property
>      : @property (attributes) Type propertyName;
>   2. @dynamic
>      : @dynamic aProperty, bProperty;
>   3. @synthesize
>      : @synthesize aProperty, bProperty, cProperty=_ivar;
>   4. @compatibility_alias
>      : @compatibility_alias AliasClassName ExistingClassName;

[...]

> -  objc    '("@class" "@end" "@defs")
> +  objc    '("@class" "@defs" "@end" "@property" "@dynamic" "@synthesize"
> +	    "@compatibility_alias")

(etc)

It seems like this patch (from seven years ago) was never applied.  I
know nothing about Objective C, though.  Alan, could you have a look at
this?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.