From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Fantin Subject: Re: org-startup-indented shifts columns in column-view Date: Thu, 22 Jul 2010 12:57:18 +0200 Message-ID: References: <45CF0040-37AA-413A-A339-4536329AC9C9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=46668 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObtTG-0005Vz-Kp for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 06:57:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObtTA-0002Vo-D1 for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 06:57:42 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:32977) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObtTA-0002VW-29 for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 06:57:40 -0400 Received: by eydd26 with SMTP id d26so2162518eyd.0 for ; Thu, 22 Jul 2010 03:57:38 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Carsten Dominik Great job Dominik, I have in fact went the true indentation way since then, and don't miss org-indent-mode actually. I've managed to get the src blocks to behave the same way, by seting org-preserve-indentation to nil and org-edit-src-content to 0. So what I described in the other thread is actually a non-issue, and could be adapted with proper configuration settings. All in all this is very nice, I was just a few tweaks away from getting the almost exact same beahviour without using org-indent-mode, and I like the idea of looking at the actual file without any magic. I was also pleasantly surprised to find out that the indentation is automatically adapted on headlines promotion and demotion commands. Org-mode never ceases to amaze... Cheers On Thu, Jul 22, 2010 at 10:45 AM, Carsten Dominik wrote: > > On Jul 22, 2010, at 10:14 AM, Carsten Dominik wrote: > >> >> On Jul 13, 2010, at 5:11 PM, Julien Fantin wrote: >> >>> Thanks for noticing Dominik, >>> >>> Reverting back to regular indentation is what I've done, >> >> THis is not what I mean. >> >> What I mean is that you can turn off org-indent-mode just while you >> use column view. =C2=A0Basically, define yourself a function key to togg= le >> org-indent-mode, and turn it off before entering column view, >> and on afterwards. =C2=A0Very likely, the fix for this issue will eventu= ally >> do this automatically, but it is not trivial to do this and make sure >> that everything else will still work correctly. =C2=A0Will be a while >> before I get to this. > > Just minutes after sending this message I realized, that there is > a simple way to fix this issue, by overruling the line-prefix and > wrap-prefix text properties in the overlays that are used > for column view. Works like a charm, and is a very simple fix. > > - Carsten > >> >> >>> however, I'm >>> afraid I have something else to report on that... >>> I mentionned this =C2=A0issue in a separate thread : >>> http://article.gmane.org/gmane.emacs.orgmode/27388/ >> >> I hope that Dan Davison will find time to look into this question. >> >> - Carsten >> >>> >>> cheers >>> >>> On Tue, Jul 13, 2010 at 2:14 PM, Carsten Dominik >>> wrote: >>>> >>>> On Jul 6, 2010, at 9:55 PM, Julien Fantin wrote: >>>> >>>>> I've been using the org-startup-indented and org-adapt-indentation >>>>> variables for sometime, but I just realized that org-startup-indented >>>>> when >>>>> set to true, ends up shifting the cloumns in column-view according to >>>>> the >>>>> headline level. >>>>> >>>>> So headline 2 is shifted by 1 character to the right, headline 3 by 2 >>>>> characters and so forth. >>>>> >>>>> Is this the expected behaviour ? I hope not, because I'd like to use >>>>> both >>>>> features, but it makes the column-view quite impractical. >>>> >>>> Hi Julien, >>>> >>>> this is indeed a bug. =C2=A0As it is not trivial to fix it, >>>> I will only be able to get to it after the release. >>>> As a work-around for now, turn off org-indent-mode before >>>> switching to column view. >>>> >>>> - Carsten >>>> >>>> >> >> - Carsten >> >> >> > > - Carsten > > > >