From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?q?Germ=E1n_Arias?= Newsgroups: gmane.emacs.help Subject: RE: Autocomplete for Objective-C Date: Sat, 15 Feb 2014 23:58:33 -0600 Message-ID: <4e02bb271213ee8718b59694f4d771e0@german-desktop> References: <155DEC68569B714B86C2C7075F5EDA9852FF0BEE@DAKIYA1.pegasus.local> Reply-To: germanandre@gmx.es NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Generated by Pantomime 1.2.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392530332 27986 80.91.229.3 (16 Feb 2014 05:58:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Feb 2014 05:58:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 16 06:59:00 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WEukl-00051O-SP for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Feb 2014 06:58:59 +0100 Original-Received: from localhost ([::1]:60039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEukl-0002rT-8N for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Feb 2014 00:58:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEukV-0002rK-SF for help-gnu-emacs@gnu.org; Sun, 16 Feb 2014 00:58:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEukP-000689-Nw for help-gnu-emacs@gnu.org; Sun, 16 Feb 2014 00:58:43 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:65240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEukP-00067r-Ej for help-gnu-emacs@gnu.org; Sun, 16 Feb 2014 00:58:37 -0500 Original-Received: from localhost.localdomain ([190.149.95.134]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MKYpv-1WGq9m2d1z-0023ip for ; Sun, 16 Feb 2014 06:58:34 +0100 In-Reply-To: <155DEC68569B714B86C2C7075F5EDA9852FF0BEE@DAKIYA1.pegasus.local> User-Agent: GNUMail (Version 1.2.1) X-Provags-ID: V03:K0:rHuw65r+XmNAbNg1GKV44Veb2thIOj/Tc/oQ/C+3gr7vDLOfmEt TcjGRpPYNX8E0jzA4tfLObM+VA6TYfv+deXlORFMNa54bWUHnFHhRD7OxAZrn9K99WsYDkK nTcz8H2UXzO82n7UWiTqxn2Yxvq3ozcn1NOTTph+bwkY6l/4+9RnMhBBX2LY7eCnamsP8uN EIEEmatRv5I6YIAA+2Cog== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96098 Archived-At: On 2014-02-12 09:52:40 -0600 Doug Lewan wro= te: > If you use tags, then M-/ (dabbrev-expand) may just do what you want w= ithout=20 > anything new. >=20 > I don't know if the etags that is delivered with emacs supports Object= ive C,=20 > but Exuberant Ctags (http://ctags.sourceforge.net/) is very flexible. = While=20 > it does not claim to support Objective C, it can be extended for new=20= > languages via regular expressions. I use something like the following = to get=20 > support for a somewhat obscure language called Passport: >=20 > etags --langdef=3Dpl --regex-pl=3D"/procedure[[:blank:]]+([_[:alnum:]]= +)/\1/"=20 > --language-force=3Dpl >=20 > ,Douglas > Douglas Lewan Thanks, took me some time understand the syntax of regex. But I achieved= it, now I need refine my regexp. Germ=E1n.