From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: programming for org-mode Date: Thu, 15 Jul 2010 18:17:02 -0400 Message-ID: <14300.1279232222@alphaville.usa.hp.com> References: <3910304564.20100715085202@gmail.com> <87vd8gejvk.fsf@gmail.com> <12989.1279230047@alphaville.usa.hp.com> <87fwzkbeet.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=37497 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZWjp-0007o9-GF for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 18:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZWjo-0006pq-Jc for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 18:17:05 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:37458) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZWjo-0006pa-HD for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 18:17:04 -0400 In-Reply-To: Message from "Eric Schulte" of "Thu, 15 Jul 2010 14:53:14 PDT." <87fwzkbeet.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: > > 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). > > No, even for emacs-lisp code blocks I use C-c ' to edit the code in > emacs-lisp mode. I do have "[" and "]" globally bound to > `insert-parenthesis' and `move-past-close-and-reindent' respectively, > but that's probably a little too radical for most users. > > I only enable paredit minor-mode in lispy modes. > Ah, OK. > > 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? > > > > Not quite, > > Paredit has a number of nice features aside from sexp movement, > including /electric/ insertion of both open and close parenthesis, > brackets and quotation's which greatly increase the speed with which one > can write lisp code -- all the while ensuring that the code in the > buffer is /valid/ in terms of balanced parenthesis. > Thanks for the explanation! Nick