From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Bruno_F=c3=a9lix_Rezende_Ribeiro?= Newsgroups: gmane.emacs.help Subject: Re: Guile's SCM_DEFINE and Semantic mode Date: Mon, 03 Nov 2014 20:57:30 -0200 Organization: GNU Project Message-ID: <5458085A.3050707@gnu.org> References: <5454F895.9050005@gnu.org> <87bnopuqmm.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="INGHt1msOkQb9uJIQegRc8MhXAIJQAJ8i" X-Trace: ger.gmane.org 1415055501 25273 80.91.229.3 (3 Nov 2014 22:58:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 22:58:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 23:58:14 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 1XlQZf-0003e8-OT for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 23:58:11 +0100 Original-Received: from localhost ([::1]:37650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlQZf-0000dm-DP for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 17:58:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlQZF-0000c1-Ex for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 17:57:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlQZ6-0004Sb-Eb for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 17:57:45 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlQZ6-0004SX-Bu for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 17:57:36 -0500 Original-Received: from 189-015-230-040.xd-dynamic.ctbcnetsuper.com.br ([189.15.230.40]:60179 helo=[192.168.1.17]) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XlQZ5-0007Oj-6k for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 17:57:36 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30 In-Reply-To: <87bnopuqmm.fsf@zigzag.favinet> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:100704 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --INGHt1msOkQb9uJIQegRc8MhXAIJQAJ8i Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thien-Thi Nguyen wrote: > Perhaps you can first find out how Semantic handles Emacs C source, > which is full of similar constructs (named =E2=80=98DEFUN=E2=80=99) and= then tweak > that method for =E2=80=98SCM_DEFINE=E2=80=99. That's an interesting idea; thank you. However, Ludovic Court=C3=A8s poi= nted out, at GNU Guile users' mailing list, that GNU GLOBAL handles SCM_DEFINE'd functions. So, I ended up using ggtags as it seems Semantic doesn't use GNU GLOBAL database for 'semantic-complete-jump' and 'semantic-ia-fast-jump', despite its use of it in searches of symbol references. I'm still using Semantic for other things, in particular for mode-line documentation, as ggtags' Eldoc support is not working for me, and Semantic is able to grab the prototype of SCM_DEFINE'd functions from the header files. --=20 ,=3D ,-_-. =3D. Bruno F=C3=A9lix Rezende Ribeiro (oitofelix) [0x28D618A= F] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom; --INGHt1msOkQb9uJIQegRc8MhXAIJQAJ8i Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJUWAhaAAoJECe5xv0o1hiv/VsH/RWAKtJrpeqm82V8gn9oxqmY JTGX1nI959AWJwGpT7+pcTJe2PpTGmnY857ory0cMIBvo6BgyUvZQ6hY73GsevB8 jP+ZizaRqFAnJqFpDavV1NvgaH6mUuY1hhqxOXqS6L0KHk6Gp2tmIf0o87pFp4mv HmQCyBokx6rFMCDDkx8kyZuWktRs8I/Wt5Vdx9ETgZmTndxGAhF5wN6XrOcujrK+ DV1e1GMX2HKFNU/rBU2yy23wReOuBPJStrnlpEAUXHPevftT74ccJ67sNXR1Iobu etfIVERo5pP6J/sz78xwvioMVzS/LCEUBZtDvam6hmuRSAv+vjjwAkDZuwhb3TE= =12Ko -----END PGP SIGNATURE----- --INGHt1msOkQb9uJIQegRc8MhXAIJQAJ8i--