emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Tags not lining up in org-indent-mode


From: Carsten Dominik
Subject: Re: [Orgmode] Tags not lining up in org-indent-mode
Date: Mon, 26 Apr 2010 06:55:45 +0200


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]