From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Tags not lining up in org-indent-mode Date: Mon, 26 Apr 2010 06:55:45 +0200 Message-ID: References: <87r5maostn.fsf@riotblast.dunsmor.com> <87fx2nnw58.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6HE4-0002ug-Ji for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:24 -0400 Received: from [140.186.70.92] (port=47080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6HE2-0002t2-7q for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6HE0-0007Jp-Fi for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:22 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:60964) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6HE0-0007IB-BC for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:20 -0400 Received: by mail-ew0-f214.google.com with SMTP id 6so4024264ewy.32 for ; Sun, 25 Apr 2010 22:51:19 -0700 (PDT) In-Reply-To: <87fx2nnw58.fsf@riotblast.dunsmor.com> 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: Jason Dunsmore Cc: emacs-orgmode@gnu.org On Apr 22, 2010, at 9:07 PM, Jason Dunsmore wrote: > I figured out how to keep tabs from being used to align tags. The > solution is to set indent-tabs-mode to nil locally for org-mode. > > I believe the following patch should fix this issue. > > --8<---------------cut here---------------start------------->8--- > index c875472..1d10754 100644 > --- a/lisp/org-indent.el > +++ b/lisp/org-indent.el > @@ -131,6 +131,7 @@ FIXME: How to update when broken?" > (setq org-indent-mode nil) > (if org-indent-mode > (progn > + (org-set-local 'indent-tabs-mode nil) > (or org-indent-strings (org-indent-initialize)) > (when org-indent-mode-turns-off-org-adapt-indentation > (org-set-local 'org-adapt-indentation nil)) > --8<---------------cut here---------------end--------------->8--- Hi Jason, well, this does stop tabs from being used, but it does not stop the mis-alignment of tags on different outline levels. Still, it looks a lot better than what we had before, so I have applied your patch. Thanks. - Carsten