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: Jason Dunsmore
Subject: Re: [Orgmode] Tags not lining up in org-indent-mode
Date: Thu, 22 Apr 2010 14:07:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

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---

Regards,
Jason




reply via email to

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