From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Problem with choosing mode while editing blocks with C-c ' Date: Tue, 20 Mar 2012 03:04:12 +0100 Message-ID: <87obrsauzn.fsf@gnu.org> References: <877gyoxfu4.fsf@googlemail.com> <19361.1331685259@alphaville> <21446.1331694680@alphaville> <20120314100348.284936b2@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9oPb-0004F9-9Z for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 22:03:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9oPZ-0000qb-Fi for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 22:02:58 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:60258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9oPZ-0000qK-4y for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 22:02:57 -0400 Received: by werj55 with SMTP id j55so8208327wer.0 for ; Mon, 19 Mar 2012 19:02:55 -0700 (PDT) In-Reply-To: <20120314100348.284936b2@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Wed, 14 Mar 2012 10:03:48 +0100") 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 Hi Suvayu, Suvayu Ali writes: > 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. Applied, thanks to you and Nick! -- Bastien