From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Problem with choosing mode while editing blocks with C-c ' Date: Wed, 14 Mar 2012 09:41:21 +0100 Message-ID: References: <877gyoxfu4.fsf@googlemail.com> <19361.1331685259@alphaville> <21446.1331694680@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7jmF-0005Gy-Uk for emacs-orgmode@gnu.org; Wed, 14 Mar 2012 04:42:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7jmB-0004Gu-5y for emacs-orgmode@gnu.org; Wed, 14 Mar 2012 04:41:47 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:60782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7jmA-0004Gg-VH for emacs-orgmode@gnu.org; Wed, 14 Mar 2012 04:41:43 -0400 Received: by ghrr18 with SMTP id r18so1833076ghr.0 for ; Wed, 14 Mar 2012 01:41:41 -0700 (PDT) In-Reply-To: <21446.1331694680@alphaville> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Hey Nick, On Wed, Mar 14, 2012 at 04:11, Nick Dokos wrote: > suvayu ali wrote: > > >> >> There was a discussion of this topic recently, I had and still have my q= >> uote source >> >> blocks in artists (picture) mode and thought this was strange behaviour. >> > >> > BTW, artist-mode is *not* the same as picture-mode. >> > >> >> Actually I keep confusing between the two and I'm not sure which I was >> seeing. > > Well, they *are* different, but it turns out that if > artist-picture-compatibility is true (which it is by default), then > artist-mode turns on picture-mode, so they are difficult to tell apart > just looking at the modeline. > 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! > Nick Thanks a lot. :) -- Suvayu Open source is the future. It sets us free.