help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Autocomplete for Objective-C


From: Germán Arias
Subject: RE: Autocomplete for Objective-C
Date: Sat, 15 Feb 2014 23:58:33 -0600
User-agent: GNUMail (Version 1.2.1)

On 2014-02-12 09:52:40 -0600 Doug Lewan <address@hidden> wrote:

> If you use tags, then M-/ (dabbrev-expand) may just do what you want without 
> anything new.
> 
> I don't know if the etags that is delivered with emacs supports Objective C, 
> but Exuberant Ctags (http://ctags.sourceforge.net/) is very flexible. While 
> it does not claim to support Objective C, it can be extended for new 
> languages via regular expressions. I use something like the following to get 
> support for a somewhat obscure language called Passport:
> 
> etags --langdef=pl --regex-pl="/procedure[[:blank:]]+([_[:alnum:]]+)/\1/" 
> --language-force=pl
> 
> ,Douglas
> Douglas Lewan

Thanks, took me some time understand the syntax of regex. But I achieved it, 
now I need refine my regexp.

Germán.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]