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

2010-04-26 Thread Carsten Dominik


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


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

2010-04-22 Thread Jason Dunsmore
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


___
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


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

2010-04-20 Thread Jason Dunsmore
I noticed that org-mode's tags do not line up along the right side when
org-indent-mode is enabled (indent-mode is an excellent feature, by the
way).  Probably because tab characters are being used to align the tags
on the right side.

Is there a way to use spaces instead of tabs to align tags, or is there
some other way to fix this?  I'm using Org-mode version 6.35trans
(release_6.35g.72.ge603).  Thanks.


___
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