From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with choosing mode while editing blocks with C-c ' Date: Wed, 14 Mar 2012 09:50:47 -0400 Message-ID: <2671.1331733047@alphaville> References: <877gyoxfu4.fsf@googlemail.com> <19361.1331685259@alphaville> <21446.1331694680@alphaville> <20120314100348.284936b2@kuru.dyndns-at-home.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7obi-0006Be-F0 for emacs-orgmode@gnu.org; Wed, 14 Mar 2012 09:51:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7obY-0003G3-LR for emacs-orgmode@gnu.org; Wed, 14 Mar 2012 09:51:14 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:19754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7obY-0003E9-Gj for emacs-orgmode@gnu.org; Wed, 14 Mar 2012 09:51:04 -0400 In-Reply-To: Message from Suvayu Ali of "Wed, 14 Mar 2012 10:03:48 BST." <20120314100348.284936b2@kuru.dyndns-at-home.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Suvayu Ali wrote: > On Wed, Mar 14, 2012 at 09:41, suvayu ali wrote: > > Yup, your analysis was spot on. :) Changing the let to let* and > > reevaluating the defun fixed the issue. > > > > I hadn't grasped this subtlety about let*, dependencies on preceding > > bindings hidden behind function calls! > > I am attaching the changes as a patch. Let me know if it is okay. > Perfect. Thanks! Nick