From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: programming for org-mode Date: Thu, 15 Jul 2010 17:40:47 -0400 Message-ID: <12989.1279230047@alphaville.usa.hp.com> References: <3910304564.20100715085202@gmail.com> <87vd8gejvk.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=47034 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZWAk-0005Z5-CQ for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 17:40:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZWAj-0001Kx-4r for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 17:40:50 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:35157) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZWAj-0001Kr-1n for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 17:40:49 -0400 In-Reply-To: Message from "Eric Schulte" of "Thu, 15 Jul 2010 10:26:55 PDT." <87vd8gejvk.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Ivanov Dmitry Eric Schulte wrote: > ... > If you are going to do any serious work with lisp, I would emphatically > recommend using paredit-mode, and becoming friends with the Sexp > movement functions > +--------------------------------------------+ > | C-M-f | runs the command paredit-forward | > |-------+------------------------------------| > | C-M-b | runs the command paredit-backward | > |-------+------------------------------------| > | C-M-u | runs the command backward-up-list | > |-------+------------------------------------| > | C-M-k | runs the command kill-sexp | > |-------+------------------------------------| > | C-y | runs the command yank | > +--------------------------------------------+ > > They allow you to manipulate lisp code on the level of logical > expressions, the utility of which can not be over stated. > I presume that paredit is useful because it's a minor mode, so you can enable it on an org-mode buffer (e.g. using babel). But if you are editing a .el file, then emacs-lisp mode provides all these facilities (C-M-f -> forward-sexp, etc.) and you don't need paredit. Do I have that right? Thanks, Nick PS. The ultimate *reference* for emacs lisp is the Emacs Lisp Reference manual http://www.gnu.org/software/emacs/manual/html_node/elisp/index.html At some point in one's emacs-lisp programming life, it will be necessary to refer to it - but it is very much a reference manual, not a tutorial.