all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: "germanandre@gmx.es" <germanandre@gmx.es>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Autocomplete for Objective-C
Date: Wed, 12 Feb 2014 15:52:40 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9852FF0BEE@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <6868028626ea12a67b55f9be1b692cd2@german-desktop>

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
Shubert Ticketing
(201) 489-8600 ext 224

Of course, shells have one feature that no other language has: subshells.


> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Germán Arias
> Sent: Wednesday, 2014 February 12 02:42
> To: help-gnu-emacs@gnu.org
> Subject: Re: Autocomplete for Objective-C
> 
> On 2014-02-11 10:11:32 -0600 David Engster <deng@randomsample.de>
> wrote:
> 
> > Doug Lewan writes:
> >> You might consider looking at CEDET/EDE/Semantic. I'm hardly an
> >> expert, but it has some very good tools for different languages.
> >
> > CEDET does not support Obj-C.
> >
> > -David
> >
> 
> Yes, I noticed this today. But, can I use a table to do basic
> completion? Or I need write some semantic rules?
> 
> Germán.
> 




  reply	other threads:[~2014-02-12 15:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-09  0:59 Autocomplete for Objective-C Germán Arias
2014-02-10 14:51 ` Doug Lewan
2014-02-11 16:11   ` David Engster
2014-02-12  7:41     ` Germán Arias
2014-02-12 15:52       ` Doug Lewan [this message]
2014-02-16  5:58         ` Germán Arias
2014-02-16 16:27 ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA9852FF0BEE@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=germanandre@gmx.es \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.