From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to get skills in elisp ? Date: Mon, 25 May 2009 10:11:12 -0700 Message-ID: References: <39c42ea3-0dc4-4364-a3b5-751b28b176b2@y7g2000yqa.googlegroups.com> <9c718a3f-d913-4a8d-b928-443c7e9d25d4@r34g2000vbi.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243271499 27440 80.91.229.12 (25 May 2009 17:11:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2009 17:11:39 +0000 (UTC) To: "'Francis Moreau'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 25 19:11:31 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M8dhy-00044Q-M9 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 May 2009 19:11:31 +0200 Original-Received: from localhost ([127.0.0.1]:54335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8dhy-0008FO-3X for geh-help-gnu-emacs@m.gmane.org; Mon, 25 May 2009 13:11:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8dhc-0008FI-Dz for help-gnu-emacs@gnu.org; Mon, 25 May 2009 13:11:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8dhW-0008Dd-IW for help-gnu-emacs@gnu.org; Mon, 25 May 2009 13:11:07 -0400 Original-Received: from [199.232.76.173] (port=46892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8dhW-0008DZ-Au for help-gnu-emacs@gnu.org; Mon, 25 May 2009 13:11:02 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:54717) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8dhV-0005Ke-Rr for help-gnu-emacs@gnu.org; Mon, 25 May 2009 13:11:02 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4PHBVQQ014625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 May 2009 17:11:33 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4PHAvdC015433; Mon, 25 May 2009 17:10:58 GMT Original-Received: from dradamslap1 (/98.210.250.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 25 May 2009 10:10:53 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <9c718a3f-d913-4a8d-b928-443c7e9d25d4@r34g2000vbi.googlegroups.com> Thread-Index: AcndHX5U4HdziKhJQ2mFHSBvaPZhdwAOzsyg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4A1AD11E.0157:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64709 Archived-At: > > Yes, take a look at the manual (in Info, `C-h i') called `Emacs Lisp > > Introduction' in the Info menu. The manual title is > > actually "An Introduction to > > Programming in Emacs Lisp". It's just what you're looking for. > > Ok, I did have a look to this but it starts by; > > "This is an `Introduction to Programming in Emacs Lisp', for people > who are not programmers." > > so since I'm a programmer (well I try to be ;) I just skiped the > document. ;-) !!! That was probably written to avoid scaring away non-programmers. It really should say something like "for non-programmers and programmers who are not necessarily familiar with Lisp. Really, it's for anyyone interested in Emacs Lisp. > Is there any way to jump into a function definition (for example by > using tags) when asking for help on this function (C-h f) ? After `C-h f' (or `C-h v' for variables), you should see a link to the defining source file near the beginning of the help text. Examples: eval-defun is an interactive compiled Lisp function in `lisp-mode.el'. forward-char is an interactive built-in function in `C source code'. The text `lisp-mode.el' and the text `C source code' are links - click them to go to the definitions of functions `eval-defun' and `forward-char'. You will not be able to do the latter if you don't have a copy of the C source code (in directory `src' under your Emacs installation directory). To see the former, you will likewise need a copy of the Lisp source code file, in this case `lisp-mode.el'. You should always make sure you have a copy of all of the Lisp source code files for the libraries that you use. It's an invaluable help to consult the source code. If you have only the byte-compiled files (*.elc instead of *.el), then go to gnu.org and pick up the source files now. Yes, you can also use a tags file. For that, you will need to create the tags file. Consult the doc or Emacs Wiki for more info. Once you have a tags file, you can easily get to any function etc. definitions. This is an alternative to using `C-h f' and then following the link to the defining code.