From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Defining functions within functions? Date: Wed, 25 May 2016 11:07:38 +0200 Message-ID: <20160525090738.GB12975@tuxteam.de> References: <87k2ilbblk.fsf@mbork.pl> <87mvngsfiw.fsf@web.de> <874m9n6t3o.fsf@mbork.pl> <87vb2264mb.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1464167323 11735 80.91.229.3 (25 May 2016 09:08:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 May 2016 09:08:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 25 11:08:43 2016 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 1b5Unx-0008UI-Jn for geh-help-gnu-emacs@m.gmane.org; Wed, 25 May 2016 11:08:41 +0200 Original-Received: from localhost ([::1]:58363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5Unw-0002up-TO for geh-help-gnu-emacs@m.gmane.org; Wed, 25 May 2016 05:08:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5UnM-0002rk-OP for help-gnu-emacs@gnu.org; Wed, 25 May 2016 05:08:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5UnI-00082P-FS for help-gnu-emacs@gnu.org; Wed, 25 May 2016 05:08:03 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:60976 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5UnI-0007sF-9R for help-gnu-emacs@gnu.org; Wed, 25 May 2016 05:08:00 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1b5Umw-0003fr-G9 for help-gnu-emacs@gnu.org; Wed, 25 May 2016 11:07:38 +0200 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110106 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, May 25, 2016 at 04:36:16AM -0400, Stefan Monnier wrote: > These kinds of callback codes are often described as "CPS-style code", > and in some cases a couple of macros can go a long way to hiding this > machinery and give the illusion of "plain old sequential code", reducing > the nesting madness. Nevertheless: debugging is still torture, right? regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAldFa1oACgkQBcgs9XrR2kYszACfeH3tgY1yvvauZf2E2NqAA+7w qosAnAmNTNsj9kyc4aEmeyZ8rqC5bjOr =RGpp -----END PGP SIGNATURE-----