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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to