From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: elisp programming - navigate through code? Date: Sun, 30 Mar 2014 09:23:51 +0400 Message-ID: <8738i0i7iw.fsf@gmail.com> References: <878urt0x1v.fsf@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396157064 19684 80.91.229.3 (30 Mar 2014 05:24:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2014 05:24:24 +0000 (UTC) Cc: GNU Emacs users list To: Martin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 30 07:24:19 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 1WU8EF-0006jZ-Or for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Mar 2014 07:24:19 +0200 Original-Received: from localhost ([::1]:42742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WU8EF-00026v-CK for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Mar 2014 01:24:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WU8Dz-00026m-5o for help-gnu-emacs@gnu.org; Sun, 30 Mar 2014 01:24:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WU8Dt-0005Wa-2q for help-gnu-emacs@gnu.org; Sun, 30 Mar 2014 01:24:03 -0400 Original-Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:42785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WU8Ds-0005W5-PX for help-gnu-emacs@gnu.org; Sun, 30 Mar 2014 01:23:56 -0400 Original-Received: by mail-lb0-f182.google.com with SMTP id n15so4815896lbi.41 for ; Sat, 29 Mar 2014 22:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=xZ0dMWNVg/tEiixSnUErNEwdPcCGjbFgAuqR1s2A0S8=; b=sptlxEmAdyUZSIeLEQJsn+GAMrXo2nc0768C94ng6LivMCZJJ6m9wOxqKwG/yusqPA Vf+ieKF8CNXT88qbD89aAFx9E71MIZOX/OFC3y+EW4shGK9DHUMGMnWSbpCg8/oo3rG5 QSZaUY9SssvaWHoKV50eBzNXdNZp3F9E+amf1dNZTh0Kx2cz4ajUHDuD/dP6IaYJ+djQ kL0q1kAHN9kgvihMAxqdHsRnyxYL1W/FmGP7PTCKrKx+AhPC5BpnIo5IQ9hMegVC3OHV gObCYdpK/TydgfhgpnvsLMlcWrkksDKimZeRp/ovnD8+JSclflGsrhBtpEPzGMKHjC1v fwtw== X-Received: by 10.152.210.70 with SMTP id ms6mr12952155lac.5.1396157034700; Sat, 29 Mar 2014 22:23:54 -0700 (PDT) Original-Received: from leviafan (128-70-206-28.broadband.corbina.ru. [128.70.206.28]) by mx.google.com with ESMTPSA id md15sm7140675lbb.28.2014.03.29.22.23.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Mar 2014 22:23:53 -0700 (PDT) In-Reply-To: <878urt0x1v.fsf@gmx.at> (Martin's message of "Sat, 29 Mar 2014 17:49:48 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::236 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:96855 Archived-At: Martin (2014-03-29 20:49 +0400) wrote: > Hi there, > > This is now specially for elisp, but maybe its possible for other things to > (ruby on rails - ruby, javascript, coffeescript, ...) > > Is there a way to navigate better through my code. > > like having a function (foo arg1 arg2) putting the cursor to foo will > C-h f suggest I want to read the docstring for that. Thats good. > > But now I'd like to navigate to the definition (which can be in the same > buffer or somewhere else). Is that possbile? You may install "elisp-slime-nav" package (https://github.com/purcell/elisp-slime-nav). Can be found on MELPA. It allows to move to the function/variable/face definition immediately. -- Alex Kost