From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Kevin Montuori" Newsgroups: gmane.emacs.help Subject: Re: Learn Emacs Lisp in 15 minutes Date: Thu, 25 Jul 2013 11:19:47 -0400 Message-ID: References: <87bo5qolzi.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374767975 22899 80.91.229.3 (25 Jul 2013 15:59:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2013 15:59:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 25 17:59:36 2013 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 1V2Nx2-0005Ge-Ft for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 17:59:36 +0200 Original-Received: from localhost ([::1]:49968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2Nx2-00022c-6I for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 11:59:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2NKb-0005LT-Uq for help-gnu-emacs@gnu.org; Thu, 25 Jul 2013 11:19:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2NKX-0003nz-SI for help-gnu-emacs@gnu.org; Thu, 25 Jul 2013 11:19:53 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2NKX-0003nX-PD for help-gnu-emacs@gnu.org; Thu, 25 Jul 2013 11:19:49 -0400 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7343E2119F for ; Thu, 25 Jul 2013 11:19:49 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 25 Jul 2013 11:19:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:references:date :message-id:mime-version:content-type; s=smtpout; bh=XxzrTad97LI thoxdyhwZNa/Mc4E=; b=Rq7W8rU23EwUFDycjaPp4pXJkCaXRuQkrvIEKwCdygA JhGmsIIFrZnlWQOLoB1+Ovse3e/8barhb85/ROL6tXwfz64YN44oRxx68/pE85xb 4DYDmRyFXobB2lqXpsDYJy+EibK/QCvBuxONt4c43buUg2ITufHqknAJf+D+5+b8 = X-Sasl-enc: mHiEzbwLOzqm+53Ko25QE66vvL0WlToeDFVCJvRD/v3n 1374765589 Original-Received: from flyingace.local (unknown [71.234.44.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 0C815C00E84 for ; Thu, 25 Jul 2013 11:19:48 -0400 (EDT) X-Attribution: k. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.25 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:92404 Archived-At: >>>>> "B" == Bastien writes: B> Comments and feedback welcome, enjoy, Nicely done, I'm sure more than a few people will find it helpful. A few comments: - A link to "An Introduction to Programming in Emacs Lisp" might prove handy for continuing on: http://tinyurl.com/lanbfyv - The paragraph beginning with "This set of command is loaded on top..." is confusing. I'd be tempted to make it way simpler: Emacs has a built-in set of functions (or commands); you use these built-in functions as building blocks for custom functions. - I'd point out that every sexp returns a value and some sexps produce side effects -- and explain the difference between a value and side effect. Stupid as it sounds, I'd mention to your friend that you can't break a computer by mis-programming it (and that most programmers spend their time fixing code that's broken to some degree, not writing perfect code out of the gate). This is less obvious to non-programmers than I would have suspected. k. -- Kevin Montuori montuori@gmail.com